How to pass parameters into an action.Please explain me
with examples
Answer Posted / pk
First you have to declare the Input/Output Parameters in the
Action Properties (Right click action icon and select). Then
you can access these parameters through the Parameter object.
Say you have declared two Input parameters
a (as number, value= 25) and
b ( as number, value = 30)
Then you can access these Action input parameter with in the
action using
c = parameter("a")+parameter("b")
msgbox c (should display 55)
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Can anyone pls tell me in realtime (descriptive programming) how will the properties of the object be given to the test team. R they given in an excel sheet and is the same sheet also given to the development team and by whom is this given? Thanks a lot.
What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.
Hi, I am using OutputCheckPoint and I am storing the value in the data table. The stored value for column:bedroom:"Bed:4" The another value for column:bathroom:"Bath:2 Full,1 Partial" I need only the no 4 from the first column. I need only the no 2,1 from the second column. I used split array,but it also show array(0) has the value"bed:4" ..... Even though I highlight only 4,It is seleting the full value "bed 4".How can I get only the nos Thank you Uma
Hi this is chandra if any one have Navigation of LAB QTP, I want Navigation of those tools, if any one have the and know the Navigation each and every part of the QTP, plz send me my mail naruboinac@yahoo. com,naruboinas@ gmail.com
action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans
What test cases can you automate using QTP?
what is output value in QTP and how it can be used in automation testing
Should have experience in framework means?
How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric
Explain advantages and disadvantages kdf?
Explain the difference between check point and output value?
How many types of actions are there in quicktest professional (qtp)?
Explain the difference between call to action and copy action?
Hi Friends, I worked with 8.2 not with 9.2. Please help me in this prob. I created one script and recorded some think and save as Test 1 then I opened process--open the object repository manager. Switch to file->save->give some name->save as Objectrepo1.tsr file. (This is the global repository file.) Then I went to object repository->tools-> associate repository ->click + icon ->open the previously saved Objectrepo1.tsr file. This is the global repository Now I created one more script and save as Test 2. In this script I am calling script with the Help of "Call of existing action" and I executed but QTP is not able to execute B’cos it is QTP is not able to read the Object Repository of Test 1. Please let me know why? Once I made Script 1 as a shared Obj. Repository so it would not give any Problem. Right?
Hi, how can we check or avoid the memory leakage in QTP9.2?