I got here two lines code of the ranorex webtest-example.
When I run this code within Ranorex Studio it works.
Code: Select all
System.Diagnostics.Process.Start("iexplore.exe", "www.ranorex.com/web-testing-examples"); WebDocument webDocument = "/dom[@caption='Ranorex Test Page']";
But when I paste this code in my VS 2005 project and run it, it does not work.
The webDocument can not be found and be created !!!????
Does I understand anything wrong????
Why is this behavior diffrent???