Generic ID of fieldset

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
lucio
Posts: 2
Joined: Wed Apr 20, 2011 10:25 am

Generic ID of fieldset

Post by lucio » Fri Feb 03, 2012 12:40 pm

All,

In IE I have the elementpath

Code: Select all

div[2]/div[2]/div[2]/form/fieldset[1]/div/img[@id='parentOrgIdSelect_menu_tp5xz__toggle']"
The part with the ...tp5xz... changes from session to session.
How am I able to make that generic?

Thanks in advance
lucio

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Generic ID of fieldset

Post by Support Team » Fri Feb 03, 2012 1:00 pm

Hi,
lucio wrote: The part with the ...tp5xz... changes from session to session.
How am I able to make that generic?

Thanks in advance
lucio
You could use a regular expression for your RxPath. Therefore please take a look to following documentation
http://www.ranorex.com/support/user-gui ... xpath.html

Regards,
Peter
Ranorex Team
.
Image