How to Catch Error

Hiii,
I’m New for Uipath Studio ,We use Web Application Activity in our Job So I want catch Web Application Error(Warning: Wrong Login Creadential) And print on uipath terminal(output panel ).
Could we Catch Error ?
Please Guide me
Image Pasted at 2022-11-10 12-26 (1)

Hi @ashwini.mali,

After your operations, place an element exists activity and check the upper error message. (Decrease timeout to 5000 etc.)

Then place If , check element exists output result. If element exist, place a get text and get the error message.

After that place a log message and print th error message.

Regards
Ömer

HI @ashwini.mali

Use Get Text or Screen Scrapping to get the error from the webpage

Regards
Sudharsan

HI @ashwini.mali

You can try with Element Exist activity or Text Exist activity or Image exist

Check out the Documentation nd video

https://docs.uipath.com/activities/lang-pt_BR/docs/text-exists

https://docs.uipath.com/activities/docs/ui-element-exists

Regards
Gokul

please tell me steps for above solution

Hi @ashwini.mali

Here is the reference XAML file

ElementExist.xaml (18.2 KB)

Note : You need to update the XAML file based on your website

Regards
Gokul

Hi @ashwini.mali,

Please check the following screenshot.

Regards
Ömer

hii,
I try to Install Package (UiPath.Core.Activities.UiElementExists) for Element Exists Activity but Not found In Package Manager
Please check Attached screen Shot

@ashwini.mali

You are in modern design check this link and enable classic or disable modern design

Regards
Sudharsan

HI @ashwini.mali

Install the Uipath.UIAutomation.Activities and check it Element exist will appear in Activity panel

image

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