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

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -