Page 1 of 1

run a test case on different browosers

Posted: Wed Jun 15, 2016 10:57 am
by Balaraj
Hi,
I have recorded a test case in IE-11(I m using Ranorex 6.0 studio),when i run this test case in chrome(Version51.0) and Firefox i m getting "element not found "error,is there any solution for this or else do i have to record again in Firefox and chrome????

Re: run a test case on different browosers

Posted: Wed Jun 15, 2016 11:11 am
by odklizec
Hi,

No, you should not need to re-record everything for each browser. All you need to do is to check each recorded xpath and eventually adapt it to work with each browser. Ideally, there should not be too much editing work required. However, some elements and especially browser-specific elements (like dialog boxes, messages, popup dialogs) have different xpaths. So it may not be easy to make some xpaths universal to work with each browser.

Have you compared the xpath stored in IE and xpath for the same element in Chrome? Could you please upload a Ranorex snapshot (not screenshot!) saved both in IE and Chrome?

BTW, make sure there is installed Ranorex plugin in Chrome!

Re: run a test case on different browosers

Posted: Wed Jun 15, 2016 3:10 pm
by Balaraj
I added the extension to chrome but when i try to record in chrome each time i m getting pop up message saying "Run wizard" ,please find the attachment and let me know the solution.

Re: run a test case on different browosers

Posted: Wed Jun 15, 2016 3:21 pm
by odklizec
Hi,

Please make sure the extension is enabled! The "wizard" message you received is typically shown if the extension is not installed/enabled.
Ranorex_chrome.png
Additionally, make sure the Chrome Global Accessibility mode is enabled (as described here).