Click activity select dropdown bar on a website

Hey!
I’m doing the assignment where I open RPA Stock Market and with some excel sheets i extract the data and depending on the stock price i buy or sell and it sends me a confirmation email with each purchase. I had already done this whole project from scratch, video’d a runtrough and explained it, and sent in the file as my finals project and now when I was just double checking there’s a bug in the file!

So the project opens up a website that has a dropdown bar with three company names, I used a click activity to press select and then hotkeys down and enter to press the next company in line, it takes the data and sends it, and then loops again to the select bar, presses it, goes down and enter, and so on.
Now when it has looped one time and copied one company name it cant find the drop down bar again, my sanity is quickly slipping away and I don’t understand why it was working and now it’s not. Can someone please help me :smiling_face_with_tear:

@steinunne22,

To select a drop down item use select Item activity. This will work all the time
Click activity and keyboard shortcuts are not much reliable in this scenario.

Thanks,
Ashok :blush:

@steinunne22

  1. First try with select item
  2. if 1 does not work then use click with the name of the company or idx attribute to click each company instead of down arrow
    cheers

you may try to use set focus and put your elements on it

it will bring the element in front of the monitor.

Hey. Not sure if it will help.
Check if you can use a select Item in this case. If it comes around again if this activity will still work
The image shows a "Select Item" pop-up or window with a field to input or drag an element to specify an item to select. (Captioned by AI)

Hi, @steinunne22
Follow the next steps below.
Step 1
The image shows a browser automation setup in an RPA (Robotic Process Automation) tool, configured to interact with a URL containing a stock market challenge, with steps to get all items in a dropdown and set them one at a time. (Captioned by AI)

Step 2
The image shows a sequence in an automation workflow to get all items from a dropdown menu, using the "Get Attribute" activity with the attribute "items" and storing the result in a variable named "strItems". (Captioned by AI)

Step 3
The image depicts a workflow diagram involving an assignment of a variable and a while loop that selects an item based on an index, incrementing until the index reaches three. (Captioned by AI)

Step 4
The image is of an automated workflow in a visual programming interface that clicks on an "XOM" button and then increments a variable called "intIndex" by one. (Captioned by AI)

Here is the UiPath project
Main.zip (110.0 KB)