what is diffrense between action and function
Answers were Sorted based on User's Feedback
Answer / kiran
1. Action is associated to object repository where as
function is not assocoiated to any repository and contains
only vb statements
2. Action can return multupla values where as function can
return single value
| Is This Answer Correct ? | 6 Yes | 5 No |
Answer / mahaboob
Action is a qtp tool feature,we can use checkpoints in actions,As it is a qtp tool feature it may corrupt and Actions are slow execution.
Function is a vbscript feature,we canot use checkpoints in functios insted of functions we can use Loops and conditional statements,functions are fast execution compate with actions.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / giridhar
1 Action is the Local source.its may hav small script
in action we can use only recorded identifiers.
2 Function is the Outer source.its may hav more script
| Is This Answer Correct ? | 0 Yes | 2 No |
What is FRAME WORK? How many Frameworks can QTP supports?
hi to all, i need a code.. in flight application 1.i need to login first then i need to insert 3 new orders... 2.i have to log out 3.i have to login again with different user 4.need to insert 2 new orders 5.then need to log out 6.then again login with different user 7.3 new orders create and log out 8.but we hv to do this using data table and actions please help me
Hello! i am having two comboboxes.Each having 10 items in it.when i select first item in first combobox,it is not similar in the second combobox.for ex in first combo if it is Hyderabad,in second it should be some chenai or some other item .Write a VBSCRIPT for that?
Extract a word from a sentenece?
How to give Table check points?
How to Close all browsers in reverse order.
in how many ways you perform batchtesting?
How to capture a window in qtp or how to take snapshot of any window while writing script in qtp
Difference between test object and run time object?
I have multiple radio buttons i need to select a radio buton and i dont want to hard code i have a generic function for it there i have used select#0 so it selects first radio button but for other script i want to select the 4th radio button how i can make it still more generic
4 Answers Accenture, Acentia, LM,
How do we handle run-time errors?
Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks