Answer Posted / siqtp
1.Action is QTP specific whereas Function is VBScript
specific
2.A function can be called from an Action,But an Action
cannot eb caleed from Function
3.Actions can be associated with OR,DataTables etc where as
Functions cannot
4.Actions can be created and stored only from QTP where as
Functions can be created and saved anywhere inside or
outside QTP
5.Functions can be loaded to memory and then execute which
makes the performance of functions better whereas Actions
cannot be loaded to memory
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.
They asked by using qtp recording writing scripting
How to test results for qtp ?
What is the difference in the global and action sheet in qtp?
Explain hybrid framework with advantages and disadvantages?
what is clean sweep?
why should we give deliver good quality software?
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format. Hence, if possible, kinldy mail PDF file to my mail-ID: sushmapokhriyal79@gmail.com
Explain the check points in quicktest professional?
How QA specialist can identify when programmatic descriptions are useful?
How to start recording using quicktest professional (qtp)?
What is the file extension of the code file and object repository file in QTP?
"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...
What is the difference between a Function and Action in QTP?
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); }