what is the difference between action and function

Answer Posted / raju

1). we enhasing the scripts(Check points, output values)
insert in the action the actions allows but in the case of
functions it doesn't allow the enhasing the scripts.

2). Actions saved into the QTP but functions are saved into
the .vbs file

3). in the case of call copy action it won't reflect into
the child action to parent action but functions it will
reflect in to the child action to parent action.

4). Mainly very important use:
if at all call the Action the particular object information
stored into the object repository but in the case of
function when ever we call the function it doesn't stored
into the object repository.

if at all any wrong let me know.

raju.ippali@gmail.com
9823257761

Is This Answer Correct ?    9 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel

1912


Which environments does qtp support?

685


When to use shared and local object repository?

646


How will you test a stapler?

601


What is checking bitmaps?

561






How do you convert manual test cases to automated test cases?

585


regular expression in qtp standar check point for months from accepting months from january to december only

1487


How many types of run modes are there in qtp?

599


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); }

1748


i want information about API testing and i want info like how process can be done in company? i want added info like coding ,debugging, desing in c.v ? what should add in c.v for eg banking domin? pls any answer my question?

1614


What is method name to compare two XML files.

1545


hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company

1440


What are the different recording modes and how do they work?

624


How can you write the scripts that operate on different objects depending on run-time information?

2126


Does quicktest professional is unicode compatible?

535