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


Please Help Members By Posting Answers For Below Questions

how to write xml output check point bu useing descriptive programing .means without useing output check point

1745


Hello friends..... On which areas of an application we can not test with QTP

1670


Hello everyone! I am just writing a small test for a windows application. I have a problem with a text output value. The value i am trying to catch is presented in a scrollable textbox. When the text is too long, only a portion of it gets captured. Do you have any experience with this?

2229


Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)

1474


what difference between runtime object and text object and what property they have. whether they have same properties or different properties.

1800






How can I change object description or check point values in qtp?

643


Why bpt?

695


What are the Disadvantages of shared object repository?

668


How u will do versioning in QTP?

1533


hi guys, pls tell me for testing institution training hub, hitech city is best or not?

1433


How does qtp identify the object in the application?

628


What are output values and why they are used ?

700


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...

7412


How will you compare keyword and expert view?

620


How to export quicktest professional results to an .xls file?

670