Hi let me ask one questin
1.How to use outputof the one function input to the another
function
pls give the script for above
2.what is the purpose of action parameter , how to create it
Answer Posted / sup
Action Parameters can be created in this way:-
Right-Click on Action in Keyword View
Click on Action Properties
Select Parameters Tab
***********Action input parameters*********
Click on "+" and add the input Variables with their
respective datatype and their Values
***********Action output parameters*********
Click on "+" and add the output Variables(o/p Var name)
with their respective datatype
Note- Here there is no Default Value tab
++++++++++++++++++++++++++++++++++
Once you have created Action Output Parameters
write in the Expert View of the same action
Parameter("o/p Var name")="pass"(you can give any values)
************
and then yopucan call this action in any other actions
within same or different test
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Hi, how can we check or avoid the memory leakage in QTP9.2?
How to explain a banking project in interview as a test engineer???
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?
Explain different types of action in qtp?
How to test the login page in different ways in automation testing and i need code?
How to give a call to another action from one action?
Explain advantages and disadvantages kdf?
Explain the qtp test phases.
For which type of project the iterative model is suitable?
What is the limitation to XML Checkpoints?
Connect to QC using AOM.
I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.
Hi, I have 2 dropdown listboxes called region and city/area. It needs to select one region(Santa Clara) and one city/Area (Sunnyvale).So I put this in the for loop and I am storing the Items in the variable called itemname. The regions value will get changed,so I used reg expression for this regions. This is my code Browser("MLSListings.com").Page("MLSListings.com").Link("» County/Area").Click Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Check CheckPoint("regions") ListSize=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetTOProperty("items count") For i = 1 To ListSize-1 Itemname =Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Select Itemname ................. If I run the script,I am getting the following error, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. Any Help? Thank you, Uma
What is the difference between Keyword Driven test and Data Driven test?
How can you give wait up to 10 seconds in qtp?