If a module starts by opening google.com in a web browser, how can a step be recorded, to open yahoo.com, without clicking on a link or typing the URL into the browser address bar?
Thanks!
How to open a new web page in a cross browser test?
Re: How to open a new web page in a cross browser test?
Hi,
I'm not quite sure I understand your problem. Can't you just add "Open Browser" action to your recording? Or do you want to open a url in existing instance of web browser? Please be more specific about your issue.
I'm not quite sure I understand your problem. Can't you just add "Open Browser" action to your recording? Or do you want to open a url in existing instance of web browser? Please be more specific about your issue.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
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
-
- Certified Professional
- Posts: 455
- Joined: Tue Feb 18, 2014 2:14 pm
- Location: Co Louth, Ireland
- Contact:
Re: How to open a new web page in a cross browser test?
Thanks odklizec, that's exactly what I would like to do. The test step should work for all browsers and on Ranorex 5.2.2.odklizec wrote:do you want to open a url in existing instance of web browser?
Re: How to open a new web page in a cross browser test?
Use the InvokeAction.Navigate(string url) function.
Drag your /dom element onto the action table and select Invoke Action from the menu. Then select Navigate and put in the url you want to use. You can pass it in as a variable if you want.
Drag your /dom element onto the action table and select Invoke Action from the menu. Then select Navigate and put in the url you want to use. You can pass it in as a variable if you want.
Shortcuts usually aren't...
-
- Certified Professional
- Posts: 455
- Joined: Tue Feb 18, 2014 2:14 pm
- Location: Co Louth, Ireland
- Contact:
Re: How to open a new web page in a cross browser test?
Thanks krstcs, that works and the test shown below is running successfully.

