Solved

QTP script

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Report events not being triggered 8 114
split53 challenge 7 79
Scripting vs. Programming languages 25 151
Batch File tool box 5 43
This is about my first experience with programming Arduino.
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.
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…

920 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

17 Experts available now in Live!

Get 1:1 Help Now