Solved

QTP script

Posted on 2006-07-22
3
846 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …

820 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