Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


How QTP recognizes Objects in AUT?



How QTP recognizes Objects in AUT? ..

Answer / b.ramyasri

Hai...

QuickTest stores the definitions for application objects in
a file called the Object Repository. As you record your
test, QuickTest will add an entry for each item you
interact with. Each Object Repository entry will be
identified by a logical name (determined automatically by
QuickTest), and will contain a set of properties (type,
name, etc) that uniquely identify each object.

Each line in the QuickTest script will contain a reference
to the object that you interacted with, a call to the
appropriate method (set, click, check) and any parameters
for that method (such as the value for a call to the set
method). The references to objects in the script will all
be identified by the logical name, rather than any
physical, descriptive properties.

K,byeee...
Thanks & Regards
B.Ramyasri

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More QTP Interview Questions

str="ramanareddy12345@gmail.com"to count alphabets,numarics and special charcters pls any one knows send to answer

3 Answers   Ziynx,


How you create new action in qtp?

0 Answers  


How to handle "Java Runtime error" popup window in the web application ? Sometimes the application throws the error repeatedly... Is there any browser setting available to disable the error ?

2 Answers   TCS,


Is it possible to change the extension of Shared object repository?

2 Answers  


How you can find the absolute value of the number in qtp?

0 Answers  






Suppose u write test case in Excel sheet . how u open that test case in Test Director?

4 Answers   Ordain Solutions,


suppose u hav a 10 dialog or window opened on screen with same name & value. now how to test each window? i.e. how qtp indetifies these objects separately?

7 Answers   Wipro,


what is meant by automation tool?

1 Answers  


Hi Friends, How to trap an error message on Web page through QTP. Example:- When I put wrong user id or Password on a web page, I get the error message. So when I add the error object in Reposatory, every time it shows as Login Failed Object exist, eventhough using corret login details. And if I do the same without adding the object it shows as object not found. This might be because while recording QTP takes every new page as _1 _2 _3 and so on. as below. Browser("XXXXX").Page("XXXXX_1"). >>login Browser("XXXXX").Page("XXXXX_2"). >>Inbox Browser("XXXXX").Page("XXXXX_3"). >>Sent Items I used below code. Browser("XXXXX").Page("XXXXX").WebEdit("firstname").Set strFN Browser("XXXXX").Page("XXXXX").WebEdit("lastname").Set strLN Browser("XXXXX").Page("XXXXX").WebEdit("userid").Set strUserID Browser("XXXXX").Page("XXXXX").WebEdit("password").Set strPass Browser("XXXXX").Page("XXXXX").WebButton("Login >").Click If Browser("XXXXX").Page("XXXXX_2").Image ("msg_icon_error").Exist 5 Then Reporter.ReportEvent micFail, "XXXXX", "Login Failed!" ExitRun (It shows login failed ever after login is passed. Else Reporter.ReportEvent micPass, "XXXXX", "Login Successful!" End If Please find out a way for me here, and provide me with the correct code. Thanks in Advance.

1 Answers  


w is fragmentation and paging

1 Answers   MBT,


How to resume the second iteration in the QTP,, if the error has intrupted the the second iteration. When i use run from step it starting from the first iteration again.

1 Answers  


Explain types of output values?

0 Answers  






Categories