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..??
Answers were Sorted based on User's Feedback
Answer / pratap h s
Actions are more specific to tool Example QTP
Functions are generic and part of programing language.
Actions in QTP are used to divide the test into different
logical units .
Within actions we can write functions .
but witin functions we cant use actions
we call functions in actions .
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / bfakruddin
Hi Folks,
Here I am giving an efficient data about Actions and
Functions... and when we use specifically...
click here
http://qtptesters.blogspot.com/2009/03/actions-vs-functions.html
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / 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 |
what is difference between Mandatrary proparties and Assistive proparties? Explain
What are different versions in Win Runner ,QTP ,Load Runner and Test Director till now and atleast please let me know new features for each version. Ex QTP8.2,QTP 8.5.QTP9.2 supports Mozilla 2.0
What does Reporter.Reortevent2 does?
I have a login page like username, password and login. I have to pass the 50 user names and 50 passwords but how can i test this page with out using parameters?
I want to open a Notepad window without recording a test and I do not want to use SystemUtil.Run command as well How do I do this?
PLS REAL TIMERS WRITE THE ANS FOR THIS? WHICH SCRIPT IS USED IN REAL TIME NOW A DAYS 1)SHARED REPOSITORY BASED SCRIPT 2)DESCRIPTIVE PROGRAMMING BASED SCRIPT?
How can you pass value one action to another action?
How to find local host name using QTP?
can any body pls mail me latest FAQ's in QTP to my mailid btrintra@gmail.com....Thanks in advance
How will you handle the situation when object is not captured during record?
Explain the concept of how QTP identifies object.
In a page i have N number of links at a time i would like to open those links by using QTP?how to do that?