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 |
hi guys, pls tell me for testing institution training hub, hitech city is best or not?
In how may ways we can use checkpoints to an application using QTP?
Tell me Three major differences between QTP & Winrunner?
Hi all, i have installed QTP8.2 in my system. but script is not generating while recording. What is the problem? is any file missing? pls let me know anybody...Thnaks
Give me some real time point of way where exactly we can conduct audits?
What are the file extensions for per-action, shared object repository files and what is the extension for library files?
I have java based application on my computer. Can I install QTP on it? What are system requirements for installing QTP?
When you open QTP, how many sheets you can see?
how can i call an external action,which is not added external action of an action?
Plze let me know how you can validate in the QTP that printed documents is correctly printed or not ie how we can do the validation that all the records or text are printed successfully in the printed document as per the application format requuired.
What is the limitation to XML Checkpoints?
How to call a test from another test?