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

Answers were Sorted based on User's Feedback



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

Answer / uday kumar. a

QTP does not recognize the object means, you dont have
proper add-ins. In this case, QTP treats the objects as non-
standard objects. We can map these non-standard objects to
standard objects by using virtual object wizard. Once
mapped sucessfully, QTP can identify the objects.

Is This Answer Correct ?    19 Yes 9 No

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

Answer / 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

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

Answer / kalyan

Uday Kumar.A answer is correct. I am very sure about it.

Is This Answer Correct ?    7 Yes 1 No

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

Answer / srinivasamurthy

one is Using Virtual Object wizard Qtp,
Other one is Smart Identification .

Is This Answer Correct ?    12 Yes 7 No

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

Answer / nakash2050

An application may contain objects that behave like standard objects but are not recognized by QuickTest. One can define these objects as virtual objects and map them to standard classes, such as a button or a check box. QuickTest emulates the user's action on the virtual object during the run session. In the test results, the virtual object is displayed as though it is a standard class object.

Is This Answer Correct ?    5 Yes 2 No

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

Answer / meenu

if the qtp does not recognize an object it will go for
smart identification. we can also use object spy if we want
to view properties of an object

Is This Answer Correct ?    8 Yes 6 No

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

Answer / venki

If qtp does not recognize the objects then we will go for
smartidentification.

in that qtp uses two types of properties to identify the
objects. 1. Basefilter properties and 2. Option filter
properties.

After enabling smartidentification then also if not identify
the objects then it will go for Ordinal Idetifier.

In Ordinal Identifier it will use three properties to
identify the objects
1.Index
2.Location
3.Creation time (for Browser objects)

Is This Answer Correct ?    6 Yes 5 No

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

Answer / krishnateja muppalla

And may be due to plug-in also

Is This Answer Correct ?    1 Yes 1 No

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

Answer / rohit

1)one is Using Virtual Object wizard Qtp,QTP does not
recognize the object means, you dont have
proper add-ins. In this case, QTP treats the objects as non-
standard objects.
2)go with low-level recording.
3)one is Smart Identification .

correct me iff i am wrong
mail me:rohitsharma.p81@gmail.com

Is This Answer Correct ?    6 Yes 9 No

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

Answer / 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

More QTP Interview Questions

Is it possible to change the values of analog recording?

0 Answers  


While writing script using For Next Statement in QTP, I try defining the variable in Lib File I am getting syntax error whereas if I use the variable in script file, the script works fine. Can anyone help me in finding the reason behind this?. E:g Dim intStartRow (Define in Lib File----- say abc.vbs) Dim intRow (If I define this variable in Lib file I am getting Syntax error where as if I define in the script file ---- say xyz.mts the script works fine) IntStartRow=2 For intRow = intStartRow to xlWrksht.UsedRange.Rows.Count ‘Some Code here Next

1 Answers  


Do we get any issues if we run the testscript on different browsers? what are the options we need to st in QTP?

2 Answers   BirlaSoft,


I am testing a Website thelancet and create a description for searching "health" in search edit box.But my description failed on last two lines.Can anybody solve this

1 Answers  


what ar the challenges do we face while testing webbased applications using the automation tool qtp or any?

4 Answers   TCS,






With help of object repository,we can able to write the descriptive program manually?

1 Answers  


If requirments changed then how we can teach the QTP this is the new requirment

2 Answers   Accenture,


How can i open 5 multiple browser at once through QTP VB script

4 Answers  


What are the automation metrice in your project?

0 Answers   Accenture,


Give me Example for Generic Functions in QTP Framework....Anybody please answer me..Thanks in Advance

3 Answers   BirlaSoft,


I want to open a Notepad window without recording a test and I do not want to use SystemUtil.Run command as well How do I do this?

12 Answers  


Can anyone pls tell me in realtime (descriptive programming) how will the properties of the object be given to the test team. R they given in an excel sheet and is the same sheet also given to the development team and by whom is this given? Thanks a lot.

0 Answers  


Categories