fbpx

The handle is invalid on Windows 10

The handle is invalid on Windows 10

Home Forums Ask Expert The handle is invalid on Windows 10

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #32652
    Marco Malziotti
    Participant

      Good evening
      Running this attached script on Windows 7 machine I get the expected result.
      Running it instead on Windows 10, using the same file to load the DataTabel, I get the following error (see attachment “The handle is invalid.png”).
      In both cases, ZapTest 20.0.0 was used by setting in the “Exception handling” section:
      – Sepcific Zaptest error
      – Object not found
      – All script
      – Ignore and continue
      Is it due to the different operating system?
      What do you suggest?
      Thank you.

      #32653
      Sergey ZAP
      Keymaster

        Hello Marco!

        If you need to handle “Object not found” event, you need to use “Object is not found” trigger.
        The one you selected only works with ZAPTEST Run-Time errors.

        If you need to completely ignore an object not found event (without reporting error to the results), you better use FALSE in Exist’s second argument.
        Example:
        Application(“Enjoy20-CartaSi”).View(“Login”).Object(“title”).Exist (10000,false)

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

      Virtual Expert

      ZAPTEST

      ZAPTEST Logo