-
Notifications
You must be signed in to change notification settings - Fork 785
Expand file tree
/
Copy pathevent_firing_webdriver.robot
More file actions
40 lines (35 loc) · 1.58 KB
/
event_firing_webdriver.robot
File metadata and controls
40 lines (35 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
*** Settings ***
Library SeleniumLibrary event_firing_webdriver=${CURDIR}/../../resources/testlibs/MyListener.py
Resource resource_event_firing_webdriver.robot
Suite Setup Open Browser ${FRONT_PAGE} ${BROWSER} alias=event_firing_webdriver
... remote_url=${REMOTE_URL}
Suite Teardown Close All Browsers
*** Variables ***
${event_firing_or_none} ${NONE}
*** Test Cases ***
Open Browser To Start Page
[Tags] NoGrid SKIP_ON_WINDOWS
[Documentation]
... LOG 1:30 DEBUG Wrapping driver to event_firing_webdriver.
... LOG 1:32 INFO Got driver also from SeleniumLibrary.
Open Browser ${FRONT_PAGE} ${BROWSER} remote_url=${REMOTE_URL}
Event Firing Webdriver Go To (WebDriver)
[Tags] NoGrid
[Documentation]
... LOG 1:2 INFO STARTS: Before navigate to
... LOG 1:3 INFO Got driver also from SeleniumLibrary.
... LOG 1:8 INFO STARTS: After navigate to
Go To ${ROOT}/forms/named_submit_buttons.html
Event Firing Webdriver Input Text (WebElement)
[Tags] NoGrid
[Documentation]
... LOG 1:6 INFO Before clear and send_keys
... LOG 1:11 INFO After clear and send_keys
... LOG 1:12 INFO Before clear and send_keys
... LOG 1:17 INFO After clear and send_keys
Input Text //input[@name="textfield"] FooBar
Event Firing Webdriver With Get WebElement (WebElement)
[Tags] NoGrid
Go To ${ROOT}/nested_divs.html
${link}= Get WebElement //a[@id="needleC"]
Wait Until Element Contains ${link} top/c/needle