Trouble with waiting until desktop app is opened and splash screen is finished

Hello,

I have a problem! Our software we want to test is complex and has a splash screen. We can bypass this screnn with the help of this post:

Now we draw a test, the problem is that WinAppDriver does not wait until the software is opened and the splash screen is finished. This means that the elements that should be tested are not found.

Is there a piece of code that can be inserted in the script to solve the problem?

Thanks

we know that there is a method
https://docs.katalon.com/docs/create-tests/keywords/keyword-description-in-katalon-studio/windows-keywords/windows-click-element-offset

In this one can wait for an element, however, this also does not work.

Add this to your Windows Desired Capabilities:
ms:waitForAppLaunch and the time you need to wait your app ready to test

Yes that helps to start a record at all!

But as soon as I play the record comes

POST /session/F487FED7-4E76-4534-A745-4AD8D8B37E24/element HTTP/1.1
Accept-Encoding: gzip
Connection: Keep-Alive
Content-Length: 41
Content-Type: application/json; charset=utf-8
Host: 127.0.0.1:4723
User-Agent: selenium/3.141.59 (java windows)

{
}, “using”: “name”,
}, “value”: “help”
}
HTTP/1.1 404 Not Found
Content-Length: 139
Content-Type: application/json

{“status”:7, “value”:{“error”: “no such element”, “message”: “An element could not be located on the page using the given search parameters.”}}

Is that because he does not wait when starting the recording?

THX it runs
we must start the test with
grafik

1 Like