hi. i just want to know if UI/RPA is capable of programming screen activities. For example, in the web page, there is portion of screen with 2 lines that moves every second, and another portion with 2 lines also and with levels 30, and 70. When 2 lines in first portion intersect with each other, and the second portion’s 2 lines also interacts with each otherwithin levels above 70 or below 30, the button will be pressed.
Hi @rtecctv
Yes, UI/RPA (User Interface/Robotic Process Automation) tools like UiPath are capable of automating screen activities and performing actions based on specific conditions. In the scenario you described, where certain lines on a web page move and intersect, and a button needs to be pressed based on specific conditions, you can use UI/RPA tools to automate this process.
Here’s a general outline of how you can approach this automation scenario using UiPath:
- Use the “Open Browser” activity: Begin by using the “Open Browser” activity in UiPath to navigate to the web page where the lines and button are located.
- Identify the elements: Use selectors or image recognition activities to identify the elements on the web page that represent the lines and the button. You can use activities like “Find Element” or “Image Exists” to locate and interact with these elements.
- Implement a loop: Use a loop, such as a “While” loop or a timer-based loop, to continuously monitor the position and attributes of the lines.
- Check line intersection: Within the loop, use activities like “Get Position” or “Get Attribute” to retrieve the position and attributes of the lines. Compare the positions of the lines to determine if they intersect. If they intersect, proceed to the next step.
- Check line levels: Retrieve the levels of the second portion’s lines using activities like “Get Text” or “Get Attribute.” Compare the levels of the lines to check if they are above 70 or below 30.
- Press the button: If the lines intersect and the levels meet the desired conditions, use the appropriate activities, such as a “Click” or “Type Into” activity, to press the button on the web page.
- Repeat the loop: After pressing the button, continue the loop to monitor the lines and conditions continuously.
- Exit the loop: Add a condition within the loop to check if you want to stop the automation at any point. For example, you can check if a certain time has elapsed or if a specific condition is met.
Hope it helps!!
Yes, UiPath’s RPA (Robotic Process Automation) capabilities can handle programming screen activities, including interactions with dynamic and changing elements on web pages.
→ Open Browser activity to navigate to the webpage.
→ Do While or Repeat Until loop to continuously monitor conditions:
—> Inside the loop:
- Use activities to monitor the intersection of lines in the first portion.
- Use activities to monitor the values of lines in the second portion and check conditions.
- If conditions are met, use the Click activity to press the button.
- Exit the loop once the button is pressed.
→ Properly handle exceptions and errors within the workflow usingTry Catch activities to ensure robustness.
HAPPY AUTOMATION!!