Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can we run QTP on virtual machine at scheduled time through VB script.
#11
Solved: 11 Years, 3 Months, 2 Weeks ago
Can anyone help me on this same topic but different issue .....

when i use the same script (mentioned above in this post) for a real machine it works fine but when i try to use the same script for VM i get error permission denied 'create object'
i am using remote desktop for both the machines and I have also changed the Dcomcnfg setting for both but still its not working for VM ....
Please help

Thanks
Reply
#12
Solved: 11 Years, 3 Months, 2 Weeks ago
Code:
Dim App
Set App = CreateObject("QuickTest.Application")
App.Launch
App.Visible = True
Dim QTP_Tests(3)
QTP_Tests(1) = "F:\QTP Projects\urltesting"
Set res_obj = CreateObject("QuickTest.RunResultsOptions")
For i = 1 to UBound (QTP_Tests)
App.Open QTP_Tests(i), True
Set QTP_Test = App.Test
res_obj.ResultsLocation = QTP_Tests(i) & "\Res1" ' Set the results location
QTP_Test.Run res_obj, True
QTP_Test.Close
Next
App.Quit
Set res_obj = nothing
Set QTP_Test = nothing
Set App = nothing
Reply
#13
Solved: 11 Years, 3 Months, 2 Weeks ago
Can someone please help on this... Its very urgent ...
Thanks
Reply
#14
Solved: 11 Years, 3 Months, 2 Weeks ago
this is because of full permissions are not given for the user where u are running qtp
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Loading QRS files at Run time dvkbabu 2 10,016 03-24-2017, 09:04 PM
Last Post: UrmilaSaha
  Running UFT scripts on a remote machine with no UFT installed on the Remote machine anupam4j 0 3,032 01-21-2016, 06:48 PM
Last Post: anupam4j
  Missing Resources, Information Pane, Debug Viewer, Run time Data Table not visible Aurodeepta 3 6,973 05-28-2015, 02:52 PM
Last Post: Aurodeepta
  Object Identification not working on Run Time Ajatshatru 2 3,258 05-06-2015, 07:27 PM
Last Post: Ajatshatru
  Error while adding Object to Object repository at run time SaranKumarV 3 8,642 02-02-2015, 01:40 AM
Last Post: dubeyvin

Forum Jump:


Users browsing this thread: 1 Guest(s)