how to click on object?
(with out knowing the object details)
for ex: in a webpage one link is available.i want to click
that link by using one menthod through qtp?

Answer Posted / ashok kumar

by using static DP:

Browser("micclass:=Browser").Page("micclass:=page").Link("micclass:=Link").click

by using dynamic DP:

Set objlink = Description.Create()
objlink("micclass").value = "Link"
Set link1 =
Browser("micclass:=Browser").Page("micclass:=Page").ChildObjects(objlink)
msgbox link1.count

Is This Answer Correct ?    6 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can i use virtual objects? If have i created one new virtual object in a virtual object manager by following instructions.

1450


hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.

1836


How can you exit from an action?

612


hi i have completed my b.tech in cse stream. now i am working in an organisation in testing department. i want do sap course but i dnt know which module will boost my career can anyone suggest me which is good for my career

1927


how will you load the test cases in ddt?

1598






Your roles and responsibilities and daily tasks? (As automation tester)

2581


What should we say if interviewer asks "What is ur project architecture?".......Can any one help me with clear information.?????????

1721


How are actions and functions different in QTP?

658


Define Error Pane of UFT?

692


what r the main attributes of test automation?

1480


Is the qtp course will help to create a virtual object?

1516


Hi I am new to QTP. can u please answer to my qus... suppose 3 excel sheets are there * we are trying to check for login credentials for a page. userid from excel1 , password is from excel2 whether the page is opened or not that checkpoint is result is should be stored in excel 3.... this qus i have faced in IBM technical round... please tell script for above query ... please please

1514


How to break the object spy ?

661


tell me QTP standards ?plz

1520


Differences between text and test area checkpoints?

582