What is output value in QTP? Why do we use the output value
in QTP?How many types of output values are there in QTP?
what are their respective usage in QTP?
Answers were Sorted based on User's Feedback
Answer / ashok kumar
Hi,using o/p values u can retrive properties of
objects ,database field values ,text presenting objects &
can store on data table in test result window.
QTP provide diffrent o/p values i.e
-standard o/p values
-text o/p
-database o/p
-XML o/p
-text area
standard o/p values:u can retrive number of properties an
object
Note:o/p values retrive run time datatable in test result
window
text o/p:using to retrive d text present in objects & store
in run time datatable
text area:retrive test present in bitmap & retrive specific
string frm obj.
Is This Answer Correct ? | 36 Yes | 7 No |
Answer / satyanj
Output Value is to return the value of the property or text
string/ table cells/databases/ xml doc.s.
It returns and stores the value for the duration of run
session and that can used in any where of the script.
there are 7 types.
1) Standard
2) Page 3) text 4)image 5)xml 6)Table and 7)Database.
Is This Answer Correct ? | 16 Yes | 8 No |
Answer / sunil g
OUTPUT VALUES ARE USED FOR CHECKING THE PROPERTIES OF THE
OBJECT.AND THESE PROPERTIES ARE STORED IN THE SPECIFIED
COLUMN DURING RUN SESSION IN THE DATATABLE.
THERE ARE 4 OUTPUT VALUES
1)STANDARD OUTPUT VALUE
2)Text OUTPUT VALUE
3)DATABASE OUTPUT VALUE
4)XML OUTPUT VALUE
1)STANDARD OUTPUT VALUE:IT CHECKS THE PROPERTIES OF THE GUI
OBJECT DURING AUT AND STORED IT UNDER SPECIFIED COLUMN
DURING RUN SESSION IN THE DATATABLE
2)TEXT OUTPUT VALUES:IT CHECKS THE TEXT PRESENT ON THE
OBJECT AND STORED IN THE SPECIFIED COLUMN DURING RUN SESSION
3)DATABASE OUTPUT VALUE:IT CHECKS THE CONTENT IN THE
DATATABLE AND STORED IN THE SPECIFIED COLUMN DURING RUN SESSION
4)XML OUTPUT VALUE:IT CHECKS THE CONTENT IN THE XML AND
STORED IN THE SPECIFIED COLUMN DURING RUN SESSION
Is This Answer Correct ? | 11 Yes | 6 No |
Answer / vishwas
hi, though i've not used QTP in any proj, i've xperience in
that tool
o/p values are used for end to end usage. i.e if u r
creating a contact, searching that contact,& editing it,(in
different actions) instead of creating data table in each
actions, o/p the contact while creating itself into the
global sheet. the remaining two actions can utilize the
value from global sheet. thus u r minimizing the size that
yr script occupies by avoiding the creatoin of data tables
in each sheet.
Is This Answer Correct ? | 14 Yes | 12 No |
output values consept is when evar want to capture the
current value of any object in order to store for later
usageThere are 4 output values
1)standard output value
2)text output value
3)database output value
4)xml output value
1)standard output value:it checks the properties of the gui
Object during aut and stored it under specified column
During run session in the datatable
2)text output values:it checks the text present on the
Object and stored in the specified column during run session
3)database output value:it checks the content in the
Datatable and stored in the specified column during run session
4)xml output value:it checks the content in the xml and
Stored in the specified column during run session
Is This Answer Correct ? | 6 Yes | 4 No |
Answer / gourav aggarwal
Hello,Using output values you can retrive properties of
objects ,database field values ,text presenting objects &
can store on data table in test result window.
QTP provide diffrent o/p values i.e
-standard output values
-text output
-database output
-XML output
-text area
standard output values:you can retrive number of properties an
object
Note:output values retrive run time datatable in test result
window
text output:using to retrive d text present in objects & store
in run time datatable
text area:retrive test present in bitmap & retrive specific
string frm obj.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / chickuu
output value is ur going to output the required value from
the aut which will be referred in future
the nature of the output value is dynamic.
output value and checkpoint works hand in hand.
Is This Answer Correct ? | 6 Yes | 5 No |
Answer / shalini
Output values is used to retrive the properties
of object.
1)Standard outputvalue
2)Text output value
3)Text area output value
4)Database outputvalue
5)Xml outputvalues(From application)
6)Xml outputvalues(from Resources)
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ghanashyam rabada
It is the step in which one or more values are captured during test execution. The values can later be used as input at a different point in the test run
Normally using qtp you can create 4 types of output valus
a) Standard
b)Text and Text area
c)Database
d)XML
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / nilesh banjare
Please find out the solution for Task 3 Output Values.
Dialog("Login").WinEdit("Agent Name:").Set Datatable.Value ("Username",Global)
Dialog("Login").WinEdit("Password:").Set Datatable.Value ("Password",Global) @@ hightlight id_;_3409322_;_script infofile_;_ZIP::ssf1.xml_;_
Dialog("Login").WinButton("OK").Click
If Window("Flight Reservation").Exist Then
Datatable.Value("ErrorMessage",1)="No Error"
wait 10
Exittest
End If
Dialog("Login").Dialog("Flight Reservations").Static("Agent name must be").Output CheckPoint("ErrorMessage")
dialog("text:=Flight Reservations").WinButton("text:=OK").Click
Dialog("text:=Login").close
Thanks,
Nilesh Banjare
Is This Answer Correct ? | 0 Yes | 0 No |
Functions call by reference and call by value. i want the diff b/n these 2 and how will be the script for this?in which situation we use these 2..?pls explain me clearly
Can we set a timeout for the msgbox.I want the msgbox to disappear after 2 seconds during the script execution without clicking on the OK button manually.
How you perform smoke and sanity testing using qtp?
In Login two edit box which object class property value is same, How to enter into 2nd edit box in qtp by vbscript.
what is frame work of qtp?
what difference between client and server applications exatly?
An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?
how to call a funtion in a script? i have saved the login scipt in notepad. with extension .vbs. But when i am calling the function with the keyword CALL <Function Name>. its not working out. can any one give me a clue how to call the external functions. with example.
how will u do database testing in qtp? how will u do the same with descriptive programming?
Describe synchronization point.
How to create a standard checkpoint ?
Explain different types of action in qtp?