UFT Mobile Labs – Descriptive Programming not working?

  • Questions
  • UFT Mobile Labs - Descriptive Programming not working?
Question ID: 108723
1
0

I’m trying to use descriptive programming with my mobile device using the Mobile Labs add-in, but my object isn’t being identified no matter what properties I describe. Is there some trick I need to be aware of?

Marked as spam
Posted by (Questions: 346, Answers: 13)
Asked on October 31, 2018 5:16 pm
5 views
Answers
1
Private answer

Please see this link from the Mobile Labs support website: https://mobilelabs.zendesk.com/hc/en-us/articles/207680726-Object-is-not-being-identified-with-properties-in-the-description

1. Go to the repository in UFT and add the Object under test.
2. Move the object under MobiDevice / MobiWebView whatever applicable matching the hierarchy provided in the description.For MobiWebView don't include ''loading'' property in identification properties as its a dynamic property.
3. Go to the object under test keep only those properties for identification which you have given in the description.
4. Try highlighting the object.
5. If the object under test gets highlighted , then check the values of properties which mismatch , in the description and in the object repository.There may be some property the value of which is changing , do remove such properties.Keep only those static properties which can enable the unique identification of the
6. If you get an error saying ''Object description is not unique'' then add an ordinal identifier index with a value that identifies the object under test.Include this property in your description.

Marked as spam
Posted by (Questions: 0, Answers: 694)
Answered on October 31, 2018 5:16 pm
Perfect! Thank you!
( at October 31, 2018 5:17 pm)