what is the use of Text output value in Qtp?
Answers were Sorted based on User's Feedback
Answer / sreeprasad
Output values enable to view the values that the
application talkes during run time.When paramaterised, the
values change for each iteration.Thus by creating output
values, we can capture the values that the application
takes for each run and output them to the data table.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / manu
thats absolutely correct .. just to add that when you use
BPT components and run a test consisting many of them..
this requires to pass some outputs as inputs to the next
component run.. thats very much it.
Is This Answer Correct ? | 1 Yes | 0 No |
write a script to verify the image path(src property) of the images which are in web pages.(do it by Descriptive method by creating a description object)
What is the latest version in QTP?
55 Answers Bharti, Polaris, US Technology,
Is text area check point supports for web applications?
How to add a runtime parameter to a datasheet?
how to capture tool tip in QTP and which check point is needed
I have a drop down box to show selected number of records in result page.It contains 4 items like 10, 25,50 and 100. when i was recordes script for seelcting each item and checking selecting number of records in the result page( it is in the same page in the table format)it is generating a new page with same controls( objects) in the OR. how to avaid these in OR? is it possible to write DP for only these lines?, remaining(remaingin lines of code) objects i want use from OR only. One more problemis if change ( add /remove properties of an OBJECT in OR , my ( recorded )application is not running.
why can't you use excel directly in qtp. why we want to import excel data into Datatable.
What is an optional step in qtp ?
how to load all resource files(function libraries,object repositories etc) into tests without associating them?
Explain in brief about the QTP Automation Object Model.
How to test background color and dynamic images during run time can you put the check point for moving objects?
Hi I have a doubt in qtp. Can you please clarify my doubt. If we are importing the data from excel sheet in qtp the the script is running the number of row times. I mean if there are 4 rows in excel sheet the script is running 4 times. cant we avoid this. suppose i have tis script: datatable.Import "C:\Documents and Settings\sailaja\My Documents\login1.xls" n = datatable.GetRowCount For i =1 to n systemutil.Run "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe" datatable.SetCurrentRow i Dialog("Login").WinEdit("Agent Name:").Set DataTable ("Username", dtGlobalSheet) Dialog("Login").WinEdit("Password:").Set DataTable ("Password", dtGlobalSheet) Dialog("Login").WinButton("OK").Click Window("Flight Reservation").ActiveX ("MaskEdBox").Type "020209" Window("Flight Reservation").WinComboBox("Fly From:").Select "Frankfurt" Window("Flight Reservation").WinComboBox("Fly To:").Select "Los Angeles" Window("Flight Reservation").WinButton("FLIGHT").Click Window("Flight Reservation").Dialog("Flights Table").WinButton("OK").Click Window("Flight Reservation").WinEdit("Name:").Set "Sailaja" Window("Flight Reservation").WinButton("Insert Order").Click Window("Flight Reservation").WinMenu ("Menu").Select "File;New Order" window("Flight Reservation").Close next I created a excel sheet with 3 rows and 2 columns. (username and password). The script is running 9 times. I made the option run one itaration only . eventhough it is running 9 times .can u plaese clarify my doubt. Thankyou Sailaja.