Micro Focus QTP (UFT) Forums

Full Version: Need to identify whether excel is installed in QTP machine
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Could some one help me to check whether MS office is installed or not in the machine using QTP?
Set oWord = CreateObject("Microsoft.Word")

If it does not throw a error, word is installed Smile
Thanks for the reply basanth.. I have write a script such a way that if excel is installed then it should directly load excel sheet and execute the test case else it should open the sheet with open office..That is I want to provide generic script to open and access external excel sheet..