How will you handle the situation when object is not
captured during record?
Answers were Sorted based on User's Feedback
Answer / venkatabala
By using object spy collect the properties of object and
write descriptive programming.some times object properties
are same at that time take the ordinal identifier .
eg:-
Browser("xyz").Page
("xyz1").Webbutton"name:=abc",index:=1").click
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / allin
While recording the object is not recognised--go for low
level recording.
virtual object vizard too right. But, if u find object not
recognised by tool before start generating script.
Regards,
Ratna Rao
Is This Answer Correct ? | 3 Yes | 1 No |
Answer / howard
You would have to manually add the objects if they are
showing up in the object spy. Otherwise you would have to
check your add-ins. You could also try editing the mic.ini
file under the bin folder to add hooks to the AUT
(Application Under Test)
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ramesh
When qtp not recognizes a object on the application we need
to install the appropriate addin then only qtp can recognize
that particular object.
This answer was given by the team lead who took the
interview and asked same question.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / manjinder
it happens when object is under 3rd party controller. There are 3ways to handle this situatin:=
1. Discriptive programming
2. insert function generater
3. check syntex
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / guest
Hi,
Im Not too sure what u r asking...?
First...if the object does not recognise then we use the
virtual object wizard
Anyway ...u need to tell the interviwer that u have used
QTP only by programming.
If anyone else any brillant ideas plz do reply
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / kiran kumar
For this QTP has excelent technology called
SMART IDENTIFICATION
When ever the objects are not captured during recording by
using smart identification we can capture
kiran.pinninty@gmail.com
Is This Answer Correct ? | 4 Yes | 4 No |
Answer / hemasundar
If such type of situation come then go for low level
Recording.........
Is This Answer Correct ? | 0 Yes | 1 No |
what is defination of system testing?
3 Answers CodeArrow, Infosys, Omax,
what are SetToProperty, SetROProperty,GetToproperty scripting?
I used the below code to open QTP through VBscript?But i can unable to Invoke QTP...PLZ help me with the correct code to invoke QTP through VBS with description of the code aswell. Dim qtApp 'As QuickTest.Application 'Declare the Application object variable Dim qtTest 'As QuickTest.Test 'Declare a Test object variable Dim qtResultsOpt 'Declare a Run Results Options object variable Set qtApp = CreateObject("QuickTest.Application") 'Create the Application object qtApp.Launch 'Start QuickTest qtApp.Visible = False 'Make the QuickTest application visible qtApp.Open "C:\form", True 'Open the test in read-only mode 'set run settings for the test Set qtTest = qtApp.Test qtTest.Run 'Run the test 'WScript.StdOut.Write "Status is: " & qtTest.LastRunResults.Status 'Check the results of the test run qtTest.Close 'Close the test qtApp.quit 'Close QuickTest Pro Set qtResultsOpt = Nothing 'Release the Run Results Options object Set qtTest = Nothing 'Release the Test object Set qtApp = Nothing 'Release the Application object
scalability testing comes under in which tool?
What is the limitation to XML Checkpoints?
What is iteration?
How to use reporter.report event in qtp ?
Why you are Using Descriptive programming instead of Object Repository?
How to access values from Unix OS and how to write..
suppose i can done the project , that project have 4 modules in that one module they have many links(web pages).in that time i can say i can work on some links? or total module?
How to Import the data from MS-Access in QTP?
What are the main differences of qtp and win runner?