3 Answers, 1 is accepted
You have two options. Perhaps the easiest is to use the Wait For Url test step feature. You can set the properties for what form of URL you want to verify. The test will fail if the URL of the active browser does not match the specification you give it after the timeout period.
The other option is to use a coded step. You can get the current URL property via:
This returns a simple string for the current URL. Once you have the URL string, you can do sort of parsing and verification you want in code.
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
Let me interject into this ticket.
This would be possible using a coded step. Here is a sample code that I have used for verifying a pop-up URL but this should work in any case for the active browser:
Hope this helps.