Change url on the already opened browser
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2021
03:38 AM
01-20-2021
03:38 AM
Change url on the already opened browser
Hi all,
I've got a general question, seems an easy concept but I'm not able to do it for now and I'm not finding information on how to do it.
In my test, I've already opened the browser with a previous code like this:
Browsers.Item("edge").Run(url);
then, I want to go to another url within the same test.
If a newly use the Run method, a warning is generated that tell me that browser is already running.
How can I simply change page url with the already running browser, without having warnings?
Thanks
Simona
Solved! Go to Solution.
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2021
04:02 AM
01-20-2021
04:02 AM
Hi Simona,
Use page.ToURL() (https://support.smartbear.com/testcomplete/docs/reference/test-objects/members/page/tourl-action-pag...)
Regards,
/Alex [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
================================
/Alex [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
================================
