Hi, I’m using StudioX. I’m trying to find a word on a page in SAP CRM webui but the slide bar at the side is not selectable and pgdn doesn’t work. I’ve also tried ctrl+f as a keyboard shortcut but it’s not even bringing that up.
In SAP CRM WebUI, finding a specific word or text within a page can sometimes be tricky if the page’s scrollbar isn’t selectable, and standard keyboard shortcuts like Ctrl+F aren’t working. However, you can try the following steps in StudioX to search for text on the page:
Use SAP CRM’s Built-in Search Functionality:
SAP CRM WebUI often has its own search functionality. Look for a search bar or search icon within the SAP CRM WebUI interface. You may be able to search for the word you’re looking for directly using this feature.
Use UI Automation to Scroll Down:
If the page doesn’t allow you to interact with the scrollbar directly, you can use UiPath’s UI automation capabilities to scroll down. Create a StudioX workflow that simulates scrolling down using keystrokes or arrow keys. Use activities like “Send Hotkey” to send keystrokes like Down Arrow or Page Down.
Use OCR to Search:
As a last resort, you can use OCR (Optical Character Recognition) to capture the visible text on the page and then search for your desired word within the captured text. The “Click OCR Text” and “Type Into” activities in StudioX can be useful for this purpose.
Here’s a basic outline of how you can approach this in StudioX:
Use the “Open Application” activity to open SAP CRM WebUI.
Use a sequence of “Send Hotkey” activities to simulate scrolling down the page.
Capture the visible text using OCR with the “Click OCR Text” activity.
Use string manipulation activities like “Find Text Position” or “String Contains” to search for your desired word within the captured text.
Perform actions based on whether the word is found or not.
Keep in mind that OCR-based text extraction may not be as accurate as native text extraction, so it’s best to use it as a last resort if other methods fail.
Remember to customize these steps based on your specific SAP CRM WebUI application and the layout of the page you’re working with.