Forum Discussion
Hassan_Ballan
Champion Level 3
11 months agoTo confirm your setup:
1-PC1 with same version TestComplete and Browser, project open new tab and works as expected
2-PC2 with same version TestComplete and Browser (could be VM)
3-Copy project from PC1 to PC2
4-Connect to PC2 using remote desktop and run project, project fails to open second tab and does not work as expected
If you login to PC2 directly in person and run does it work as expected and only fail when you run in remote desktop?
Are you using KeywordTests Script?
What language the project is set to use, is it default JavaScript?
It would help if you provide code sample, for example
function Test1()
{
Browsers.Item(btChrome).Run();
Browsers.Item(btChrome).Navigate("https://support.smartbear.com/testcomplete/docs/index.html");
Aliases.browser.BrowserWindow.Keys("^t");
Browsers.Item(btChrome).Navigate("https://support.smartbear.com/testcomplete/docs/general-info/index.html");
Aliases.browser.BrowserWindow.Keys("^[Tab]");
Aliases.browser.page1.Close();
Aliases.browser.page2.Close();
}
- rraghvani11 months ago
Champion Level 3
What version of TestExecute are you using, and can you provide the code that is not working please?