what are the 5 types of objects in qtp
Answers were Sorted based on User's Feedback
Answer / dharmendra
hi Anand Hippargi,
i m not agree with ur last object defined.
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / anand hippargi
QTP supports 6 types of objects:
Standard Windows Object – Methods and Properties within
this object can be used for testing standard windows
objects
ActiveX Objects – Methods and Properties within this object
can be used for testing ActiveX objects
Visual Basic Objects – Methods and Properties within this
object can be used for testing Visual Basic objects
Web Objects – Methods and Properties within this object can
be used for testing Web Objects
Utility Objects – Methods and Properties within this
object can be used for testing Utility Objects
Supplemental Objects - Methods and Properties within this
object can be used for testing Supplemental objects
| Is This Answer Correct ? | 10 Yes | 10 No |
Answer / siva
while installation basically 3 objects are placed in ADDIN manager of the qtp that are VISUAL BASIC , WEB AND ACTIVE - X. If we need any of other objects we need to buy it. and install it into the add in manager then QTP will able to provide the compatibility of the perticuler platform.
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / praveen m
It means object models.
AOM
DOM
COM
Dictionary object
Properties collection object
Regular Expression object
| Is This Answer Correct ? | 0 Yes | 1 No |
Given a string variable contain a full name (last name, first name), using vbscripting, how can you extract first and last name and save them into two different variables.
write script for how to add function library in QTP
Can we check environment variable value without existing of environment variable
I have a WebEdit Object.It is added in object repository.It has two properties Name and Index.In the next release the Name Property is same but the index property is changed.when i run the script will the script Pass or Fail
Which Databases supports for QTP?
In qtp is it possible to check broken links of a page?
Hi all, I am New to QTP . I am Now in critical situtaion. I want to know How to create our own object respository for our application. please say the answer with example.
can i able to connect any version of qtp to any version qc
PLZ EXPLAIN HOW TO LAUNCHING QTP IN TEST DIRECTOR? Is it possible or not? If No Why we r using qtp Td Combination? plz explain briefly? What is the purpose of TD With QTP?
how to count the word "IS" is repeated in the application using DP
3 Answers DST Global Solutions,
any one can explain about QTP proocess,means where to start and how to start Scripting.
Hi All Below is my script which i made for lgin into Flight.exe. SystemUtil.Run "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe","","C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\","open" Dialog("Login").WinEdit("Agent Name:").Set DataTable ("p_Text", dtGlobalSheet) Dialog("Login").WinEdit("Agent Name:").Type micTab Dialog("Login").WinEdit("Password:").SetSecure DataTable ("p_Text1", dtGlobalSheet) Dialog("Login").WinButton("OK").Click If Dialog("Login").Dialog("Flight Reservations").WinButton ("OK").exist Then Dialog("Login").Dialog("Flight Reservations").WinButton ("OK").Click datatable.Value(3)= "Incorrect password. Please try again" Dialog("Login").WinButton("CANCEL").Click elseif Dialog("Login").Dialog("Flight Reservations").WinButton("OK").exist Then Dialog("Login").Dialog("Flight Reservations").WinButton("OK").Click datatable.Value(3)="Please enter agent name" Dialog ("Login").WinButton("CANCEL").Click elseif Dialog("Login").Dialog("Flight Reservations").WinButton("OK").exist then Dialog("Login").Dialog("Flight Reservations").WinButton("OK").Click datatable.Value(3)= "Please enter password" Dialog("Login").WinButton ("CANCEL").Click else Window("Flight Reservation").Move 309,146 datatable.ExportSheet "C:\Raj\Result.xls" ,1 Window("Flight Reservation").Close End If I want to capture the Message string from Dialog("Login").Dialog("Flight Reservations" Also pls let me know if this is the right way to do the script for login. Pls provide some script for login Flight.exe Thanks in advance Raj Dhiman