06-23-2012, 04:20 AM
Hello,
I have a requirement to test "site B" which expects that the referrer URL will be "site A". If navigation into "site B" doesn't originate from "site A"... then "site B" will reject the user.
So the test case would be:
1. Navigate to "site A" which does not already contain a link to site B
2. Inject a link into DOM of "site A" that points to "site B"
3. Click the injected link and arrive at "site B"
Can QTP do this?
I have a requirement to test "site B" which expects that the referrer URL will be "site A". If navigation into "site B" doesn't originate from "site A"... then "site B" will reject the user.
So the test case would be:
1. Navigate to "site A" which does not already contain a link to site B
2. Inject a link into DOM of "site A" that points to "site B"
3. Click the injected link and arrive at "site B"
Can QTP do this?