I have managed to setup dotnet project and started writing a basic login test for a mobile the app i am testing.
When i viewed in UI Automator View the Username and Password field has same class name
I have managed to type the username but i am struggling to find the exact location of the password field to type the password using "sendkeys".
I have tried different methods like:
IWebElement element = driver.FindElementByXPath("");
element.Click();
element.SendKeys("password");
pswrd.SendKeys("password");
And
Dictionary coords = new Dictionary();
coords.Add("x", 35384);
coords.Add("y", 785429);
driver.ExecuteScript("mobile: tap", coords);
Nothings works for me.
Can any one help me please? Thanks