Page 1 of 1

How to start firefox when running my test?

Posted: Mon Aug 30, 2010 5:16 pm
by Thor222
I am new to Ranorex and have a basic question that I cannot find and answer to in the user guide.

After launching firefox and navigating to the page I want to test, I created a recording and added my validations. This works great.

I was also able to build this as a .exe file. However, when I run the .exe, firefox does not start. I tried adding a UserCode action which calls...

System.Diagnostics.Process.Start( @"C:\Program Files (x86)\Mozilla Firefox\firefox.exe...

However this does not seem to get run when I run the exe. Also, when I click the play button in the ide I get an error message saying "code items are skipped during recording file playback".

How can I construct a project so that Firefox launches automatically (and points to my page) when i run the exe?

Thanks!

Re: How to start firefox when running my test?

Posted: Mon Aug 30, 2010 5:48 pm
by Thor222
Nevermind. This is well-documented in the Integrated Ranorex Recorder section of the User Guide.