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


Consider a scenario where there are two action sheets say
action 1 and action 2. Can Action 1 take values from action
2 data sheet or vice versa. If so, how?

Answers were Sorted based on User's Feedback



Consider a scenario where there are two action sheets say action 1 and action 2. Can Action 1 take..

Answer / rashmi

Yes. you can use data from "Action1" data sheet
in "Action2" or vice versa.

use DataTable.GetSheet("Action1").GetParameter.....
in "Action2". (To use data from "Action1" data sheet
in "Action2")

Is This Answer Correct ?    7 Yes 2 No

Consider a scenario where there are two action sheets say action 1 and action 2. Can Action 1 take..

Answer / arif aman

well dats really a simply scenerio.

lets take,

name of the main action is "driver"
name of the called action is "action"

now we want to pass values from driver to action...

step1:
right click on the driver>goto action properties>select
output properties(select the variable you want to pass).click Ok
step2:
go to action>right click>go to action properties>select
input properties(select the same varible to took step1)>click OK

it is just like you are sending a variable out of driver and
catching the same from action as a input parameter.

dats it

thanks

ARIF AMAN

Is This Answer Correct ?    3 Yes 0 No

Consider a scenario where there are two action sheets say action 1 and action 2. Can Action 1 take..

Answer / kiran

use global data sheet this enables you to pass the values
between actions
Assume that there are two actions
1. Action1
2.Action2
make action 1 as re-usable action and use global data
sheet for parameteraization
Then Open Action2 and call action1.Automatically action2
global data sheet is updated with glodal data sheet values
of action1

Is This Answer Correct ?    2 Yes 1 No

Consider a scenario where there are two action sheets say action 1 and action 2. Can Action 1 take..

Answer / sdfds

By Parameters.
In Reusable Action1-
Declare -
name=Parameter ("name")


In Calling Action2-
Call RunAction ["Action1"],name

Here, the Action2 will take value of the variable -name
from Action1. The conditions are:
Parameter("name")- Should be declared in Reusable Action1.

Is This Answer Correct ?    4 Yes 4 No

Consider a scenario where there are two action sheets say action 1 and action 2. Can Action 1 take..

Answer / sudheer kumar putsala (mphasis

Yes it's possible.
You have to make one Action as a Reusble Action and call
that action in your Present action. For example Main one is
Action1 and Action2 is a reusble action and if you want to
use the Action2 data in Action1 u have to call like this.

DataTable.Value("name",dtlocalsheet)= DataTable.Value
("name","Action2 [REU_Action2]")

Is This Answer Correct ?    0 Yes 3 No

Consider a scenario where there are two action sheets say action 1 and action 2. Can Action 1 take..

Answer / sreekanth

Just in the Action1 give the following :
x=datatable("place","Action2")
msgbox x

In the Action2 give the following:
y=datatable("name","Action1")
msgbox y

Just try & see ...i hope we can do it....

if not just let me know ...i will get back to u ...

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More QTP Interview Questions

Where can I find and view run-time data table?

0 Answers  


In a webpage how to check the dynamic links that re changing regularly?( without using regular expressions.)

3 Answers   Misys,


If requirments changed then how we can teach the QTP this is the new requirment

2 Answers   Accenture,


How can we disable popup blocker? (I think it means when we get a pop up messge(its error) how we wil disable that one with out interrupting normal process)

5 Answers  


what are the different u notice in betweem QTP version 8.2 and 9.2 and what is new in QTP9.2

1 Answers  


Differenece betwen Project and product ? when company need project or product?

4 Answers   Accenture,


How to export data present in Datatable to an ".xls" file?

3 Answers  


hello...any one tell me , where can i get company email id.. actually i am searching on testing... in my CV i put 3+ exp.. but all companies are asked company email id.. please provide solution for that... thanx in advance...

9 Answers   HDFC,


How to check and display a particular word from a paragraph?

1 Answers  


How to Import data from a ".xls" file to Data table during Runtime.

1 Answers  


What is difference between QC and TD?

8 Answers  


How you are maintaining shared object repository in your team or your project?help me plz

1 Answers   CTS,


Categories