@Smitty: Thanks for your inputs. I tried using parent level but still i am not able to proceed further.
pagesourcecode() for ref -
-
1
2
3
<
-
4
5
6
-
7
8
9
-
(+/-)
0
.
Done
@Note: I am able to click the element manually. Verified below xpath,
WebElement loginbtn = driver.findElement(By.xpath("//div[text()=‘Login’]/…"));
//button[@type=‘button’]
//android.widget.Button
//button[@aria-label=‘LoginButton’]/…
loginbtn.click();
@jhaskumar: Before login I am trying to provide user credentials, which is working fine, directly through sendkeys() & even I am able to click on input field. code for username is as below,
WebElement username = driver.findElement(By.xpath("//input[@aria-label=‘UsernameField’]"));
Please suggest.