How Qtp will identifies object during run time
Answers were Sorted based on User's Feedback
Answer / ayaan
To answer what Jitu's interviewer asked -
The default mandatory properties for a Web Image object are
the alt, html tag, and image type properties. There are no
default assistive properties defined. Suppose your Web site
contains several space holders for different collections of
rotating advertisements. You want to record a test or
component that clicks on the images in each one of these
space holders.
However, since each advertisement image has a different alt
value, one alt value would be recorded when you create the
test or component, and most likely another alt value will
be captured when you run the test or component, causing the
run to fail. In this case, you could remove the alt
property from the Web Image mandatory properties list.
Instead, since each ad image displayed in a certain space
holder in your site has the same value for the image name
property, you could add the name property to the mandatory
properties to enable QuickTest to uniquely identify the
object.
Also, suppose that whenever a Web image is displayed more
than once on a page (like a logo displayed on the bottom
and top of a page), the Web designer adds a special ID
property to the Image tag. Thus, the mandatory
properties are sufficient to create a unique description
for images that are only displayed once on the page, but
you also want QuickTest to learn the ID property for images
that are displayed more than once on a page. To do
this, you add the ID property as an assistive property, so
that QuickTest learns the ID property only when it is
necessary for creating a unique test object description.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / jitu
Itold it will learn mandatory properties,assistive
properties,etc but the interviewer says give eample of
mandatory property,assistive property..
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / geena
In the run time QTP read the VB Script and compare line by
line with the OBJREPOSITORY and then compare with the
application. If ObjRepo's objects and appications objects
are same u get pass otherwise u get fail result.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / deven
To access runtime objects we can use GETROProperty and
SETTOProperty to change the TESTOBJECT property in QTP.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / chandana
Hi
i think by its logical name, and class
chandana
| Is This Answer Correct ? | 1 Yes | 5 No |
Answer / chandini
I think itz GetROProperty, it recognizes the run-time
objects
| Is This Answer Correct ? | 1 Yes | 8 No |
HOW to invoke any recorded script in QTP with out using RECORD & PLAYBACK CONCEPT?
What is the Difference between current version of QTP and QTP 8.2. Pls kidly Anybody let me know. Thanks in advance.
Hi All, I have a problem with getting the value which is available in the table and it is not having any unique property. Please find the below table TopicName CreatedBy ViewCount ------------------------------------------------ XXXX Y 10 ZZZZ ZZ 0 AAAA BBB 3 In the Above table TopicNames are link and it is having an id but the remainig two columns(Created by and ViewCount) are static Web element values and they are not having any unique property. Now i want to get the values of Created BY and View count for each and every topic. Can anybody give me the solution for the above ASAP. If anybody didn't understand the above please free to send me a mail by that i can send you the snap shots and some more description. You can catch me at krishnachand.p@gmail.com
Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,
How will you check a web application for broken links using qtp?
Hi..All I have installed QTP 10.0, and need to Automate SAP Application.....so i need to Install SAP Add-ins, anybady has SAP-Addins, Please help me, and thanks in advanced plese send it on my email id: sandipgami84@gmail.com Thanks, Sandip Gami +91-9714177088
How can we change the .mtr file to .tsr file and vice-versa
How to find the number the number of Links, Brolken Links in a webpage?
How to handle Run-time errors?
What is QTP Frame Work ,and i want it in detail
I am in need of some set of QTP FAQ @ interview. Also recently in one of interview portal they asked me how you write the script for Login application which it is web -based and using Descriptive Programming? Without associating the shared object repository?Please i do need this answer very soon? Please respond me soon @ vaisu72@yahoo.com
any one can send me the concepts of qtp