Many a times when you are writing your test scripts, you might encounter some lines of code that need to be executed multiple times during the course of the script. Rather than repeating the same code in your script multiple number of times, the common practice is to create a function for it and call
Part 7: QTP and VBScript | Writing Sub Procedures & Functions in QTP
March 3rd, 2012 | Posted by in qtp and vbscript tutorials | QTP Tutorials for Beginners - (33 Comments)Difference between Call Statement and normal Function Call in QTP
September 4th, 2011 | Posted by in QTP Concepts - (5 Comments)Call is a VBScript Statement that transfers control to a Sub or Function procedure. The syntax of Call statement is – [Call] functionOrSubName [Argument(s)] where, Call is the optional keyword, functionOrSubName is the name of the function or sub to be called, Argument(s) is the comma-delimited list of parameters.