You can read difference between action and function in qtp. 5An Action is a feature of QTP while Function is a VBScript feature. Pages Frames WebRadioGroups etc. So Lets start with actions. Read also function and difference between action and function in qtp QTP Actions-Action is specific to QTP and not the part of vbscript.
It opens as a new tab in QTP. VBScript Sub Procedures-A Sub procedure.

Examples Of Actions In Uft Uft Qtp Training Tutorial 7 17Procedure is further devided in two types - Function Sub.
| Topic: Can be used with and without parameters can return a value. Examples Of Actions In Uft Uft Qtp Training Tutorial 7 Difference Between Action And Function In Qtp |
| Content: Analysis |
| File Format: DOC |
| File size: 1.5mb |
| Number of Pages: 4+ pages |
| Publication Date: December 2021 |
| Open Examples Of Actions In Uft Uft Qtp Training Tutorial 7 |
Loadfunctionlibrary - Loads the specified function library when this step runs Executefile - Executes a vbs file.

The difference between a function and a sub is that a function can return a value but a sub cant return any value. It does not return any valuesFunction collection of Vb statements in QTP It returns single value. Action is internal to QTP whereas Function is just lines of code with somenone parameters and a single return value. Please refer article 21 a detailed explanation of these. Step 3 Immediately the script is auto-generated to show that the copy of an action is inserted. Actions have their own Datatables and OR but functions dont.


FOLLOW THE Phone Capital AT TWITTER TO GET THE LATEST INFORMATION OR UPDATE
Follow Phone Capital on Instagram to get the latest information or updates
Follow our Instagram