ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
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?
 Question Submitted By :: Pavi
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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?
Answer
# 1
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 ?    0 Yes 0 No
Sdfds
 
  Re: 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?
Answer
# 2
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 ?    0 Yes 0 No
Rashmi
 
 
 
  Re: 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?
Answer
# 3
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 0 No
Sudheer Kumar Putsala (mphasis
 
  Re: 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?
Answer
# 4
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 0 No
Sreekanth
 
  Re: 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?
Answer
# 5
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 ?    0 Yes 0 No
Kiran
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
how to create user defined functions in QTP? can any one expalin me with example.. Thanks in Advance for help  2
What exactly a frame Work means?what are the different type of frameworks done in QTP?why the caption for QTP given as advanced keyword driven? Satyam4
Can any one tell the different properties and values of differnt objects like Browser,Page,link,webedit,webcombobox,webradio botton,webcheckbox and web button.Because I am facing a lot of problems in interviews with Descriptive Programing.I never worked on web Application...Pls help any one as soon as possible....  1
How to count the no of objects in XML file(QTP)  1
Can the mode of object repository be change during run time? Eg. if the mode is per-action during design time can i change it to shared and vice-versa? Any scripting possible?  2
how to select the work for complete automation and one more thing when u are going to choose automation Fidelity2
Tell me the situations where we will use Data Driven?  2
what is the advatages of merging of object repositories in Qtp9.0 TCS1
How many ways we can parameterize data in QTP?  2
How Does Run time data (Parameterization) is handled in QTP? IBM2
In my application there is a billing thru credit card. how to validate the credit card details(min balance,credit card no,card holder name).if these details are valid then only that booking will be done.how to validate these details thru automation or manual?  1
what is the another name for blackbox testing?  6
what is debugging testing?  4
what is the difference between window command and dialog command  1
How to retrive data from a data table which is in 3rd row,4th column and place it in main script..like retrive name,date from data table..write script for this. Thatavarti-Technologies9
HOW TO DO THE BATCH TESTING USING QTP? Ordain-Solutions2
Associated files in QTP?  1
Give me some scripts for 1). checking webpage links (counting links,opening web pages,counting child elements) CIL2
What is User defined function in QTP Bank-Of-America3
can QTP works on LINUX platfom  2
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com