fbpx

Running a Test

Running a Test

Home Forums Ask Expert Running a Test

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31474
    Bruce Spring
    Participant

      In the Tutorials (I haven’t watched them all), the script starts with starting the web browser, a program. I created my own test script for WPF app and it starts up the program.

      Can a test script be run against an application that is already running and on the screen I want it on? If so what is the process?

      There is a program called SOTI that connects to Hand Held Terminals (Barcode readers) and displays their screen. One can interact with the barcode reader from one’s PC instead of dealing with the barcode reader’s screen. In my case SOTI will be up and running and connected to the HHT. I want to run the Zap script once there is a connection and not make the connection part of the script. One problem is that SOTI doesn’t always connect with the HHT the 1st time. It can take several iterations.

      Thanks

      #31478
      Sasha ZAP
      Moderator

        Hello bruce.spring,

        Basically if you do not use the “Launch” method (Application(“Application”).Launch) you can run the test upon any foreground opened app (But first be sure to use the objects of this app).
        You can also set a condition using the method “Exist” to start your test once the required application is up and running.

        Thanks,
        ZAPTEST Team

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

      Virtual Expert

      ZAPTEST

      ZAPTEST Logo