Open URL in browser

Best practices, code snippets for common functionality, examples, and guidelines.
skyphoenix
Posts: 3
Joined: Tue Oct 11, 2016 5:35 pm

Open URL in browser

Post by skyphoenix » Thu Oct 20, 2016 12:25 pm

Hello!
Is there an action that can open a URL in the currently used browser or explicitly in firefox?
Does this needed to be implemented in user code or can this be easily added as action to a modul?
If not how would user code look like?

Best wishes!

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

Re: Open URL in browser

Post by odklizec » Thu Oct 20, 2016 12:31 pm

Hi,

You can use Invoke Action Navigate command to open a link in existing browser window. It can be added both to Recording module or user code. For more details about exact implementation, see for example this post:
http://www.ranorex.com/forum/how-to-ope ... tml#p30291
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