What is the exact difference bet function and action in QTP
Anybody can explain it in detail..Thanks in advance..

Answer Posted / nagk24

Actions and functions both purpose is reusable but there is some technical differences 1.e
1)function can't return multiple values bur action does
2)functions are can use in vb script and qtp but acton only available in qtp
3)functions dint have a object repository concept,bur actions have
4)functions supports backward compatable,bur actions are not
5)action has check point conncept,but functions doesn't

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.

2204


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

1858


What are the different recording modes?

645


Whether qtp 9.0 supports Test director8.0

2226


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

669






Explain how to use QTP to check broken links on a page?

677


How to check feasibility of the appliction?in automation testing?

1574


Explain about the quicktest professional (qtp) automation object model?

661


how to test use the quality control .how to verify the image verification

2661


What is the syntax to call one script from another?

629


On what document base Descriptive programming is written if build is not yet ready ?

977


Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link

959


Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.

2015


They asked by using qtp recording writing scripting

2171


What is recovery scenario in qtp?

673