I am trying to setup a scenario that goes to a Numara Footprints website, logs in claiming to be Firefox, and then checks to see that "Hello, myusername" is on the page as that would confirm the login was successful. The first two steps were easy:
The problem is that for step 3, the URL is dynamically generated on login so I don't know what it will be. I do know that if I tell step 3 to go to https://mysite that it will redirect me to the proper page but that then gives an error that the page did not match in the check.
All that said, how can I check the content of a page when the URL of the page is generated dynamically?
- Define a URL oflCode:
https://mysite/MRcgi/MRentrancePage.pl
- The define the login url as and give it post data in the form ofCode:
https://mysite/MRcgi/MRlogin.pl
Code:USER={user}&PASSWORD={password}&REMEMBER_PASSWORD=1&PROJECTID=-1&SCREEN=1
The problem is that for step 3, the URL is dynamically generated on login so I don't know what it will be. I do know that if I tell step 3 to go to https://mysite that it will redirect me to the proper page but that then gives an error that the page did not match in the check.
All that said, how can I check the content of a page when the URL of the page is generated dynamically?