jsc
13 years agoRegular Contributor
TestExecute does not start browser
Hello all,
I implemented some script for web testing with TestComplete (9.1 today updated to 9.2). Everything is running fine on my pc.
If I run the same script with TestExecute the test stops with an error and the browser cannot be started.
Error: Exception
Additional Information: "An error occurred while executing the code snippet: Unable to evaluate the expression"
The simplified script is:
Log.Message("Browser0");
Browsers.item(btChrome).Run();
Log.Message("Browser1");
Browsers.item(btChrome).Navigate("www.smartbear.com");
The "Browsers.item(btChrome).Run();" throws the exception.
What do I have to change in TestExecute to make the code run?
Best regards
Joachim
I implemented some script for web testing with TestComplete (9.1 today updated to 9.2). Everything is running fine on my pc.
If I run the same script with TestExecute the test stops with an error and the browser cannot be started.
Error: Exception
Additional Information: "An error occurred while executing the code snippet: Unable to evaluate the expression"
The simplified script is:
Log.Message("Browser0");
Browsers.item(btChrome).Run();
Log.Message("Browser1");
Browsers.item(btChrome).Navigate("www.smartbear.com");
The "Browsers.item(btChrome).Run();" throws the exception.
What do I have to change in TestExecute to make the code run?
Best regards
Joachim