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:

enter image description here

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

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -