In a page i have N number of links at a time i would like
to open those links by using QTP?how to do that?

Answer Posted / hokrani

Set ObjLink=Description.Create
ObjLink("micclass").value="Link"

Set PageLink= Browser("..").Page("..").ChildObjects(ObjLink)

For i=1 to PageLink.count
PageLink(i).Click
Next

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the pros and cons between QTP and Rational Robot

3304


When should I use smart identification?

616


Explain data driven framework?

594


what is profile tool?

1629


Why script error occur in between recording in qtp?

1782






What is the script for database check point, bitmapchek point, regular expression ?

1579


How to remove the associated function library?

539


Diff b/w Health care domain and Banking Domain?

4225


what frame work you are following?

1548


What are the methods used in UFT to handle exceptions or run-time errors?

663


Hi frens! I am testing VB project with MS Access database. At add button click my record is storing in data table and it is shown in datagrid. So at Delete button click i want to check datagrid rows 9before and after delete). so how can i do it using descriptive programming?

1489


Hi.. I want to do parametrization for selecting perticular flighr say XYZ by using local table: criteria: 1.If flight is available msgbox "Flight is available" and then select flight from flight table and click to ok button after that as enter username and ticket no and then stop 2. otherwise msgbox " Flight is not available" and stop Please help me out ..and let me know your responses on dipak.bachhav@gmail.com Regard, Dipak

1649


How to save your test using quicktest professional (qtp)?

618


What are the advantages of Object Repository?

606


Suppose you are using shared objects repository in your test and you want to split your present action? At that time shared object repository is single or it’s also splits?

668