types of output value in details.
Answers were Sorted based on User's Feedback
guys total there are 7 actually...let me explain in detail...
1. Standard OP
2. Table OP
3. Text OP
4. Text Area OP
4. Database OP
6. XML output (from application)
7. XML output (from resources)
1. Standard OP: this ouput value is used to get a property
value of an runtime object in application for later input.
Example: to get the text entered in a text box, or to get
button name or get items count in a weblist.
2. Table OP: this ouput value is used to get the data from
specified cell in a webtable. this option is not visible in
QTP. but u can impliment this thru standard output value.
3. Text OP: this output value is used to get some text from
the web application.
4. Text Area : this output value is used only for windows
application. and used to get text from specified area.
5. Database OP : to get the data from the data base using by
application.
6. XML from Application : to get the values from XML file
thats been using by application.
7. XML from Resources : to get the values from external XML
file to parameterize your test.
if any queries , please mail to:
nanda.dreddy@gmail.com
Regards..
Nanda
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / ami
types of output values in Qtp are as follow:
1) Standard output value
2) Text output value
3) Data base output value
4) xml output value (from application)
5) xm output value (from resources)
| Is This Answer Correct ? | 6 Yes | 3 No |
Answer / anum
1. Standard Output Values
You can use standard output values to output the property
values of most objects. For example, in a Web-based
application, the number of links on a Web page may vary
based on the selections a user makes on a form on the
previous page. You could create an output value in your test
to store the number of links on the page.
2. Text and Text Area Output Values
You can use text output values to output text strings
displayed on a Web page or application. When creating a text
output value, you can output a part of the object's text.
You can also specify the text before and after the output text.
You can use text area output values to output text strings
displayed within a defined area of a screen in a Windows
application.
For example, suppose that you want to store the text of any
error message that appears after a specific step in the Web
application you are testing. Inside the If statement, you
check whether a window exists with a known title bar value,
for example Error. If it exists, you output the text in this
window (assuming that the window size is the same for all
possible error messages).
3. Table Output Values
Table output values are a subset of standard output values.
You can use table output values to output the contents of
table cells. For some types of tables, you can specify a row
range from which to choose the table cells. During the run
session, QuickTest retrieves the current data from the
specified table cells according to the settings that you
specified and outputs the values to the Data Table.
4. Database Output Values
You can use database output values to output the value of
the contents of database cells, based on the results of a
query (result set) that you define on a database. You can
create output values from the entire contents of the result
set, or from a part of it. During the run session, QuickTest
retrieves the current data from the database and outputs the
values according to the settings that you specified.
5. XML Output Values
You can use XML output values to output the values of XML
elements and attributes in XML documents.
After the run session has finished, you can view summary
results of the XML output values in the Test Results window.
You can also view detailed results by opening the XML Output
Value Results window.
For example, suppose that an XML document in a Web page
contains a price list for new cars. You can output the price
of a particular car by selecting the appropriate XML element
value to output.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / pujar
There r 6
1 Std
2 Txt
3 Txt area
4 Data base output value
5 xml output value (from application)
6 xm output value (from resources)
| Is This Answer Correct ? | 1 Yes | 0 No |
How to connect to data base?
How you perform smoke and sanity testing using qtp?
I have recorded a test using qtp to download a file in an application. Code: Browser("MFA Work Queue Manager").Page("MFA Work Queue Manager").Link("Rules Maintenance").Click Browser("MFA Work Queue Manager").Page("Rule Maintenance").WebEdit("txtSearch").Set "PmtType" Browser("MFA Work Queue Manager").Page("Rule Maintenance").WebButton("Search").Click Browser("MFA Work Queue Manager").Page("Rule Maintenance").WebButton("Export").Click Browser("MFA Work Queue Manager").Dialog("File Download").WinButton("Save").Click Browser("MFA Work Queue Manager").Page("Rule Maintenance").Sync Dialog("Save As").WinButton("Save").Click Dialog("Save As_2").WinButton("Yes").Click Problem: When running this test it gives an error at line no. 5 as Save button object is not identified by it's parent object. This code I ran 4 times after recording at it was working fine but 5th time onwords, it starts giving me the above problem. I used exist property option, Check Property option but none of this changes work at all. Kindly help...
When and why do you use "OPTION EXPLICIT" in VB Script. Is there any online help or something to learn the script for Beginners?
what type of scripts are asked in qtp?
How to enter table check points?
How to open a new test using quicktest professional?
An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?
I recorded a Web based Application running on JAVA and when I went to play them back a week later they didn't run. I noticed that the Browser was putting in a (Underscore and a Number) for each line so i re-recorded and noticed the Underscore line wasn't the same as what i recorded last week so any script I record today will not work next week because the browser settings or how QTP recognizes it keeps changing. This is the new line Browser("Bureau of Labor Statistics_4").Page("Bureau of Labor Statistics").JavaApplet("SurveyApplet").JavaList ("Select an Area").Select "U.S. city average" This is the old line 'Browser("Bureau of Labor Statistics_3").Page("Bureau of Labor Statistics").JavaApplet("SurveyApplet").JavaList ("Select an Area").Select "U.S. city average" Notice the Burearu of Labor Statistics_3 adn Burearu of Labor Statistics_4. Why does it change and how do I prevent it from changing.
How to track the execution time?
Explain the concept of object repository and how quicktest professional (qtp) recognises objects?
Can we run multiple QTP scripts one after the other without manual intervention? How?