fbpx

How to execute an application using Zap-fix?

How to execute an application using Zap-fix?

Home Forums ZAPTEST Old Posts How to execute an application using Zap-fix?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #30649
    Curtis Don
    Participant

      Hello Zap,

      Is there a methodcommand in Zap-fix standalone version (Not the UFT add-in) to execute a specific utilityprogram:
      We think also to try to execute it via CMD.

      Thanks.

      #30650
      Sasha ZAP
      Moderator

        Hello CurtisDo,

        Thank-you for your question.

        Basically you can use the following code to execute the app:
        SystemUtil.Run "Directory of the app"

        Or if you want to run first the CMD you can write the following code to execute CMD:
        SystemUtil.Run "C:Windowssystem32cmd.exe"

        Then you scan the CMD window using ZAPTEST (The new name for the Zap-fix Standalone version) and using its objects you write:
        Application("Name of the capture Application object").View("Name of the captured View name").Type "Directory of the app" & "{ENTER}"

        Please contact Zap for further help.

        Thanks,
        Sasha

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.

      Virtual Expert

      ZAPTEST

      ZAPTEST Logo