Closed venkatprassu closed 8 months ago
@venkatprassu try to find any locator available for the search button. If not then jsalocators.searchDescription.sendKeys("Description"+Keys.Enter); try this
@venkatprassu please use Discussions to ask questions
How search records in android automation testing without using mobile keyboard? i am using this scripts public void clickOnSearchOption(){ wait.until(ExpectedConditions.visibilityOf(jsalocators.searchDescription)); jsalocators.searchDescription.click(); jsalocators.searchDescription.sendKeys("Description"); DriverClass.getDriver().pressKey(new KeyEvent(AndroidKey.SEARCH));
But it is not working fine it running fine but display all records along with search name(Description), I think search is not working or enter button is not click. how to avoid this problem? please suggest?