In mobile app(android), we have a Date control of class android.widget.spinner type.
After selecting the value from this control, I tried to get the value using selenium code
driver.findElement(By.xpath("//*[@resource-id='dttDate']"))).getText();
But the above code giving blank value.
Can some one help how to get a value from android.widget.spinner control.