Helo all..I am trying to click on download icon my development was built in cv scope.here the problem is download icon will be available in middle of the page or bottom of the page.
I used send hot key instead of this is there any other solution.
Use a CV Elements Exits to check if the Download button is in the Middle of the screen Inside the Condition part of a Retry Scope. Make sure the output varible for the CV Element Exists is set. The action Part of the Retry can stay Empty. (This will retry to check the existence of the download button in the middle.)
Do the same with middle download button
Now, use an Else If Activity to check the value of the output generated by the CV Element Exists.(middle), if it is true, click it. IF it is False, check if output of CV Element Exits (Botton) is true or not. If true, Click.
Instead of using Send Hotkey, you can use the Click Image activity within CV Scope to click the download icon based on its image, or use the Find Element or Click activities if the icon is a UI element with a stable selector. If the icon is near a stable element, you can use Anchor Base with CV to locate it relative to other elements. Additionally, you can create dynamic selectors using UI Explorer for a more reliable way to click the icon. These methods offer more flexibility and reliability than Send Hotkey.
If you found helpful, mark as a solution
Happy automation