QTP Script to get Version Number,Folder path of QTP installed in System

Script to get folder path where the QTP is installed in your system.

msgbox environment.Value("ProductDir")

D:\Program Files\Mercury Interactive\QuickTest Professional


Script to get name of product(QTP)in your system.

msgbox environment.Value("ProductName")

QuickTest Professional


Script to get qtp version(No.)installed in your system.

msgbox environment.Value("ProductVer")

8.2

No comments:

Related Posts Plugin for WordPress, Blogger...