I need to select yesterday date on Citrix. So I have taken one String variable and saved yesterday date in that variable. Now I need to select the date in Calendar which is image type So unable to select the date. Could you please suggest any solution for this???
If That string variable could be converted into image variable i can pass that image variable in click activity.
Hi @keshav,
If you can get the calendar date UiElement (selector) then you could make it dynamic and inject the string as an variable to this selector. But this depends if you have possibility to get selector.
Probably StoreFront yes? Then your connection to the Citrix desktop is working based on secure RDP connection. My solution with runtime and extension should work but you need to have administrative right to install runtime on citrix workers.
If you don’t have admin privileges the only approach which seems to be reliable is to use Computer Vision activities. They based on OCR and cloud technology but can recognize very well many elements
Try “Click Text”. Click text searches for a text in an image, so basically it scrapes and then with the scrape it clicks the text. For more info, check the below URL. Also, Uipath Academy has a full tutorial on how to automate Citrix.
Click Image - action you can use to click on mostly anything (as long as the image you choose is unique): buttons, menus, text, or even somewhere relative to such an element.
Click Text - it uses OCR to scan the screen of the virtual machine, enables you to extract a specified piece of text and clicks on it (or next to it, depending on your choice).
Select & Copy - is the easiest output method being used in Citrix automation, but works only for selectable text, like text boxes.
Scrape Relative - allows you to scrape just a portion of an image, relative to an anchor.
Tip: For faster automation in virtual machines (such as Citrix), you can avoid using mouse interactions, and replace them with keyboard actions such as navigating with the Tab key, and using keyboard shortcuts to activate different functions of the application.
once I am taking activity as CV Click text and indicating on screen it is taking an image of calendar and always clicks on 12 (Center click) so I guess one thing we can do that we have yesterday date in variable like as of today (in variable 19) we can send “Tab” hotkey 7 times so it can able to select 19. but again problem will be if on tomorrow if we want to select 20 we need to send “Tab” hotkey 8 times and so on…
This also won’t work. once month will change it will click some other date which is in middle like for may month it will clicks on 15 for april its 17 …(its not always 12)