Can I use datatable of Action1 in the Action2.
Answer Posted / 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 |
Post New Answer View All Answers
How does quicktest professional (qtp) identifies the object in the application?
How to test background color and dynamic images during run time can you put the check point for moving objects?
What are the trigger events in qtp?
what is stepin & stepout?
How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..
Pls can anybody send me the Recent Technical and Interview Questions Which were asked in IBM(QTP)Automation PLZZZZZZZZZ
Differentiate the type of test cases which can be automated and which cannot be automated?
What is ObjectParamater?
What are the features and benefits of quick test pro (qtp 8.0)?
How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..
What is the parameterization? Give one example?
Hi All, How to get repeated word in string . Thanks Balaji
How do we handle run-time errors?
Explain the difference between check point and output value?
How to run an integrated test scenario using Multiple Actions? How to use the QTP Step Generator?