Changing Xpath randomly

Experiences, small talk, and other automation gossip.
praveen
Posts: 1
Joined: Tue Aug 16, 2011 2:45 am

Changing Xpath randomly

Post by praveen » Tue Aug 16, 2011 2:55 am

The Xpath changes randomaly and can we write regular expression on the changing Xpath during inspection of the Menu Tile

Ex: /form[@title~'^5620\ SAM\ Client\ \(emsap000']/container[@type='NmsDesktopPane']/element[@accessiblename='Alarm Window - Alarm Table (21), Correlated Alarms Not Shown']

1. The number 21 on the Xpath changes everytime you open the Window

User avatar
sdaly
Posts: 238
Joined: Mon May 10, 2010 11:04 am
Location: Dundee, Scotland

Re: Changing Xpath randomly

Post by sdaly » Tue Aug 16, 2011 8:04 am

Have you tried reading the user guide yet? It is very helpful :wink:

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Changing Xpath randomly

Post by Support Team » Tue Aug 16, 2011 8:09 am

sdaly wrote:Have you tried reading the user guide yet? It is very helpful :wink:
... especially the parts on RanoreXPath and regular expressions could be helpful for this problem :)
http://www.ranorex.com/support/user-gui ... xpath.html

Regards,
Alex
Ranorex Team