Hi,
Thanks for the reply. As you told I am constructing the xpaths manually. This was not my problem.
I am using tablet here. My problem is that the above overlay(panel), which has 'My Profile', 'Privacy policy', etc is not identified in UI Automator viewer. But it's background is identified. Since the overlay is not recognized, the nodes are not shown. So I am unable to construct the xpaths and unable to interact with this overlay through automation.
FYI, it is working in phone.
Any kind of driver.switchTo.window("...") needs to be used?.
Thanks,
Vincy.