Can I use datatable of Action1 in the Action2.
Answers were Sorted based on User's Feedback
Answer / nagk24
we can use any table from any action
here is the login details in action1 calling from action2
record in action2:=
n=datatable.GetSheet("Action1").GetRowCount
For i=1 to n
systemutil.Run"C:\Program Files\HP\QuickTest
Professional\samples\flight\app\flight4a.exe"
datatable.SetCurrentRow(i)
Dialog("Login").WinEdit("Agent Name:").Set
datatable("A","Action1")
Dialog("Login").WinEdit("Agent Name:").Type micTab
Dialog("Login").WinEdit("Password:").SetSecure
datatable("B","Action1")
Dialog("Login").WinEdit("Password:").Type micReturn
Window("Flight Reservation").Close
Next
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / abcde
Yes we can.Use the following code
Datatable.value("column_name",sheet_id)
Here Sheet_id is action2
eg: Datatable.value("c1",3)
3=action2 datasheet
| Is This Answer Correct ? | 0 Yes | 0 No |
diff between wr and qtp in detail.
action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans
What is a Patch in QTP?
How to get the run time object property without using GetROProperty
Suppose there is a bitmap with some text in it how do you write the script to get the text.
How to use output values in qtp ?
Hello Everybody, please tell me how to use accessibility checkpoint and XML checkpoint by giving any practical example of it.please provide me the steps to perform that and also pls provide the code too. Thanks in advance, Gaytri
You have an application version 1 with 5 combo boxes, Developers develop version 2. Here they replaced bottom 3 combo boxes with each other. While executing the Test script for version1 no errors. When we execute the Test script for version2 that QTP showing the error message "Object not identified" remember no property changed in version 2, ordinal identifier also disabled. Find what properties might change here in this scenario
Does quicktest professional (qtp) is unicode compatible?
"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...
What is chaild object method? When we will go for chaild object method? How to use chaild object method?
What is Curd testing?