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
Post a Comment