Answer Posted / anil
1.Action is a thing specific to QTP while functions are a
generic thing which is a feature of VB Scripting.
2.Action have a object repository, Data table etc
associated with it while a function can't.
3.A function is just lines of code with some/none
parameters and a single return value while an action can
have more than one output parameters.
4.We can write a function in an Action...But in Function we
can't..
5. We can't call an Action in a function, But we can call a
function in an Action.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Where to use function or action?
Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?
By using QTP can we record any log files written by the application which is in execution?
Explain data driven framework?
i am trying to automate yatra.com,in that site, when i go to automate the Leaving from field showing as a WEBEDIT, but when i enter 1 or 2 char, it displaying dropdownlist, i try to use keyboard automation to select the item from that list but it is not possible, can anybody help he. Thans for posting the Answer
If the objects hierarchy is changing from build to build, then how you will handle that condition?
Can you brief the hurdles you faced during Automation testing?
Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?
How we can import data from database?
How to create a standard checkpoint ?
What is the difference between keyword view and expert view?
How many types of recording modes in qtp? Which will be used when?
How qtp recognizes the object?
How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?
What are the types of properties that quick test learns while recording?