Multiple links testing with QTP

If there are multiple links on a web page how can we automate to open those link one by one using QTP?

Questions by bobby2768

Showing Answers 1 - 3 of 3 Answers

Arun

  • Jun 4th, 2014
 

By using child objects method we can get all the links.
After getting the link we can open them easily

  Was this answer useful?  Yes

ganesh

  • Nov 25th, 2014
 

Code
  1. systemUtil.Run"iexplore.exe","https://in.yahoo.com/?p=us"

  2. Browser("creationtime:=0").page("title:=.*""micclass""link""creationtime:=0").page("title:=.*""creationtime:=0"

  Was this answer useful?  Yes

shekar

  • Aug 24th, 2015
 

Code
  1. systemutil.Run  "www.gmail.com"

  2. Browser("name:=Gmail").Page("title:=Gmail""micclass""Link""name:=.*").Page("title:=.*""Text""name:=.*""name""Create your Google Account""name:=Gmail""name:=.*""name:=.*").Page("title:=.*"

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions