In QTP, Give the difference of Global sheet and Local sheet
in datatable?
Answers were Sorted based on User's Feedback
Answer / yogesh basediya
There are two types of sheets in QTP, global sheet and
local sheet. in case if we are having more then one action
for a script, so we should use global sheet. because with
the help of this we can pass values to every individual
actions if we want. but local sheet is responsible and
relevant with only one action, with which it is associated.
| Is This Answer Correct ? | 10 Yes | 3 No |
In Qtp datatable there are 2 types of sheet Global sheet
and Local sheet
From global sheet we can pass values to any test or script
and from Local sheet we can pass values to current script
only
Let me know i am correct or not
| Is This Answer Correct ? | 14 Yes | 9 No |
Answer / aarati borse
I would like to correct you sri...
Global sheet we can use to pass same value in all actions
which we are having in the same test or script.
and that of
local or action sheet we can use to pass the values only
for particular action i.e for single action...
| Is This Answer Correct ? | 7 Yes | 3 No |
How to map the test cases to requirements in QC?
Hi PLZ explain User Defined Functions in QTP with eample?
How to add a runtime parameter to a datasheet?
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.
what is file database
What is a runtime datatable ?
hi all here i have tab named "Workbench" By clicking on "workbench" tab.it displays 4 tabs like below workbench common cargo commercial charter "common" tab have 10tabs inside,"cargo" tab also haveing 15 tabs inside and remaining two tabs also having few tabs inside. when clicked on "common" tab.it displaying the script like tab("workbench").select"common" if i clicked on "cargo".it displaying the script like tab"workbench_2").select"cargo" if i clicked on "commercial".it displaying the script like tab"workbench_3").select"commercial" if i clicked on "charter".it displaying the script like tab"workbench_4").select"charter" I have used a "FOR LOOP" for common,commercial,cargo,charter tabs.it was stopped at second tab SO, CAN I RECOGNIZE "WORKBENCH_2,_3,_4" AS A SINGLE VARIABLE if not, can anyone plese help me to solve this
Can we test the Word Document using QTP Tool? We should test the page size,page set up, paragraph indentation and spacing, font size of the the character int the page.
HOW TO FIND WEBTABLE? HOW TO RETRIVE THE WEBTABLE VALUES? PLZ TELL ME THE PROCEDURE.
Synchronization methods?
What is the differences between image check point and bit map check point?
What are the differences between quicktest professional (qtp) and winrunner?