Forum Discussion
An additional information:
We wrote a mimal test script which only contains the following lines.
function Unit1()
{
Browsers.Item("Firefox").Run();
Delay(1000);
NameMapping.Sys.browser.ToUrl("http://192.168.58.2");
}
When we run this script using testComplete, the firefox will be lauched and will navigate to the above http address.
When we run this script using testExecute, the firefox will be lauched, but the test stays "waiting for page(*)", then we get the error information.
- AlexKaras11 years agoCommunity Hero
Hi,
Just a quick idea: check that no Firefox process exists on the test server before starting the test.
The case here is that if some Firefox process is running in the background (i.e. without UI), it does not have a Page child and this causes your test to fail.
- guoguo11 years agoContributor
Hi,
We found that the problem is browser versions.
We use IE, Chrome und Firefox. We have two test servers: Server1 is testcomplete, Server2 is testexecute)
IE on both test servers: 11.0.9600. Both work for the following test code
Browsers.Item(btIexplorer).Run("http://smartbear.com/");
var Page = Sys.Browser().Page("http://smartbear.com/");
Page.ToUrl("http://blog.smartbear.com");Firefox on Server1: 36.0 while Firefox on Server 2: 40.3
For the code below, only Server1 works. After we upgrade the version on the Server1, both can not work
Browsers.Item(btFirefox).Run("http://smartbear.com/");
var Page = Sys.Browser().Page("http://smartbear.com/");
Page.ToUrl("http://blog.smartbear.com");Chrome on Server1: 43.0 while Firefox on Server 2: 45.0
For the code below, only Server1 works. After we upgrade the version on the Server1, both can not work. And we get "This site uses a plugin (application/x.testcomplete10-0-chrome-browser-agent) that is unsupported".
Browsers.Item(btChrome).Run("http://smartbear.com/");
var Page = Sys.Browser().Page("http://smartbear.com/");
Page.ToUrl("http://blog.smartbear.com");Shall we revert the firefox and chrome back to the older version?
Regards,
Jie
- AlexKaras11 years agoCommunity Hero
Hi Jie,
FF 45 seems to require TestComplete 11.1.
You may try on your own risk to apply the patch for FF39 to your TestComplete 10.60 (http://support.smartbear.com/downloads/testcomplete/firefox-patches/) and check if it works with FF45.
If it does not, then your options are either to upgrade TestComplete to version 11.1 or to downgrade FireFox to the version 39 that is the latest one supported by TestComplete 10.60.