i automating android app using appium (java).
have android.widget.videoview
on page , using verifyelementbyclass
, can check whether video view exists on page.
now need check if playing video or not?
how that?
asserting elements pause_button
, seekbar
etc. depicts video being played. according comment :
the pause button seekbar etc coming overlay uiautomator unable capture stays less time
one way perform action tap on android.widget.videoview
, assert
presence of elements overlay present while asserting.
other way have suggested validate if video getting played comparison of screenshots @ different timestamps using ocr yet not implemented in appium. these might of screenshots , ocr-apppium.
Comments
Post a Comment