• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 875
  • Last Modified:

QTP script

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
noam_dz
Asked:
noam_dz
  • 2
1 Solution
 
hiteshgupta1Commented:
Do u want the complete scrip0t or the hint??
0
 
noam_dzAuthor Commented:
I have my own version and would like to see yours.
0
 
hiteshgupta1Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now