Click button1

I want to click on No,cancel button but it dosen’t work can anyone tell me how i do it

image

image
this type of error is come

HI @yogitagaikwad2206

Might be there is an delay in the page load. So, can you please use the retry and place the click activity in the retry scop and in the condition block giv ethe check app state and indicate the element that appears once the button is clicked.

In the retry scope give the time as : 00:00:03
No.of retrives as 5

Regards

Hello @yogitagaikwad2206 ,

The selector you’re using seems correct. Can you set the WaitforReady = ‘Completed’ and try again. Check if the page is loaded and “No, Cancel” butoon is visible on the screen.

If page is loading, then try to add some delay in delay before property or add a loop as suggested by @vrdabberu

Regards,
Rohith

@yogitagaikwad2206

  1. Did you ahppen to validate the selector?
  2. Check for page load then click
  3. Use wait for page load option

cheers

this workflow is correct or not?

You may want to use a separate attach browser just for this popup. It might not be a child of your inherited parent selector.

Also check the selector in the UI explorer. From the screenshot it’s hard to see if you wrote it yourself or just picked it. For example there might be leading spaces or   notations in between the text you use as aaname.

Performing a find element or check app state as a delay timer is a bit overkill if the popup always comes, since there’s already a native 30 sec delay in finding the selector. If its occurrence varies you indeed need to validate the existence of the popup first before attempting to click it.

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