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
What kinds of security (firewalls, encryptions, passwords, etc.) will be required and what is it expected to do? How can it be tested?
i can done the project with QTP in that time i can say how many members in my team size?
What is the pros and cons between QTP and Rational Robot
What is the recovery scenario in qtp?
what is the latest version of QTP? Main difference between 9.2 and 10 version
How many add-ins comes by default with quicktest professional (qtp)?
Have you done batch testing in qtp? If yes how you are doing?
i have doubt suppose iam purly working in manual, when i will get work to do on sql and performence testing? pls any one clarify doubt?
The structure of keyword driven frame work is like a folder structure the different sub folder are 1-functional libray folder 2-object repository folder 3- database folder 4-appliction1.xls 5-initalzation vbs file 6-sequence file 7-driver script 8-test case list file My question is whether these are in a local server machine or in our pc.((whether It like Vss). can u give example of driver script(code)
How you debug your script?
What is keyword driven framework?
Which functionalities of QTP used in banking project?
I AM TRYING PORT CODE FROM WINRUNNER TO QTP AND DON'T KNOW TO HOW TO CHECK THE ERRORS. IN WINRUNNER FUNCTION RETURNS EIGHER 0 OR -1 AGAINST WHICH RESULT CAN BE MADE PASS OR FAIL BUT IN QTP I DON'T SEE FUNCTIONS RETURNING ANY VALUE. APPRECIATE IF ANYONE COULD HELP ME CONVERTING FOLLWOING WINRUNNER CODE TO QTP. set_window("Customer Service"); rc = web_obj_get_text("Summary","#2","#4",ssn,""," ",1); if (rc != E_OK) { report_msg("[GetSubscriberSummary] Could Not get subscriber SSN; rc = "&rc); myRC = rc; } else { ssn = StripBlank(ssn); if (DEBUG) report_msg ("[GetSubscriberSummary] SSN: "&ssn); }
how to idetfy which test cases are automated?who will deside that plz tell me
Hi Samrat, Thank u very much, what u said it is right.