IBM Business Automation Community Come for answers. Stay for best practices. All we’re missing is you. Join / Log in Ask a question
Hi all, I am trying to make an automation by clicking on Autodesk Revit app. However, it wont click at the desired position, and I am trying to click the 'SMARTreview' button. I have tried using the recorder to map the the button, and it still won't work. Could anyone help me on this? Thanks!
If you are having trouble automating clicks on Autodesk Revit, here are a few suggestion you can try to troubleshoot the issue:
Use image recognition: If the button you are trying to click on cannot be easily located using traditional UI elements, you can try using image recognition to locate the button. You can take a screenshot of the button and use the "Find Image" action in IBM RPA to locate the button on the screen.
Adjust the click position: If the button is located but your automation is not clicking on the correct position, you can try adjusting the click position by specifying the X and Y coordinates of the button. You can use the "Click" action in IBM RPA to specify the X and Y coordinates of the button.
Thank you for the suggestions.
For solution 1, I have mapped my control using the Control tree, however it still won't work. The error message wrote 'Couldn't find element with the element Name and Id specified', even though I got all of the element parameters from the control tree.
For solution 2 and 3, I've also added control image and the position for the "Click" action. However, as the selectors are still a required parameters for the Click action, hence it didn't work too.
I've also tried using "Click by OCR" command, which should be pretty accurate since I wanted it to click on the exact 'SMARTreview' text. However, the command also requires selector parameters, so it won't work too (also shows can't find the elements with Name and Id specified)
I think the main problem is that maybe Revit is not using the Windows GUI that is supported by IBM RPA (Supported application documentation), hence it couldn't find the specified elements. I wish the Click command could be used only with image (plus image anchor as the required parameter), rather than making selector parameters a required thing.