c# - TestStack.White does not return element properly -


i'm trying 2 editboxes main application after start. window.getmultiple() returns me 1 editbox. there method wait element appearance?

editboxes don't have automation id or text.

you can use retry function wait until 2 edit boxes appear:

    retry.for(() =>     {         var editboxes = window.getmultiple(criteria);         assert.areequal(2, editboxes.length);     }, timespan.fromseconds(10)); 

Comments

Popular posts from this blog

wireshark - USB mapping with python -

c++ - nodejs socket.io closes connection before upgrading to websocket -

Deploying Qt Application on Android is really slow? -