Host.Local.RunApplication is launching the browser in edge by default

Ask general questions here.
premravi
Posts: 30
Joined: Tue Jan 08, 2019 1:55 pm

Host.Local.RunApplication is launching the browser in edge by default

Post by premravi » Fri Mar 29, 2019 3:01 pm

Hi,

Query 1:
I want to launch my test browser in chrome but Host.Local.RunApplication(""); is launching in edge
I tried with Host.Local.OpenBrowser and its working fine

Just curious to know why Host.Local.RunApplication(""); is launching in edge as chrome is set to my default browser

Query 2:

How to clear all the cookies in the run time because once I saved my credentials. Now every time when I am running my script it is displaying the username and password. I tried deleting my cookies manually but in the run time the automated browser still carry the username and password

Please help me with the above issues

Regards

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 4549
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Host.Local.RunApplication is launching the browser in edge by default

Post by odklizec » Mon Apr 01, 2019 8:03 am

Hi,

I can't answer your first question, but as for second one, you can enable "Clear Cookies" parameter of Open Browser action:
ClearCookies.png
ClearCookies.png (10.75 KiB) Viewed 38 times
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration