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 |
Hi, I have a login page. To login in that page I need to have a valid username and password, which is stored in database. I imported that table to my DataTable in QTP (Global sheet). Now I need to write a code in qtp so that I can login only with valid username and data. my condition is : I want to get username and password from inputbox(which i did) and click on login button- which should verify the datatable for username and password and if value is present only then lofin else stop the testing. DataTable contains columns : LoginName and Password Code: Rowcount= DataTable.GetSheet("Global").GetRowCount msgbox "RowCount= " &RowCount,1 CurrentRow= DataTable.SetCurrentRow(1) Do Browser("").Page("").Frame("Frame").WebEdit("ctl10$ct l00$ctl00$UserName$ctl").Set DataTable("LoginName",1) Browser("").Page("").Frame("Frame").WebEdit("ctl10$ct l00$ctl00$Password$ctl").Set DataTable("Password",1) Browser("").Page("").Frame("Frame").Link("Login").Cli ck CurrentRow=CurrentRow+1 Loop Until CurrentRow>Rowcount Can anyone help? Thanks, Priya
How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.
can we call runaction in the funcion
what is the syntax for regular expression in QTP? how to create user defined functions in QTP?
what difference between client and server applications exatly?
I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.
A web Page has 2 frames. Find out the number of weblist items in the second frame of the page.
how to convert 100 into hundred repees only and viceversa
How is UFT 11.5 version different from UFT 12.0?
can QTP works on LINUX platfom
We have 10 rows of records in data table, but we have to run 4th, 5th and 6th rows only. How can we handle this scenario in QTP?
5 Answers Accenture, Banca Sella, Polaris,
How do Parameterization and Data-Driving relate to each other in QTP?