What is the exact difference bet function and action in QTP
Anybody can explain it in detail..Thanks in advance..
Answer Posted / sreekanth
Action -> Action is nothing but a script written for certain
function point .
Action types ; Non-reusable , reusable , external
Action may return multiple values .
Action requires its own object repository( requires objects)
Actions concept i restricted to QTP only ..
Function -> it consists of Set of statements written to
achieve a particular task.
Function returns one value.
Functions concept is used all programming
languages,scripting languages.
Types of functions in QTP->Built in ,Local Script,Library
functions.
WIthout using objects Functions can be written ( in
descriptive programming )
| Is This Answer Correct ? | 12 Yes | 8 No |
Post New Answer View All Answers
What do you mean by iteration?
What are the types of object repository?
How to build scripts that access data from external sources?
give me an example where u used good judgement and logic in solving a problem
how to test use the quality control .how to verify the image verification
What is ‘object spy’ and what is the function of object spy in qtp?
What are the advantages of parameterization ?
Suppose you are using shared objects repository in your test and you want to split your present action? At that time shared object repository is single or it’s also splits?
How you calling actions in qtp?
Why bpt?
What does it mean when a check point is in red color? What do you do?
How to remove the associated function library?
I want to grow as a Automation Engineer,Kindly help me in clearing my interview that what interviewer looks for as a Automation Engineer. I am having three years of experience in testing.
I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!
How do you open adobe acrobat file in QTP and do some testing on that file ?