Hi,
I would like to use conditional step (using if...else) based on active URL.
For example, if after performing some action i am navigated to specific url - additional step will be executed. If browser url does not contains some value (or not equal to given url) - do nothing, just continue the regular test flow.
I can add the coded step to verify the URL, but i'm not able to use the bool value from it into 'If' condition. Any workaround ideas?
Something like this:
string Url = ActiveBrowser.Url;
bool isPageOpened;
isPageOpened = Url.Contains("Start.aspx");
Thanks in advance.