Could Not find UI element

Hi, I am pretty new to Uipath. I wanted to create web automation,

  1. Create one excel with the name Company Names.xls in the same format as added in one of the sheets of this excel.
  2. Open Google Page
  3. Search for the company CEO’s name
  4. Fetch the name and Date of Birth from Google and save it to excel.

I have successfully created this in Uipath studio "modern version "but when I try it out in classic - it keeps throwing me errors.

The application runs and types the first row in the serach bar and stops.


Then shows this error:

22.4.0+Branch.master.Sha.0d4d7d3b0782bfa991b5e27402aa6a5cc826af0f

Source: Type Into ‘INPUT’

Message: Could not find the UI element corresponding to this selector:
Here’s the file.

Main.xaml (13.9 KB)

1 Like

because you are using open application and it does not let you specify the url

replace open application with open browser

  • set browser type = EDGE
  • set url = your url
  • move the foreach from open application to inside open browser
  • delete open application

Hey @manojj.yadav

It looks like the cls attribute is causing the issue.

But still, I just want to know which UiFramework did you use when you frame the selector?

Because for web apps it always you use proper html based selectors instead of wnd based.

Thanks
#nK

Why would you “try it out in classic?” There’s no reason to do that. Leave it on modern.

1 Like

Unfortunately, My company wants me to learn in classic.

Hi, thanks for the reply. I forgot to remove the application block, but still when I try it in using open browser it wont work. It’ll type first two rows and then stops.

it will type -
Apple ceo and dob
Google ceo and dob

Stops…
There are 5 rows in the excel

Here’s the screen snap, I have just tried to type into the search bar.
Screenshot (9)

I have given the URL as " " because I have to search it in google and I have already set the default browser in edge as google. So it should start typing the text from excel. (It only types up to 2 rows and says UI element cannot be found as I said above).

And When I check the selectors in Uiexplorer the validate button will be red, even though I correctly set it (green) previously.

I am still new so probably the default one. I have to learn Reframe work after doing this.

can you upload the xaml here?

1 Like

Main.xaml (9.1 KB)

I haven’t completed the task, I tried to check whether it’s able to type into the search bar or not before moving forward, here’s the file.

1 Like

in the “Type into” activity, untick the 2 attributes i marked

the issue is because after you search a CEO the title/name changes from “New tab…” to something else…

1 Like

Thanks. It works.

1 Like

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