Forum Discussion
Hi,
I see one additional event came for Edge. Where it is going when you double click the entry highlighted in below image
- S_Seydel8 years agoContributor
Hi,
the German expression in the highlighted log entry "und 1 weitere Seite" is in English "and 1 additional page".
When I double click the highlighted entry it is going to the last line of script code:
Sys.Browser(testedBrowser).Page(cleanupScriptUrl).Close();
When I double click the last log entry it is going to the very same line of code.
- tristaanogre8 years agoEsteemed Contributor
Best guess is that, what is happening, is that when you tell the test to go to the new URL for the clean up script, that is occurring, not on the new tab but potentially on the existing web page that is already open. So, you really don't have two pages open, but a single one so, when you call the "Close" command, it closes the only page open which ends up closing the whole browser. I'd do a bit of rework with your code to ensure that, when you open the new tab, you send your navigate code to that new page (probably your default home page or "blank" tab).
- S_Seydel8 years agoContributor
During a normal script run your guess is correct, indeed the url is called not in the new opened tab, but in the tab which was opened with the browser start. So here is really a behaviour to improve.
However when the script is run in debug mode the url is called correctly in the new tab. From that point on the problematic behaviour regarding closing the browser instead of the page only stays exactly the same.
During my investigation of the problem I had to notice more unpleasant behaviours of TestComplete with Edge. Objects are highlighted at different locations than they are visible on the screen, in object browser alert windows are not existent and the object browser does only show completely black pictures of the whole object hierarchy of the edge process.
Therefore I think it's better to open a support case.
Thank you for your help.
Related Content
- 4 years ago
Recent Discussions
- 6 days ago
- 6 days ago
- 9 days ago