hi friend this is ramu iam happy to answer u r question .first let me explain what is function the actions which are more repeatable for that we are defyining as in function and we are calling that functions very freequently whereever we want . the main advantage of function is code reasubility
to make use define function first of all make one script with function and run it in qtp to find logical errors and copy that script and paste it in notepad file with .vbs extention again come back to qtp and load that script using
executefile"filepath" u can load this file any where i hope u got the answer
if u have any query please consult me






Reply With Quote