How can I check if an element or window exists using UiPath Studio

0 votes
I want to automate a task where I want to check whether an application window exists or not and based on it perform another activity. How can I do that in UiPath studio?
Mar 20, 2019 in RPA by Priya
26,051 views

2 answers to this question.

0 votes

Hey @Priya, for checking if an UI element or windows exists, UiPath provides an Element Exists activity in which you can Indicate on Screen which element you want to check for and the output will be Boolean (either True or False). So if the output is true which means your application window exists, hence you can perform your desired activity. 

To check whether the Element Exists output is true or false, simply use If activity and perform the tasks based on the output. For understanding it better, follow these steps:

1. Create a Sequence and add an Element Exists activity to it.
2. Now open Notepad text editor.
3. In Element Exists activity, click on Indicate on Screen to indicate the Notepad window.
4. Then drag If activity to check the BooleanOutput (output of Element Exists). If the condition holds true, add Type Into activity to type some text into Notepad. If condition holds false, simply add a Message Box to display "Notepad window doesn't exists".

answered Mar 20, 2019 by Anvi
• 14,150 points
0 votes
Element Exists help you
answered Jun 24, 2019 by anonymous
That's right, I agree with your answer. But can you share some example too?

Related Questions In RPA

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How can I solve this flowchart using UiPath Studio?

Hi RS, I tried to create a ...READ MORE

answered Jul 12, 2019 in RPA by Abha
• 28,140 points
1,583 views
0 votes
1 answer

How can I handle and follow Links Using Web Element in RPA Express?

Workfusion RPA Express version 1.2.0, Web elements ...READ MORE

answered Oct 22, 2018 in RPA by Priyaj
• 58,020 points
1,568 views
0 votes
1 answer

What is Get Jobs activity used for in UiPath Studio?

Hey @Rakesh, Get Jobs Activity can be ...READ MORE

answered Mar 14, 2019 in RPA by Abha
• 28,140 points
3,057 views
0 votes
1 answer

How to format text in notepad using UiPath?

Hey @Rashmi, if you want to automate ...READ MORE

answered Mar 18, 2019 in RPA by Anvi
• 14,150 points
8,206 views
+2 votes
1 answer

How can I display current date in "dd-MMM-yy" format in UiPath Studio?

Hi Shilpa, if you want to display ...READ MORE

answered Mar 18, 2019 in RPA by Pratibha
• 3,690 points
17,192 views
0 votes
1 answer

What is Flow Decision used for in UiPath studio?

Hi Smita, Flow Decision activity is a ...READ MORE

answered Mar 19, 2019 in RPA by Pratibha
• 3,690 points
6,352 views
0 votes
1 answer

How to check if a string exists in datatable using UiPath?

Hi @Ravi, to check whether a string ...READ MORE

answered Mar 19, 2019 in RPA by Anvi
• 14,150 points
17,823 views
0 votes
1 answer

How can I automate drag and drop in a web page using UiPath?

Hi @Manish, drag and drop task can ...READ MORE

answered Mar 20, 2019 in RPA by Anvi
• 14,150 points
7,507 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP