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 |
Suppose i have a script which is having 100 lines.I want to execute that script starting from line no 75.means first qtp should read the script from line no 75 how can u do it.
5 Answers Lehman Brothers, rsystems,
how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.
How to capture the Check point Value into a variable?
how to pripare BRS/FRS Document for different projects?
In qtp, explain what is keyword driven automation framework?
How can you give wait up to 10 seconds in qtp?
What are the technologies supported by qtp?
write the code to reverse a string without using Strrev built in function.
we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?
How will u declare a variable to access multiple actions? a)Dim b)Global c)Public d)Private
What are the main differences of qtp and win runner?
Have you used xml check point in your project?