Unable to locate blinking button

Hello,

Can any one guide me how to locate blinking element?

Need to automate one Recording functionality where one ‘Record’ button is available. Clicking on it, recording gets started and that button is displayed blinking unless and until user clicks on it again to stop the recording.

Able to click on that button initially but once it started blinking, not able to locate it.

Please guide on this ASAP.

It can not be done by appium if the changes are not reflected in the UI dump( or in XML which UI Automator viewer provides).
You can do it by image comparison-

  1. Take multiple screen shots of the button. (for more accurate result take the screen shot of the button only)
  2. Compare each image with other. if all the image is the same button is not blinking.