In Android One Image Button which change the image when click the button. That issue how to detect in appium. anyone can help me
e.ghttps://www.google.com.pk/imgres?imgurl=http%3A%2F%2Fwww.groovypost.com%2Fwp-content%2Fuploads%2F2012%2F10%2Fwordpress-for-android-buttons.jpg&imgrefurl=http%3A%2F%2Fwww.groovypost.com%2Fhowto%2Fset-up-wordpress-android-smartphone-tablet%2F&docid=MqWbPoWaHbUwtM&tbnid=dOFFBOB3QMyQXM%3A&w=300&h=513&bih=667&biw=1366&ved=0ahUKEwjFleDHytTMAhWJrY8KHeyuDRMQMwgtKBMwEw&iact=mrc&uact=8#h=513&imgdii=dOFFBOB3QMyQXM%3A%3BdOFFBOB3QMyQXM%3A%3BLLsf_AwPDn4wNM%3A&w=300
so if i click on "1" Button. "1" Image button goes to pressed state and change the image. How we test this. that button is selected