Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to create a test that opens mutliple web links
#2
Solved: 11 Years, 6 Months, 3 Weeks ago
If you have your browser captured by recording, you can just click on the Expert View tab and type something similar to:
Code:
Browser("<Browser Name>").Navigate "www.google.com"
Browser("<Browser Name>").Sync

Replace the "<Browser Name>" portion of the code with whatever the name of your browser is that was captured when you started recording and replace the URL with the URL you want the browser to go to. Then repeat the statements in the script as many times as you need it. The "Sync" function tells the script to wait until the page finishes loading before moving to the next step. click here for a nice intro to QTP. Hope this helps.
Reply


Messages In This Thread
RE: How to create a test that opens mutliple web links - by cdesserich - 10-05-2010, 06:56 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  VB Script to count number of links in a web page. Suma Parimal 4 25,594 07-01-2015, 12:59 PM
Last Post: govind
  what all you test when you migrate from client application to web application diya 4 3,458 04-29-2013, 09:04 AM
Last Post: basanth27
  Verify the order of web links bpetters 3 3,124 04-16-2013, 04:04 PM
Last Post: sshukla12
  How to test a Web page Monica Soneja 3 3,658 04-09-2013, 06:37 AM
Last Post: basanth27
  Web service automation:Error "could not create SSL/TLS secure channel" pranjalipalkar 0 2,712 01-16-2013, 11:40 AM
Last Post: pranjalipalkar

Forum Jump:


Users browsing this thread: 1 Guest(s)