Page 1 of 1

Problem with li tagged object

Posted: Mon Dec 29, 2014 8:41 pm
by rastek
I can not modify to recognize a li tag that I dont know its order.

I have objects inside li tag, and some objects li tag changes by its order.

I mean same object can be in another li next time.

Renroex record li tag its id, such as #my0, #my1 or #my1

and when I try some inner object by using upper li tag by id, for any li starting with my such as @id>my

it doesnt work, as it works some other objects.

Anyone can help me for this ?

Thanks,

Re: Problem with li tagged object

Posted: Wed Dec 31, 2014 1:41 pm
by Support Team
Hi Rastek,

Could you try to use a RxPath like the following one: "dom[...]/.../li/yourElement"?
The weird thing is that the one with the "@id>my" should theoretically also work since all the li tag ids start with "my".
Could you please post a Ranorex snapshot file of your li tags or some screenshots to outline the issue in detail?
This will hopefully help us to better analyze the issue.

Thanks,
Markus