What is the difference between functions and actions in
QTP?
Answer Posted / ram balamuri
Action is internal to QTP whereas functions are generic and
are coded in VBscript. The main difference between an
action and a function is that "an actions contains an
Object repository." An action can also be shared; it can
also use different shared reposiroties. A function on the
other hand doesn't have an object repository and is just
merely a code that returns some desired value(s).
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do Parameterization and Data-Driving relate to each other in QTP?
How you can write contexts to text file in qtp?
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..
How to analyzing test results using quicktest professional?
Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?
How can you handle exceptions in qtp?
Are Shared ORs read-only?
Explain in brief about the quicktest professional automation object model?
before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...
How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric
What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)
Call to copy of an action and call to existing action… i know the diff but in real project how to use..? i want live scenario.pls help me..
how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance
Connect to QC using AOM.
Can any one brief some detail on how the shared and action object repository utilized/implemented in a real time project. I already know how to make shared object repositor by saving OR as .tsr extension..I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thanks