Navigate method is opening new Chrome tab rather than switch to different URL
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2021
03:55 PM
07-14-2021
03:55 PM
Navigate method is opening new Chrome tab rather than switch to different URL
Installed TC v14.91 this morning and now all my Navigate calls to change the page URL to a different page are now loading a new Chrome tab and breaking the test.
This did not happen in all previous versions.
I've got a basic Specflow method that handles the page navigation.
Can someone please explain what has changed in TC v14.91 that causes Navigate to not work properly?
When("I navigate to webPage {arg}", function (menu){
temp = Project.Variables.Url+menu;
Browsers.CurrentBrowser.Navigate(temp);
CommonHelpers.ForceARefresh();
Log.Checkpoint("Navigated to page: "+menu)
});
Solved! Go to Solution.
Labels:
- Labels:
-
Chrome
2 REPLIES 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2021
07:56 AM
07-15-2021
07:56 AM
I suggest that you contact Support directly with this question. Here's the link:
https://support.smartbear.com/testcomplete/message
Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2021
02:36 PM
07-20-2021
02:36 PM
I've switch it to use .ToUrl() with usages of Sys.Browser("chrome") rather than Sys.Process("chrome") and we're OK now.
