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 ?    1 Yes 1 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 ?    2 Yes 1 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 1 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 1 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 1 No
Kiran
 
  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
# 6
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 ?    1 Yes 0 No
Arif Aman
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
What is the logic for reading(exporting)the data from flat files to QTP?Can anyone explain me with an example? I appreciate it!!! Thanks!!! Prasanna  1
How can I generate customized logs in QTP ? Ordain-Solutions1
Explain about the Test Fusion Report of QTP?  1
Older version QTP is 8.2 and New version QTP is 9.2. My question is, Why it is QTP 9.2, why not 8.3,8.4 .... why it is not something ?  1
Hi can anyone pls suggest how to fetch username(system login name)and system name in to qtp.I am not using TD or QC.Thx  4
w is fragmentation and paging MBT1
write the code to reverse a string without using Strrev built in function. ADP5
Can I record on netscape browser does it require any special settings ?  1
In 1st screen,if v enter a/c no. in one field, the information of the subscriber will be displayed. The details should be displayed only in screen 3(NOTE:details should not display in screen 2).How can v do using QTP. BirlaSoft2
This is the script generated by qtp plz can anyone write the same script using descriptive programming plzzzz guys do answer. Browser("orkut - login").Page("orkut - login").WebEdit ("Email").Set "rgovard" Browser("orkut - login").Page("orkut - login").WebEdit ("Passwd").SetSecure "47525d8be4926ea2f6e96b9a3f7472b6ae38" Browser("orkut - login").Page("orkut - login").WebButton ("Sign in").Click Browser("orkut - login").Page("orkut - home").Link ("Logout").Click Browser("orkut - login").Page("orkut - login").Sync Browser("orkut - login").Close  5
types of output value in details.  3
IN EXCEL SHEET OF qtp SUPPOSE I ENTERED 10 NUMBERS RANDOMLY I HAVE TO GET TOTAL OF TEN NUMBERS IN THE 11 COLUMN USING qtp GIVE CODE TO IT USING qtp  2
Pls let me know completely about descriptive programming, where it is used, pls explain with a real time example of its occurence and the program code written in qtp.  3
Plz explain about MATCH/EXACT MATCH/IGNORE SPAGE in text check points?  1
HI, Based On The Information Below Write A Data Driven test Script Edit Box 1 Should take Value From Num1 Column Edit Box 2 Should take Value From Num2 Column Click On Add Button, Get The Value Of Exp res Column, Get Value From Actual Result Edit Box , Compare Two Values, Write Pass / Fail Value Into Result Column Thanks In Advance... Kavitha Input.Xls Num1 Num2 Exp res Act res Result 10 30 40 40 Pass 50 40 90 90.5 - - - - - - - - - - - - - - - - UHG3
what is Synchronization point in QTP?Can anybody give a perfect example on it Thanks in advance  5
Test Life cycle starts IS it Requirments stage or Test Initiation?  1
WHAT IS PARAMITARIZATION?  8
plz anybody tell me how to explain the architecture of one particular project.plz give me answer for this.....RAJESH TCS6
What are the properties you would use for identifying a browser & page when using descriptive programming ?  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