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
if mandatory and Assitive propertys are shows same how will u write skript in QTP window
What is synchronization point in QTP?
Hi Friends, How many types of Data Bases available in market... What is the diff. while using Syabase and Oracle in a Project... ? and what is the main diff. of Syabase and Oracle databases... ? Thanx in advance..
Problem with XML checkpoint in QTP ?
Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?
What does it mean when a check point is in red color? What do you do?
Your roles and responsibilities and daily tasks? (As automation tester)
How many tabs are available in debug viewer pane?
How can you identify the browser and its information using QTP script?
what is the difference between development and testing
Which advantages helping QTP to hold the position of "Market Leader" for such a long period?
I have created 3 actions in test action1, action2, action3 but I want run action 1,action 3,action2 how can you change in the actions in keyword view?
Explain object spy in qtp.
What are the challenges u faced in testing with crm domain? How u overcome with?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?