Cross Browser Test

Class library usage, coding and language questions.
Hermch
Posts: 40
Joined: Thu May 26, 2011 7:17 am
Location: Germany

Cross Browser Test

Post by Hermch » Wed Apr 04, 2012 8:05 am

Hi,

I'm testing our application in two different browsers (IE and Firefox).

In some cases, GUI elements are identified differently by the browsers.
For example I have a popup message wich is identified in IE with this path:

//*[@text='System Configuration finished!']

In Firefox it uses this path:

//*[@innertext='System Configuration finished']

In IE the "text" attribute is used and in Firefox it is the "innertext" attribute.

How can I set up a cross browser test like you discribe it in the blog, if the GUI items are identified differently?

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

Re: Cross Browser Test

Post by Support Team » Wed Apr 04, 2012 11:55 am

Hi,
Hermch wrote:How can I set up a cross browser test like you discribe it in the blog, if the GUI items are identified differently?
Would it be possible to post us a Ranorex Snapshot of both elements? Then we can try to find a RxPath for you which works for both browser.

Regards,
Peter
Ranorex Team
.
Image