스튜디오 작성시 문자추출 방법

스튜디오에서 Get Text 이용하여 문자추출하고 변수설정하여 변수에 저장한뒤 추출하여 사용하는데 문자가 없는경우가 있어 스튜디오가 멈춰버리는데 해결방안 있을까요?

Hi @user118

Use element exists and check if activity is present,if it is there use get text else do nothing.

Thanks

Thank you for answer
but ㅣ’m beginner
please explain in detail

Hi @user118

You can try the following

Select continue on error in the get text and set a timeout milliseconds(Both can be done inside property panel Continue on error can find in the top of the panel and timeout milliseconds can find inside + Target )

and give a if condition “Gettext variable is not nothing”
then - use the variable in the process
else - move to next step

Regards
Sudharsan

Thank you for answer
Could you take a screenshot and explain?

@user118

Here is the screenshot

in timeout milliseconds you can give timeout as 1 sec or 2 etc as 1000 or 2000 etc

Regards
Sudharsan

Thank you so much

You are welcome @user118

If you have solved your issue you can mark your solution post so that it will be helpful for others who are looking for answers for same question

Regards
Sudharsan

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.