Which timeout and propertie should I set so that I’m sure the click on an Internet page, in a notification bar, performs well and with success each time?
Sometimes works, other times no.
can youb help me?
It’s urgetn.
cami
actually it looks good buddy
make sure that this click activity is placed inside a attach window activity
–even better we can use element exists and choose this popup as element and get the output with a variable of type boolean
–use a if condition and validate whether the boolean is true or not
–if true then use a click activity within attach window and it would work for sure
Cheers @CamiCat
@CamiCat
unfortunately I dont have it with me now. That you dont have to wait too mucht time I would encorage to implement the screenshot by your own. The output from the get Attribute is the Variable NotificationDisplay
Thank you @ppr.
Which are the rules for click activities performing well in every condition, not only for notification bar?
Which Waitforready property should I set and Timeout?
Thank you so much,
Cami
Thank you @ppr.
Which are the rules for click activities performing well in every condition, not only for notification bar?
Which Waitforready property should I set and Timeout?
Thank you so much,
Cami
@CamiCat
Sorry for my delayed answer. currently i am on a business trip and only partly reachable.
Once the download is synced with download prompt then the click activities are coming into the picture. I made the best results with:
dont use with simulate click
in case of clicks are too fast fired, check with a delay before 1000 - 5000 ms
the higher value is only for checking the situation, is not the solution
sometime i stabilizied by clicking before on the triangle to expand the save, save as option
then get synchronized with the fully download state e.g with same logic endless loop triggered on the message that download was done.
This tricks with endless loops are helping much for slow systems or log running downloads. And alternate to this could be retry scope activity to find a final end.
Combining all would be an option as well like sync on prompt bar. repeat click actions e.g. download is not starting etc
Fine
sorry for the delayed response
–kindly ensure these stuffs are covered like the click activity must be used with these properties enabled
–simulate click or to make it bit slower we can use sendwindowmessage property as sendwindowmessage property enables us to run in background but in bit slower pace when compared to simulate click
–and wait for ready property set as COMPLETE this will ensure again that unless the whole page uielements gets loaded completely or the one which are there in the selector gets loaded completely then only the click will initiated
–i would suggest to avoid DELAY BEFORE in the property of click activity or DELAY activity been used explicitly because thats not actually a good practice and it will slow down the performance
–rather we can use ELEMENT EXISTS ACTIVITY before click and ensure that element exists and from there on we can click without any hindrance
even in that activity make sure that waitforready property is set with COMPLETE
–and finally if its getting inside any new window then use attach window activity
basically we will getting the TIMEOUT error due to this only because the bot wont be able to identify the elements and the window attached with it is not mentioned, so if we have added that attach window activity the bot would be able to find the element in the application being foreground
thats all buddy you are done
hope this would help you
kindly try this and let know for any queries or clarification
Cheers @CamiCat
@CamiCat
your question is valid we focused on reliability. Especially when the application to automate is understood in its reactions, then go for a try for simulate click etc. Once you are facing issues, then we are here for help.
May I ask you to give us some updates on the results from your next implementation round? Thanks
Hello @Palaniyappan,
i’m using explorer and need to perform clicks on explorer pages.
Need to be able to work in background, with screen locked.
I noticed also that sometimes it is necessary to refresh browser page.
Can you give me advices?
Thank you,
Cami
Fantastic
–then the main thing we need to concentrate is on attach window activity or attach browser activity
–because sometimes the bot may not be able to find the element in the screen if it relies inside a window inside a browser
or
–if its not inside any new window within browser (including small popup is considered as a new window) then we can use attach browser activity within which we can include our CLICK ACTIVITY
–and finally to ensure that it works in background, we need to enable typically either SENDWINDOWMESSAGE or SIMULATE CLICK
i would suggest here (especially for your scenario to go for SENDWINDOWMESSAGE property because it will be bit slower when compared to simulate click property and it would help you in your case ensuring the robustness in the process and also sometimes, some application may not take the simulate click while those applications will surely take window messages sent to them by default
–to refresh browser we can use REFRESH BROWSER activity
and we can use this especially inside the catch block when any exception occurs so that it would refresh again and place the whole sequence that we have in the TRY block next to this refresh browser activity inside the catch block so that process will get executed again
–or we can even have it in our process in TRY block as well based on the requirement