I used the ‘Element Exist’ to check if there is a specific button that appears on the website.
However, it only worked correctly only the times that I just indicate the element on the screen.
I tried several browsers (IE, Chrome and Firefox), and they all had the same issue.
The Studio did NOT throw any errors, just showing the else condition that ‘There is NO XYZ button’.
I am new here with the UIPath, could anyone guide me what I need to be considered about this issue?
Just to answer @Srini84 that
" It is a public website. Just wanna try if I could place an order with Uipath."
Also @mohammedsameer.ali1@NIVED_NAMBIAR and @Pradeep_Shiv, Please kindly find the attached screenshot and the selector below,
I tried the steps what @mohammedsameer.ali1 have suggested, with and without logging in.
As it turned out that somehow without logged-in user, the robot works fine which I am not quite sure that it is relevant.
My selector for the ‘Add To Cart’ button is
<html title='*' />
<webctrl id='add-to-cart' tag='BUTTON' aaname='Add to Cart' innertext=' Add to Cart ' idx='1' />
For the rough idea about the programme,
I’d like to create a sequence of placing the order on the Website that the product is now ‘not available’. The product | The expected position for Add To Cart Button
As a result, I need to check if the ‘Add to Cart’ button exists, then continue placing the order.
At the moment, the selector seems to work well without logging in the user.
I will work on that, and thanks so much for your help and please let me know if there is any advice or ideas what happened with the previous errors.