Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting an error to open UFT using vbs file
#1
Not Solved
Hi All,

Am facing an issue while opening UFT using .vbs file through non-admin

The error is :

"Neither QTP license nor UFT license is installed, can't run QTP Automation"

Can help me on this

Note: The same is working fine through admin
Reply
#2
Not Solved
If ur software is licenced and if u want to open your qtp application using vb script try this concept out.

AOM.

Code:
Set qtApp=CreateObject("QuickTest.Application")

Set qtResultOpt=CreateObject("QuickTest.RunResultsOptions")

qtResult.ResultsLocation="Path"

qtApp.Launch

qtApp.Visible=True

qtApp.Open "path", True

Set objTest=qtApp.Test

objTest.Run qtResultOpt
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to send/pass UFT Run Error Dialog as output value to main driver script lravi4u 0 312 11-05-2023, 03:55 PM
Last Post: lravi4u
  File Chooser on Chrome doesn't work - UFT 15.0.1 Nenna Rosa 1 3,293 10-31-2020, 01:16 PM
Last Post: Ankur
  error when executing an UFT automation script alexalloza 0 1,378 10-30-2018, 06:17 PM
Last Post: alexalloza
  Invalid file error importing xls file Makhado 0 1,179 10-04-2018, 04:33 PM
Last Post: Makhado
  unable to open file-new functionlibrary sirim 2 1,770 03-03-2017, 12:22 PM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)