ZhangJing
2 years agoNew Contributor
How to navigate to a website with an uncertain ID
How to navigate to a website with an uncertain ID?Like this :https://rms5-94.fgms.test.com:30001/#/ResourceManagement/Station/Edit?id=161&tabId=ebdd9f10-c3a9-40ba-920d-6decce3131c3
If the start is always the same but the last part is different, then you could use a Wildcard " * " or " ? "
Ex: "https://rms5-94.fgms.test.com:30001/#/ResourceManagement/Station/Edit* "
any number of characters can come after the *, refer to this page for more info:
https://support.smartbear.com/testcomplete/docs/reference/misc/using-wildcards.html
Thank you very much!
use:
Sys.Browser(“edge").Page("https://rms5-94.fgms.test.com:30001/#/ResourceManagement/Officer/OfficerEdit?id=5488&tabId=bea834fd-8cd9-4baa-8539-9a1e5aa2f4f0")