fbpx

cannot launch a windows app with zaptest

cannot launch a windows app with zaptest

Home Forums Ask Expert cannot launch a windows app with zaptest

  • This topic has 5 replies, 2 voices, and was last updated 7 years ago by Kirill Bulatnikov.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #31561
    Dan Hoeger
    Participant

      I’m trying to evaluate Zaptest for our team but when I do the application(“…”).Launch passing the path to the EXE it doesn’t start it. The script thinks it’s started it but the window never shows and we cannot find any of the other objects.

      here is the example script that I have:

      Application(“CefSharpWinForms”).Launch “C:Usersdan.hoegerDownloadsCefSharp.MinimalExample-masterCefSharp.MinimalExample.WinFormsbinx64DebugCefSharp.MinimalExample.WinForms.exe”, “”, True

      If(Application(“CefSharpWinForms”).View(“WinForm”).Object(“Google Search”).Object(“Search”).Exist) then
      Application(“CefSharpWinForms”).View(“WinForm”).Object(“oak”).Object(“SearchTextBox”).Type “zaptest”
      Application(“CefSharpWinForms”).View(“WinForm”).Object(“Google Search”).Object(“Search”).Click
      end if

      Application(“CefSharpWinForms”).Close

      #31562
      Kirill Bulatnikov
      Participant

        Hello Dan, thanks for using ZAPTEST.

        Are you using user with privileges to run this application? Can you launch ZAPTEST as administrator and then try to execute same part of script?

        Thanks,
        ZAPTEST Team.

        #31563
        Dan Hoeger
        Participant

          just tried running as an administrator and get the same result the application doesn’t show up but in the results the launch command has a green checkbox next to it.

          Attachments:
          #31564
          Kirill Bulatnikov
          Participant

            Dan just for the troubleshoot purposes – can you try to “launch” some basic Windows application from System32 folder. For example Notepad or Command Prompt(cmd)?

            #31565
            Dan Hoeger
            Participant

              no trouble launching notepad.exe at all. why would it have trouble launching this particular windows application?

              #31566
              Kirill Bulatnikov
              Participant

                OK Dan seems like it is your application specific issue.
                We have been seen similar issue, please refer topic below:
                https://www.zaptest.com/forum/general/3845-launch-wpf-app-caused-process-starts-in-backgroun

                Hope that helps.

                Thanks,
                ZAPTEST Team

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

              Virtual Expert

              ZAPTEST

              ZAPTEST Logo