what is the difference between action and function

Answer Posted / bharat

Functions can retun multiple values through arrays
Action can directly throe a value into different varaible
(Output PArameters)

Functions does not have any associateion with
ObjectRepository,Recovery Scenerio,Checkpoints and hence it
need QTP toll to make this assocaition

Actions can be called for multipe iterations
in function u need to write a loop structure to execute it
multiple time

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Will there be any standards or requirements for page appearance and/or graphics throughout a site or parts of a site?

778


How to run an integrated test scenario using Multiple Actions? How to use the QTP Step Generator?

3676


X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?

1749


How to handle the exceptions using the recovery scenario manager in qtp?

752


In qtp is it possible to check broken links of a page?

759


If u r using library files (Instead of Check Points) , How do u do bitmap check ?

1697


How to read a text file from QC using QTP. I would like to do something like this. But instead read a file from QC and NOT from my local drive. Set fso = CreateObject("Scripting.FileSystemObject") Set InputFile = fso.OpenTextFile("C:\test.txt", ForReading) Thanks

2979


Why qtp always start action1 and does not start action?

816


How to create a standard checkpoint ?

725


How does qtp identify the object in the application?

702


Your roles and responsibilities and daily tasks? (As automation tester)

2789


What are private functions in QTP? How they can be called from the function library?

796


How to handle dynamic objects in quicktest professional (qtp)?

720


hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)

1590


How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?

819