Results 1 to 2 of 2

Thread: Schedule QTP

  1. #1

    Schedule QTP


    I want to schedule QTP execution when there is no one able to attend the same, hence i created a vbs with following code,the code does open QTP and executed but it does not read data from excel...can any one help with this

    Set App = CreateObject("QuickTest.Application")
    App.Visible = True
    App.WindowState = "Maximized" ' Maximize the QuickTest window
    App.ActivateView "ExpertView" ' Display the Expert View
    App.open "D:\AUTOMATION_FRAMEWORK\Scripts\Framework"
    'App.open "D:\AUTOMATION_FRAMEWORK\Scripts\Framework",Fa lse
    Set qtTest = App.Test

    Set objResultsOptions = CreateObject("QuickTest.RunResultsOptions")

    'objResultsOptions.ResultsLocation = strPathname


    qtTest.Run objResultsOptions



  2. #2

    Re: Schedule QTP

    please make sure that the path is correct. if you have used any in-built function that locates/generates the path then make sure that the parents folder from where it is called!

    test the piece of code first , prior inserting in into the famrwork code

    happy coding!
    "life is simple if you can see both sides of a coin" - by me



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
BetaSoft Inc.
All times are GMT -8. The time now is 04:01 PM.

Copyright BetaSoft Inc.