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 |
I have a 10 lines of qtp script, while executing i got an error at line 7 but i dont want to stop the execution i want to continue the execution up to last line and display the test result window, wts the syntax we use?
3 Answers BirlaSoft, Collabera,
Write a script to print below pattern 5 4 3 2 1 5 4 3 2 5 4 3 5 4 5
does test plan is in test strategy or test strategy is in test plan.
How to get align property of the link on web page?
Will QTP Support Japanese Language?
3 Answers Cap Gemini, Infosys,
How do you open adobe acrobat file in QTP and do some testing on that file ?
what type of run time errors you get while you ar edoing rpg program?
How to capture checkbox properties when properties of the object keep changing on relogin to the application.
Mention what are the different types of recording modes in qtp? Which will be used when?
can any one tel ,using simple string a[0]=I a[1]=N a[2]=D like that it go's . . out put i need INDIA help me it's really need full ..
It is a SQL question. Write a query to find top three salaries in an EMP TABLE?
I have 2 Environment variable which holds int. I called into my test and addedup. but output is concatenating the values instead of Sum. Ex. Envi("a")= 10, Envi("b") = 20, c= Envi("a")+ Envi("b"). msgbox c ( Ans.1020). How to overcome this pblm? I used the add fn also..