Condition for either

I have automated a report download in web on every Monday,the problem is have to declare a condition for either option.kindly suggest me idea for the below mentioned.

When the bot is running,

-if the web page is logged in,need to download the report automatically on every Monday. or else
-the web page is logged out need to login with respected credentials and then download the report automatically on every Monday.

1 Like

I would use Image Exists Activity, check if some specific image exists (something like LOGIN).
After that i would use IF activity to check if that image exists, if it does then proceed with login, if not then it means you are logged in and proceed with next steps.

if activity is not working showing error.

yes ofcourse this is possible
–we can use schedule option in orchestrator and make it to run on every monday

–while along the process when we try to open the web page to check whether the page is logged in or not we can use either element exists or image exists i.e., if we are able to access the elements in the page as individual elements we can use element exists or if we are able to choose only as image then we can use image exists


–with this element exists or image exists we will be getting a boolean output either True or False, based on which we can decide whether to download the report or to login with respected credentials and then download

Simple isn’t it
Hope this would help you
Kindly try this and let know for any queries or clarification
Cheers @Pavithran_Pandian

Okay Mr.Palaniyappan I’ll check and let you know…

Great
Cheers @Pavithran_Pandian