Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need to identify whether excel is installed in QTP machine
#1
Solved: 10 Years, 10 Months, 3 Weeks ago
Could some one help me to check whether MS office is installed or not in the machine using QTP?
Reply
#2
Solved: 10 Years, 10 Months, 3 Weeks ago
Set oWord = CreateObject("Microsoft.Word")

If it does not throw a error, word is installed Smile
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply
#3
Solved: 10 Years, 10 Months, 3 Weeks ago
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..
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Could not create Java virtual machine TangShake 2 8,657 10-26-2017, 11:41 AM
Last Post: walshmagger
  machine lock unlock uft_usr 0 1,760 06-21-2016, 09:52 PM
Last Post: uft_usr
  cannot create java virtual machine on QTP 12.02 version richa5685 0 1,973 02-23-2016, 11:18 AM
Last Post: richa5685
  Not Able to installed QTP 10 sandipanasane 1 1,589 12-25-2013, 03:02 PM
Last Post: sandipanasane
  Installing QTP -Freeware on Multiple Machine sangi 1 2,810 06-11-2013, 06:13 PM
Last Post: Ankur

Forum Jump:


Users browsing this thread: 1 Guest(s)