Solved

QTP script

Posted on 2006-07-22
3
839 Views
Last Modified: 2008-01-09
For each link in http://www.google.com/

Open the link in a new browser.
Find the first input if exists, enter the URL of the page into the input and submit the form.
Close the new browser.

0
Comment
Question by:noam_dz
  • 2
3 Comments
 
LVL 8

Expert Comment

by:hiteshgupta1
ID: 17213270
Do u want the complete scrip0t or the hint??
0
 
LVL 4

Author Comment

by:noam_dz
ID: 17213445
I have my own version and would like to see yours.
0
 
LVL 8

Accepted Solution

by:
hiteshgupta1 earned 500 total points
ID: 17214485
Hi noam
did u use .ChildObjects??


What You can do is build a description for the links and then use .ChildObjects to get a collection of all the links in google main page, and deal with them one by one.

The same method could produce a collection of input fields in the destination webpage.


Thanks
Hitesh
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question