What is the difference between Action and Function.? when
both has the same functionaltiy, when do we choose Action
and when do we choose Function..??
Answer Posted / nath t
Major Differences:
Functions: Function returns only one value. it doesn't has
Object repository.
Actions: Actions has Object repository. It returns more
than one value (i.e Output parameters). We can declare
more than one Output parameter.
we can call Function in any Actions in QTP test. But Action
is not like that we have to mention that as reusable action
in Action Properties.
we can store Functions in .VBS file. but Action we cann't
store like this way.
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?
Explain how qtp identifies object?
Explain in brief about the qtp automation object model (aom).
give me the code to save all messages of inbox of gmail into a folder and notepad
How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box
What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?
how to download mercury qtp9.2 ny internet ?
Hi, I am supposed to automate mainframe application through qtp. I do not know how to start abt it. Can you plz help me in first initializing the process or do you anybody have a guide book or a link which guides me through the process of automating the mainframe applications and things involved in it.
How will you test a stapler?
In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail
Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?
how to convert 100 into hundred repees only and viceversa
How many lines of code in each script of QTP?
What is checkpoint in qtp?
I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?