What do you do if QTP doesn't recognize object ,what action
should be taken

Answer Posted / mohan

I think we can go for descriptive programing...

suppose the OK button in Login dialog is not recognised
then write description of OK button as below

Set MyDescription = Description.Create()
MyDescription("text").Value="OK"
.
.
.
script:
"Login").WinButton(MyDescription).click

Is This Answer Correct ?    8 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible to split an action? How?

662


What are the major/ important methods, functions in QTP we use realtime testing

2268


Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance

1740


What are the automation metrice in your project?

1719


What is TOM in QTP?

1806






What is a data driven test in qtp?

591


Hi Friends this is kumar i would like to request to all of you ,please help me to explain real time project with using qtp scripts i know basics of qtp but it won't workout on interviews,pls help awating to reply.

1375


Difference between test object and run time object?

596


What are the two types of repositories available, explain them?

594


How to handle dynamic objects in quicktest professional?

504


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What's the difference between them? How to handle script issues?

535


Can you write a script to check if the folder exists or not?

517


If I change the object name in one action will it be updated in all the actions? Or not?

604


What is the use of text output value in quicktest professional?

515


We stored into the objects OR and then write the scripting

1546