Invalid value for Get text output


Hi Team, in my bot, I wanted to check if the url is launched successfully or not. For that, I initially tried to capture an area in the screen via Get text. Now, I tried to specifically check for the ‘Sign In’ text via Get text. In both cases, I am getting value of strsignin as @"(please find in locals panel - left). Below attached is the screenshot for the first case’s selector.

Could someone help me on this?

Hi @SAMANTA_COTTACKAL1

Instead of using the Get text activity to check the URL is launched or not. You can use the Check app state activity and indicate the reference element area to check the logged in or not. In the element appears block insert the activities if URL is logged in, insert the activities in element doesn’t appear block if the its failed in logged in.

It was a best activity to check the URL is launched or logged in.

Note : If you are using the Classic activities instead of using the Check app state activity, use the Element exist activity it gives output as Boolean. Use if condition to check the Boolean.

Hope it helps!!

Hi,

For now, can you try to click icon of strSignin, pointed to by red arrow in Locals panel as the following image?
We can see whole content of the string. (And probably it starts with line break)

Regards,

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