11-03-2011, 01:40 PM
Hi All,
I guess this might not be possible in VB script. But just checking if by anyway we can achieve this. The requirement is that in our framework, at lot of places ExitTest statement was used for invalid cases or inputs. Now the thought is that we should close the application also in all these cases meaning calling ExitTest should first close the application and then exit the test execution. is there anyway QTP provides us this feature to overwrite the functionality of library functions. I guess no, pl share if you have any clue.
Thanks
Sravanthi
I guess this might not be possible in VB script. But just checking if by anyway we can achieve this. The requirement is that in our framework, at lot of places ExitTest statement was used for invalid cases or inputs. Now the thought is that we should close the application also in all these cases meaning calling ExitTest should first close the application and then exit the test execution. is there anyway QTP provides us this feature to overwrite the functionality of library functions. I guess no, pl share if you have any clue.
Thanks
Sravanthi