All the function libraries and recovery scenario are associated to driver test. In the batch run of a set of test cases, at some or other time after recovery scenario gets kicked in,General run error is thrown by QTP on the call to a function placed in .vbs file.
This error is not consistent all the times when a recovery scenario is invoked but is frequent.
The error number is "-2147467259" and the error description is blank.
When i investigated in to this, i noticed that this error is due to loss of link to all function libraries, recovery scenario files associated to the driver script.
This is so strange and i have no clue to crack this. Can you guys give some clue on this type of strange error situations if experienced/come to known??
I have tried with ExecuteFile method but it has a disadvantage that the functions and global variables are limited to witin the test in which ExcuteFile method is used. They cant be used in associated external actions of that particular test.
All the functions which are placed in .vbs file throw this General Run error.
The root cause for this General run error is the placement of Action calls( Runaction calls) in function library file. So when recovery scenario is invoked some how the link/reference between QC & QTP is getting corrupted and hence the run error message is thrown by QTP at a line having a function call as the function is found NOWHERE.