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
Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?
How are actions and functions different in QTP?
What is the difference in the global and action sheet in qtp?
WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,
what the difference between shared repository and per action repository?
What is data driver in qtp? Where we use it?
Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....
What are metrics and matrix?
In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer
images are dynamically changes how to compare two images with out using the bitmap
Create flight reservation login descriptive programing (Condition: Remove the value and substitute with a variable, and then call the validation from Excel) Plz help me....... very urgent.........
What is ObjectParamater?
before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...
how to create flat file datasubmission in qtp
Explain different recording modes?