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

What is the use of an object spy tool in qtp?

559


i want information about API testing and i want info like how process can be done in company? i want added info like coding ,debugging, desing in c.v ? what should add in c.v for eg banking domin? pls any answer my question?

1604


Give the syntax to import/export xls into qtp.

588


when u script reveiwing in which area u more concentrates?

1417


What is a quick test professional?

629






Object repositories types, which and when to use?

575


Can anybody let me know how to test the Drag and drop feature of the column in a .net application...eg..i hav to test the drag and drog feature of a table(swftable) in a application..plze help!!

1751


Can the user toggle between using Local OR and shared OR for the same action?

559


How to analyzing the checpoint results?

520


What are the different types of recording modes in qtp? Which will be used when?

567


how to test Web application using QTP software

1332


Suppose I want fail that check point? How can you do that?

598


In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field and so on. how we can handle this scenerio thru Descriptive programming?

1442


How qtp identifies objects?

570


write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))

1503