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

When and why to use descriptive programming?

0 Answers  


how to identify a webtable coulmn values ,if we spy the coulmn value it is sometimes identifying as Webedit and some times it is identifying as "webelement", Could any body let me know how to handle the issue?

1 Answers  


Please guide me release notes of Automation once scripts are completed

0 Answers  


How the QTP recognize, handle n reports that a error has been handled by it(QTP) when we perform a recovery scenario in our application n in what manner it will display it in resulting window? Plz help me out.

1 Answers  


How u will open the build automatically in QTP except using Systemutil.run command

6 Answers  






How to get popup error message.

0 Answers   Tech Mahindra,


I need diffrences between Object Identification, Smart Identification, Regular expresion,Low-Level Recording (enables you to record on any object in your application, whether or not QuickTest recognizes the specific object or the specific operation.) I am working on Web Application. In that object caption will change dynamically. For example, consider “Save” button. On clicking save button the caption changing as “ EDIT ”. From above concept which concept I have to use here?

2 Answers   Ordain Solutions,


1) 100 test boxes there in application. how to click 100 test boxes using vb script? 2) 100 objects there in web page,how we will store that 100 objects repostries?

3 Answers   ANZ,


What is InStr()

6 Answers   Kanbay,


Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.

0 Answers  


What is object repository?

3 Answers  


QTP Query: Hello to all, I'm getting an error (as below) when I perform descriptive programming on any Web application. "The test run cannot continue due to an unrecoverable error.The "myvar_0" object was not found in the Object Repository. Check the Object Repository to confirm that the object exists or to find the correct name for the object " But I do not have any problem when I perform the same descriptive programming on a Windows application such as Sample Application - Flight. Previosly , I had prepared a lot of scripts - both via creating the properties collection object and by giving the description in string arguments and implemented them on Flight and they're working perfectly fine.I'm using QTP Version 9.2 The sample script I have used for Web application is as below : Set myvar_0 = Description.Create 'Setting property collection object for Browser myvar_0("class").value = "Browser" myvar_0("name").value= ".*" 'Setting property collection object for Page Set myvar_1 = Description.Create myvar_1("class").value = "Page" myvar_1("name").value= ".*" 'Setting property collection object for Text box Set myvar_2 = Description.Create myvar_2("class").value = "WebEdit" myvar_2("name").value= ".*" 'Setting property collection object for Button Set myvar_3 = Description.Create myvar_3("class").value = "WebButton" myvar_2("name").value= ".*" SystemUtil.Run "C:\Program Files\Internet Explorer\iexplore.exe" Browser("myvar_0").Page("myvar_1").WebEdit("myvar_2").Set ("hello how are you ?") Browser("myvar_0").Page("myvar_1").WebButton ("myvar_3").Click Browser("myvar_0").Page("myvar_1").Sync Browser("myvar_0").Close As our application is a Web based application, I was planning to make a few changes in regards to the object names, but unfortunately I am getting the above mentioned error. Could anyone please advice me, whether it could anything to do with the run setting or anything else.I am getting the same error even while implementing on our Sample Application - Mercury Tours website. I would be grateful to anybody who can solve my problem !!

1 Answers  


Categories