This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.

WebElement mart_name=driver.findElement(By.xpath("//android.widget.LinearLayout[contains(@resource-id,‘inventory’)]"));
mart_name.click();

Code not working properly but if user unlock the device then code working properly.
Device don’t have any type of lock available.