Skip to Content

UFT SAPGuiLabel Identification

I am using UFT 12.02 through Solution Manager and testing in SAP ERP 6.0 (EHP7)

I am trying to automate some of the configuration processes in SPRO and I am having difficulty with the SAPGuiLabel object identification. An example of this is in transaction OVXC assign Shipping Point to Plant.

For the identification I want to use the property 'content' as this contains the unique Plant ID. However UFT does not recognise the label based on this,

Any suggestions will be very much appreciated.

Best Regards

Jim

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 20, 2016 at 02:29 PM

    Hi Jim,

    How are you doing?

    My tip it's use the object spy for every object that you don't know the properties - with this tool you can check all properties that you can use on getRoProperty method.

    For SAPGuiLabel you can use the property "text"

    It will work like this:

    var = SAPGUISession("Session").SAPGuiLabel("yourlabel").getROproperty("text")

    😊

    Best regards,

    JH

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.