|
| 1 | +*** Settings *** |
| 2 | +Resource ../resource.robot |
| 3 | + |
| 4 | +*** Test Cases *** |
| 5 | +Wait Until Element Is Visible |
| 6 | + [Tags] Known Issue Internet Explorer |
| 7 | + [Setup] Go To Page "javascript/delayed_events.html" |
| 8 | + Run Keyword And Expect Error |
| 9 | + ... Element 'hidden' not visible after 10 milliseconds. |
| 10 | + ... Wait Until Element Is Visible hidden 0.01 |
| 11 | + Run Keyword And Expect Error |
| 12 | + ... User error message |
| 13 | + ... Wait Until Element Is Visible hidden 0.01 User error message |
| 14 | + Wait Until Element Is Visible hidden 2 s |
| 15 | + Run Keyword And Expect Error |
| 16 | + ... Element 'invalid' not visible after 100 milliseconds. |
| 17 | + ... Wait Until Element Is Visible invalid 0.1 |
| 18 | + |
| 19 | +Wait Until Element Is Visible with locator and error arguments |
| 20 | + [Tags] Known Issue Internet Explorer |
| 21 | + [Setup] Go To Page "javascript/delayed_events.html" |
| 22 | + Wait Until Element Is Visible hidden error=My error message |
| 23 | + |
| 24 | +Wait Until Element Is Visible with locator only |
| 25 | + [Tags] Known Issue Internet Explorer |
| 26 | + [Setup] Go To Page "javascript/delayed_events.html" |
| 27 | + Wait Until Element Is Visible hidden |
| 28 | + |
| 29 | +Wait Until Element Is Not Visible |
| 30 | + [Setup] Go To Page "javascript/delayed_events.html" |
| 31 | + Wait Until Element Is Not Visible id:hide_delay |
| 32 | + Wait Until Element Is Not Visible id:not_present timeout=3 |
| 33 | + |
| 34 | +Element Should Be Visible |
| 35 | + [Setup] Go To Page "visibility.html" |
| 36 | + Element Should Be Visible i_am_visible |
| 37 | + Run Keyword And Expect Error |
| 38 | + ... The element 'i_am_hidden' should be visible, but it is not. |
| 39 | + ... Element Should Be Visible i_am_hidden |
| 40 | + |
| 41 | +Element Should Not Be Visible |
| 42 | + [Setup] Go To Page "visibility.html" |
| 43 | + Element Should Not Be Visible i_am_hidden |
| 44 | + Element Should Not Be Visible not_here |
| 45 | + Run Keyword And Expect Error |
| 46 | + ... The element 'i_am_visible' should not be visible, but it is. |
| 47 | + ... Element Should Not Be Visible i_am_visible |
| 48 | + |
0 commit comments