Uses of Class
com.hp.lft.sdk.te.Area
Packages that use Area
-
Uses of Area in com.hp.lft.sdk.te
Methods in com.hp.lft.sdk.te with parameters of type AreaModifier and TypeMethodDescriptionReturns the Text from the specified screen rectangle.ScreenBase.waitForText
(StringProperty text, Area area) Waits for a specified text to appear on the emulator screen before continuing the run session.
Example 1:
The following example uses the waitForText method to wait 10 seconds for a string defined as regular expression, for example: CH70001 LAST ACCESS AT 14:27:07 ON THURSDAY:
waitForText(new RegExpProperty(@".*LAST ACCESS AT \d\d:\d\d:\d\d ON .*DAY.*"), new Area(3, 1, 3, 80), 10000)
Example 2:
The following example uses the waitForText method to wait 5 seconds for a string, for example: "User":
waitForText("User", new Area(3, 1, 3, 80), 5000)ScreenBase.waitForText
(StringProperty text, Area area, long milliseconds) Waits for a specified text to appear on the emulator screen before continuing the run session.ScreenBase.waitForText
(String text, Area area) Waits for a specified text to appear on the emulator screen before continuing the run session.
Example: The following example uses the waitForText method to wait 5 seconds for a string, for example: "User":
waitForText("User", new Area(3, 1, 3, 80), 5000)ScreenBase.waitForText
(String text, Area area, long milliseconds) Waits for a specified text to appear on the emulator screen before continuing the run session.
Example: The following example uses the waitForText method to wait 5 seconds for a string, for example: "User":
waitForText("User", new Area(3, 1, 3, 80), 5000)