Help with Web automation bot

Hi Experts - Looking for some guidance here.
I am building a bot on 3 unique urls (that needs to run in parallel as its time sensitive)
Each urls will have an input box which will only appear at a certain time, for e.g. the box will appear at 9 am
I need to insert a value, click enter and a pop will appear to confirm the value.
My question is, I am planning to use parallel activity to open all 3 in different browser (Chrome,Edge and Firefox/Safari), what would be the fastest way to insert value in the box as soon as it appears? Will “Find Element” be quicker or “Element Appear”
Also, can this be run as headless automation since there is pop-up involved?

1 Like

Hi,

  1. Find Element:Waits for the specified UI element to appear on the screen (to be in the foreground) and returns it as a UiElement variable. If you want to find out if an element is enabled or not, please use activities such as Get Attribute or Wait Attribute , coupled with the aastate attribute, for example.
  2. Element Appear:A container that waits for a UI element to appear and enables you to perform multiple actions within it

So basically, it depends on logic. both will work or respond within same time

Pls mark it as solution if it solves your issue.

Thanks

2 Likes

Hi @Mchande,

Regarding the fastest way to insert the value, you can use the “Type Into” activity to input the value in the input box. This activity can be used with the “Element Appear” activity to ensure that the input box is available before inputting the value.

As for the pop-up, it depends on the type of pop-up. If it’s a standard browser pop-up, you can use the “Click” activity to click the “OK” button. If it’s a custom pop-up, you may need to use the “Find Element” activity to locate the pop-up and then use the appropriate activity to interact with it.

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