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 |
How you are developing the script? Using record and play back or manual?
Give me some real time point of way where exactly we can conduct audits?
In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.
How to count no of edit boxes on the page?
How to add multiple values in rows, under a single column of a run time datatable?
1) What is the diff Between GetRoproprty and Gettoproperty? 2)What is Redim?
Inserting a Call to Action is not importing all columns in Datatable of globalsheet. Why?
What is the vb script when the url enter into the browser
Tel me what was the automation testing process you followed?
some times we write user define functions.where we write main and sub program,how,where to insert the functions in qtp?
how to find that tools work well with your existing system?
Sql questions to find second max salary and how to use joins