Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Can I use datatable of Action1 in the Action2.

Answers were Sorted based on User's Feedback



Can I use datatable of Action1 in the Action2...

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

Can I use datatable of Action1 in the Action2...

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

Post New Answer

More QTP Interview Questions

IF application is a Java-based application means 2 0r 3 tier application. How the script will be in QTP. pls kindly give some sample script.

5 Answers   Wipro,


How u will open the build automatically in QTP except using Systemutil.run command

6 Answers  


whow much strong on VB and C?

0 Answers   UHG,


When you open QTP, how many sheets you can see?

0 Answers   Wells Fargo,


What are the different types of Database checkpoints in QTP? when they are used?

2 Answers  


what to do if application have 3 "ok" button with same logical name and same properties, how qtp can identify them.

11 Answers   Infosys, Intel,


in my application,validation message has in japanise language.how to validate this message is appears properly or not

0 Answers  


pls guys understand this is question CAREFULLY,,, interviwer asks can u write test case for ATM m/c..i told, insert card enter pw...like this,,but interviwer not happy with that...ur not going to atm center? in ur office system ur testing ATM M/c...why ..how to test? what is the process?

1 Answers   Accenture,


CAN I CALL A FUNCTION IN ACTION.IF YES PLEASE HELP ME

2 Answers   TCS,


What is AUT in object reposity in QTP? Why we use it in Object repository???What is full form???????

6 Answers  


What is Unicode Compatibility?

0 Answers   HCL,


What is the method for maximize the application while we using Decriptive programming in QTP?

3 Answers  


Categories