
I am a new to Ranorex (Day 5). With Version 3.0.2 I am having an issue which i cannot get my head around. I want to create a script which will run in Firefox (3.6.16) and IE (8). Yet when i locate a particular button (in order to click on it) both browsers display a different path. Please see below:
IE 8
===
/dom[@domain='testing2005:3080' and @caption='Workstation Client' and @page='WorkStation.aspx' and @path='/SWMP/Skillweb/Fox/SwmpWebClient/WorkStationClient/WorkStation.aspx' and @browsername='IE']/body/form/table/tbody/tr/td[2]/div[@id='PageLayout_pnlContentHolder']/div/div/table/tbody/tr/td[@id='PageLayout_radMenuPlane']/div/div/div/div/div/div/ul/li[1]/a[@id='ddReceipt']
Firefox 3.6.16
============
/dom[@domain='testing2005:3080' and @caption='Workstation Client' and @page='WorkStation.aspx' and @path='/SWMP/Skillweb/Fox/SwmpWebClient/WorkStationClient/WorkStation.aspx' and @browsername='Mozilla']/body/form/table/tbody/tr/td[2]/div[@id='PageLayout_pnlContentHolder']/div/div/div/table/tbody/tr/td[@id='PageLayout_radMenuPlane']/div/div/div/div/div/div/ul/li[1]/a[@id='ddReceipt']
I know i can remove the "and @browsername='IE' " attribute to make it more generic but my problem lies in the following area of the path:
IE
***
div[@id='PageLayout_pnlContentHolder']/div/div/div/table/tbody/tr/td[@id='PageLayout_radMenuPlane']
Firefox
*********
div[@id='PageLayout_pnlContentHolder']/div/div/table/tbody/tr/td[@id='PageLayout_radMenuPlane']
How can i edit this part of the path or even the whole path to allow Ranorex to identify the object in both browsers.