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

diff between wr and qtp in detail.

4 Answers  


action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans

0 Answers   TCS,


What is a Patch in QTP?

0 Answers  


How to get the run time object property without using GetROProperty

4 Answers  


Suppose there is a bitmap with some text in it how do you write the script to get the text.

2 Answers   BirlaSoft,


How to use output values in qtp ?

0 Answers  


Hello Everybody, please tell me how to use accessibility checkpoint and XML checkpoint by giving any practical example of it.please provide me the steps to perform that and also pls provide the code too. Thanks in advance, Gaytri

1 Answers  


You have an application version 1 with 5 combo boxes, Developers develop version 2. Here they replaced bottom 3 combo boxes with each other. While executing the Test script for version1 no errors. When we execute the Test script for version2 that QTP showing the error message "Object not identified" remember no property changed in version 2, ordinal identifier also disabled. Find what properties might change here in this scenario

6 Answers   ADP,


Does quicktest professional (qtp) is unicode compatible?

0 Answers  


"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...

0 Answers   Altair,


What is chaild object method? When we will go for chaild object method? How to use chaild object method?

2 Answers  


What is Curd testing?

0 Answers   Wipro,


Categories