Changing Xpath randomly : Automation Discussions

Changing Xpath randomly

Experiences, small talk, and other automation gossip.

Changing Xpath randomly

Postby praveen » Tue Aug 16, 2011 3: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
praveen
 
Posts: 1
Joined: Tue Aug 16, 2011 3:45 am

Re: Changing Xpath randomly

Postby sdaly » Tue Aug 16, 2011 9:04 am

Have you tried reading the user guide yet? It is very helpful :wink:
User avatar
sdaly
 
Posts: 213
Joined: Mon May 10, 2010 12:04 pm
Location: Dundee, Scotland

Re: Changing Xpath randomly

Postby Support Team » Tue Aug 16, 2011 9: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
User avatar
Support Team
Site Admin
 
Posts: 4838
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria


Return to Automation Discussions

Who is online

Users browsing this forum: No registered users and 0 guests