Question
5
Replies
220
Views
Infosys Limited
Posted: March 2, 2017
Last activity: August 23, 2018
Closed
How to Interrogate a web page whose url is changing?
Hi
I am trying to interrogate a web page to use it in an automation. The problem is every time a new web page is being created having the same contents(url is changing). What is the solution to this problem?
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
Look at your Url match rule for the page. As you can see in the screenshot below you have the ability to individually match the Host, the Path and the Query portion of the Url. Each one can be matched using a Simple match as shown here or a number of other ways, such as Contains, StartsWith, Regex and more. Determine what is changing in the Url and what is not and adjust the default match rule so it will match all the time. A couple of other tricks - change the Port to 0 and it will match all ports, change the Scheme to StartsWith http to match both http and https.