Clcik Button exception

Even though the element is clicked, still log message is showing clicked, and throwing error for next element.
all try catch block is used

I didnt get this buddy
kindly elaborate pls
Cheers @KarthikBallary

You given clicked activity,
followed by a log message. Clciked on button
it is displaying log messgae but not cliking on the element
even if this is written in try catch block still not going to catch block

put “element exist” activity , whose output will be Boolean , trace it in log message …u will be able to know exactly those ui elements were available at that moment or not .

i hope the sequence is like this
Log Message activity - with message like “Clicked”
Click Activity

Then even if the element is there or not the log message will display as Clicked and we will come to know only when the click activity is executed

so to be precise have sequence like this
–use ELEMENT EXISTS activity and choose that element as element and get the output with a variable of type boolean named bool_exists
–then use a IF condition like this
bool_exists = True
and if the above condition is true it will go to THEN part where we can use a log message like this
“Element Exists”
–followed by that we can use a click activity and choose the same button as element and if would work for sure
if the above condition fails it will go to ELSE part where we can have a log message like this
“Element doesn’t exists”

hope this would help you
Cheers @KarthikBallary

It will show true

so were we able to click on it now

Cheers @KarthikBallary

even though element is not there it is showing true

in the element exists activity set the WAITFORREADY property as COMPLETE

File Not found exception is not going to catch block

directly throwing error