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 Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an expert view and keyword view?

791


What is a Patch in QTP?

785


How the exception handling can be done using quicktest professional?

740


how to use the regular expression for the below code-- swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:56" There is a tree view window of the folder's ie Medication- >Pharmacy(sub folder)with 56 as count of records...The records can be different or if no records present in the specific folder..then it show "Paharmacy:-no records".Whe i record at the first time .....and try to rerun the same script with different records count say "pharmacy:800"..qtp is not regnizing it...therefore i want to user regular expression..but donot now how to use it and where to use...i have tried.... swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:\*"..but it s of no use..plz help..me

2678


Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance

1612


How to record a qtp script ?

729


What are the methods used in UFT to handle exceptions or run-time errors?

849


Explain the check points in quicktest professional (qtp)?

763


Explain types of output values?

733


How qtp identifies objects?

744


before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...

7622


regular expression in qtp standar check point for months from accepting months from january to december only

1666


How to handle Java tree in QTP?

992


what is meant by Implicit and explicit requirements?

3844


What is the difference between call to existing action and copy of an action?

792