Class SharedSteps
- java.lang.Object
-
- com.redhat.devtools.intellij.commonuitest.utils.steps.SharedSteps
-
public class SharedSteps extends java.lang.ObjectSharedSteps provides a collection of utility methods that can be used across the entire IntelliJ platform. These methods facilitate common automation steps that can be reused in various test scenarios.
-
-
Constructor Summary
Constructors Constructor Description SharedSteps()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidwaitForComponentByXpath(com.intellij.remoterobot.RemoteRobot robot, int duration, int interval, com.intellij.remoterobot.search.locators.Locator xpath)Waits for a component to be visible within the IDE's UI hierarchy based on the provided XPath locator.
-
-
-
Method Detail
-
waitForComponentByXpath
public static void waitForComponentByXpath(com.intellij.remoterobot.RemoteRobot robot, int duration, int interval, com.intellij.remoterobot.search.locators.Locator xpath)Waits for a component to be visible within the IDE's UI hierarchy based on the provided XPath locator.- Parameters:
robot- The RemoteRobot instance for interaction with the IntelliJ IDEA UI.duration- The maximum time to wait for the component to become visible, in seconds.interval- The interval at which to check the component's visibility, in seconds.xpath- The XPath locator used to find the component within the UI hierarchy.
-
-