Hello,
When I use ‘GetText’ Activity Value is properly obtained when value is available. but when value not available then ‘getText’ activity throw the error and my bot stopped.
What should I do If Value not available then get default value.
Thanks
Hello,
When I use ‘GetText’ Activity Value is properly obtained when value is available. but when value not available then ‘getText’ activity throw the error and my bot stopped.
What should I do If Value not available then get default value.
Thanks
Try setting the Continue on error to True and initialize the variable with the default value.

Hey @kumar.varun2
Thank you for help
hey
you should use a try catch activity, and put inside the get text, so if this activity fails the bot wont stop
Regards!
Hi @Vishal_Prajapati ,
The ideal exception handling method that i think will be as follows ,
HAPPY AUTOMATION !!!
Hello @Krishna_547 ,
You can try different approaches here.
If you want to wait for the Get text element to appear, you can use Wait for element exist or you can do it with a While loop with a combination of Element Exists.