forked from AutoGeneral/IridiumApplicationTesting
-
Notifications
You must be signed in to change notification settings - Fork 3
/
test.feature
23 lines (21 loc) · 890 Bytes
/
test.feature
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Feature: Open an application
# This is where we give readable names to the xpaths, ids, classes, name attributes or
# css selectors that this test will be interacting with.
Scenario: Generate Page Object
Given the alias mappings
| SearchMenu | dropdownMenu2 |
| SearchField | search |
Scenario Outline: Test the search box
And I open the application
And I maximise the window
And I wait "30" seconds for the element found by alias "SearchMenu" to be displayed
And I click the element found by alias "SearchMenu"
And I wait "30" seconds for the element with the ID alias of "SearchMenu" to be displayed
And I clear the hidden element with the ID alias of "SearchField"
And I populate the element with the ID alias of "SearchField" with "<search>"
Examples:
| search |
| Java |
| Devops |
| Linux |
| Agile |