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

Answer Posted / mns

Steps to handle the non recognised(Or Custom objects) objects
1. Load proper AddIn(for example load web addin to recognise the HTML objects )
2. If then also not recognised, Class mapping (to closet class)

3. If then also not, then try writting some test(wrapper dlls) API's

4. Other wise go for low level recording or mapping to virtual object, but it's not reliable method. Smart identification will be handy only if objects are getting recognised.

Is This Answer Correct ?    12 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where we use data driver in qtp?

803


What are the key elements available in test result window?

895


Could any one tell me "How can i recognize my cursor position using QTP 9.2" Give me a scripts for this

2273


What are the five challenges you faced in QTP?

2971


Explain how you can replace string in qtp?

827


what is meant by source control?

1923


What is the difference between local and shared object repository in qtp?

790


Hi Friends, I worked with 8.2 not with 9.2. Please help me in this prob. I created one script and recorded some think and save as Test 1 then I opened process--open the object repository manager. Switch to file->save->give some name->save as Objectrepo1.tsr file. (This is the global repository file.) Then I went to object repository->tools-> associate repository ->click + icon ->open the previously saved Objectrepo1.tsr file. This is the global repository Now I created one more script and save as Test 2. In this script I am calling script with the Help of "Call of existing action" and I executed but QTP is not able to execute B’cos it is QTP is not able to read the Object Repository of Test 1. Please let me know why? Once I made Script 1 as a shared Obj. Repository so it would not give any Problem. Right?

1716


What are the types of object repositories? Which one is you are using?

888


Explain hybrid framework with advantages and disadvantages?

777


What is the limitation to XML Checkpoints?

1849


Connect to QC using AOM.

1476


What is the latest version of qtp?

796


Through array we can execute the testcase how ? give me example

1632


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

863