Hi there,
I have tests that execute and connect to a new browser popup.
Usually this works fine, I have one where the browser URL is variable and unpredictable:
Https://foo.com/x/y/z_2/moreUrlStuffHereICanPredict
Https://foo.com/x/y/z_3/moreUrlStuffHereICanPredict
Https://foo.com/x/y/z_4/moreUrlStuffHereICanPredict
etc.
I am using Relative Only so usually this look like x/y/z_2/moreUrlStuffHereICanPredict, etc.
I can predict everything before the 2,3,4 and everything after. My application sets that number each time you run a query which throws a popup window.
Is there a way to make this work in the UI test step "Connect to Popup"?
Alternatively, I could check via script if the popup exists, then connect... is there a function such as Manager.Browser.Exists(URL)?
I've been looking int he forums and in the online help, nothing seems to cover this case.
Thanks!
Sakura
Win10
IE
Test Studio 2017.1.207.0