android - Setting the month August on datepicker in Xamarin UITest -
i creating automated tests android app using xamarin uitest , have come issue entering month "aug" (august) number picker input of date.
using repl(), have below:
app.entertext(x=>x.id("month"), "aug")
when doing this, result on screen "apr" , looks typing letter "a", month automatically presumes "apr".
the tree view following:
can please assist? how set month august on number picker input?
the internal value of numberpicker
number, invoke "setvalue" method of widget , assign "month" need:
app.query(x=>x.id("month").invoke("setvalue", 7));
note: when using invoke
, use java method name, not c# one.
Comments
Post a Comment