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 reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?

706


Hi, My name is kishan. I have good Conceptual Knowledge on QTP. In order to Boost up my Confidence Level, I want to do a Project oriented Training only on QTP in Hyderabad. Kindly Let me know which is the Best QTP Project Training Institute in Hyderabad. Thanks in Advance kishan

2062


How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?

580


What are the differences between table and db checkpoints?

539


Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations

1774






Explain how qtp identifies objects?

571


what is meant by Implicit and explicit requirements?

3631


Can you list some technologies that support qtp?

558


Tell me about qtp?

544


Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?

1428


How to build scripts that access data from external sources?

1614


Explain the Different types of QTP test assets and their extensions?

613


What are the key elements available in test result window?

630


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?

1479


Can testing be done on the production system, or will a separate test system be required? How are browser caching, variations in browser option settings, dial-up connection variabilities, and real-world internet 'traffic congestion' problems to be accounted for in testing?

625