Page 1 of 1

Attaching to a browser

Posted: Tue Jul 28, 2015 9:44 am
by suddeepto
Hi,

My question, Is Ranorex able to attach to an already open browser?

The application that I am trying to Automate is a desktop application, however, some of its' operation happen within a browser, which is opened by clicking a button on the desktop application. How do I automate this application using Ranorex.

Thanks in advance,

Sudeepto.

Re: Attaching to a browser

Posted: Wed Jul 29, 2015 12:46 pm
by odklizec
Hi,

The advantage of Ranorex is that it can seamlessly automate all kind of apps, so there should be no problem doing desktop and web-based automation in the same recording/test case. Once the required elements are stored in repository, you can do whatever you want with them. Have you tried to record your test actions?

Re: Attaching to a browser

Posted: Wed Jul 29, 2015 12:47 pm
by CookieMonster
Hi Sudeepto,

For e.g. what you can do is:
Use a Ranorex XPath on your repository item /dom[@domain~'myDomain' and ChildIndex='0']
or use the Host.Local.Find() method over a UserCode Module.

Regards
Dan