액티비티 실패시 동작

특정 액티비티가 타켓을 찾는데 실패했을때 화면 전체를 캡쳐해서 메일로 보낼방법이 있을까요?

Hey @user118 ,
You can use “Take Screenshot” Activity to Capture the screen.
(“스크린샷 찍기” 활동을 사용하여 화면을 캡처할 수 있습니다.)

image

Regards,

답변에 감사합니다.

조건을 특정작업의 타켓 검색 실패시로 설정할수있나요?

@user118 ,
Yes you can .
You can use “Element Exist” Activity to check whether you are getting the Proper output if not you can put an if condition and put if element is not exist then u can add take screenshot activity Like below

You can even use Try catch activity

  1. In try section add your activity which might fail to find the target.
  2. in catch section use Take screenshot activity
    3.Then add send SMTP Mail message activity in the Catch section and you can be able to send the mail message aswell

Regards,