Solved

QTP script

Posted on 2006-07-22
3
817 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
Comment Utility
Do u want the complete scrip0t or the hint??
0
 
LVL 4

Author Comment

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

Accepted Solution

by:
hiteshgupta1 earned 500 total points
Comment Utility
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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 …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

743 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now