I have a list of elements and I want to do a random click on one of the elements and on another recording, to check if the selected element is correct.
My list looks like "/mobileapp[@title='com.mobileapp.mobile']/form[@title='Container']/container[@rid='content']//container[@rid='custom']/?/?/list[@rid='list']/?/?/text[@caption='TEXT_1']
The structure is:
First I want to select a random Text1 item from the list, to save it to a global variable and to check in another recording the the caption of the Text 1Item matches with a text.
Code: Select all
-List -Container -Text1 -Text2 -Container -Text1 -Text2 -Container -Text1 -Text2 -Container -Text1 -Text2
I'm new with Ranorex, so any help is really appreciated.