C:/SimpliTest1/FromOpenSourceGit/SimpliTest/
Version: 0.0.5 of SimpliTest adds the following steps to the framework.
category | step | example | arguments |
---|---|---|---|
debugging | ^show me the page$ | Then show me the page | N/A |
debugging | ^I wait (\d+) second(?:|s)$ | And I wait 10 seconds | seconds |
debugging | ^I take a screenshot$ | And I take a screenshot | N/A |
form | ^(?:|I )fill in the following:$ | When I fill in the following: | fields |
form | ^(?:|I )attach the file "([^"]*)" to "([^"]*)"$ | When I attach the file "sample.txt" to "field_name" | file, field |
form | ^(?:|I )fill in "([^"]*)" with "([^"]*)"$ | When I fill in "Name" with "my name" | field, value |
form | ^(?:|I )fill in "([^"]*)" with:$ | See Gist | field, value |
form | ^I enter "(.*?)" in the "(.*?)" field$ | And I enter "I made this" in the "Describe yourself" field | value, field |
form | ^I key in the date "(.*?)" in the "(.*?)" field$ | Then I key in the date "12/01/2013" in the "Date" field | date_rule, field |
form | ^I key in "(.*?)" in the "(.*)" field$ | When I key in "22031" in the "Location" field | text, field |
form | ^(?:|I )select "([^"]*)" from "([^"]*)"$ | When I select "Male" from "Sex" | value, select_field_name_id_or_text |
form | ^(?:|I )check "([^"]*)"$ | And I check "Accept user agrement" | field |
form | ^(?:|I )uncheck "([^"]*)"$ | When I uncheck "Send me letters" | field |
form | ^(?:I|i) select following values from "([^"]*)":$ | When I select following values from "Filters": Accepts Gherkin Table | field, values |
form | ^(?:I|i) unselect following values from "([^"]*)":$ | When I unselect following values from "Filters": Accepts Gherkin Table | field, values |
form | ^(?:|I )choose "([^"]*)"$ | When I choose "radio 1" | field |
form | ^(?:|I )press "([^"]*)"$ | When I press "Submit" | button |
form | ^I press the (first|last|[0-9]+(?:th|st|rd|nd)) instance of "(.*?)"$ | When I press the 4th instance of "nextButton" | index,link |
form | ^I click the (first|last|next|previous) page button$ | When I click the next page button | index |
form | ^I click the "(.*?)" (?:button|link)$ | When I click the "Submit" button | button_or_link |
form | ^I go to page (\d+)$ | When I go to page 1 | page_number |
form | ^I move focus away from "(.*)"$ | Not implemented yet | locator |
form | ^I press keydown on "(.*)"$ | When I press keydown on "LocationCSSSelector" | locator |
form | ^I hover over "(.*?)"$ | And I hover over "BidPlansMenu" | locator |
form | ^I accept the confirmation dialog box$ | And I accept the confirmation dialog | N/A |
form | ^I attach file "([^"]*)" to "([^"]*)"$ | Then I attach file "testAttachment.txt" to "File" | file, field |
form | ^(?:|I )[Ee]nter today's date in the "([^"]*)" field$ | Then I enter today's date in the "date" field" | locator |
form | ^I verify "([^"]*)" field has today's date$ | Then I verify "date" field has today's date | locator |
form | ^I right-click on "(.*?)" and then click the "(.*?)" option$ | When I right-click "some element" and then click "Some Link" option | locator, link |
form | ^I click the "(.*?)" tab$ | When I click the "Submit" tab | button_or_link |
form verification | ^the "([^"]*)" field(?: within (.*))? should contain "([^"]*)"$ | Then the "Name" field should contain "my name" | field, parent, value |
form verification | ^the "([^"]*)" field(?: within (.*))? should not contain "([^"]*)"$ | And the "Name" field should not contain "not my name" | field, parent, value |
form verification | ^the select "([^"]*)" should have following options:$ | Then the select "Your favorite colors": Table | field, options |
form verification | ^the following values should be selected in "([^"]*)":$ | And the following values should be selected in "Your favorite colors": Table | select_box, values |
form verification | ^the following values should not be selected in "([^"]*)":$ | And the following values should not be selected in "Your favorite colors": | select_box, values |
form verification | ^the "([^"]*)" checkbox(?: within (.*))? should be checked$ | And the "Accept user agrement" checkbox should be checked | label, parent |
form verification | ^the "([^"]*)" checkbox(?: within (.*))? should not be checked$ | And the "Do not touch me" checkbox should not be checked | label, parent |
form verification | ^the "(.*?)" selectbox should contain:$ | And the "Sex" selectbox should contain: Table | locator, options |
form verification | ^the "(.*?)" radio should be selected$ | And the "radio 1" radio should be selected | locator |
form verification | ^the "(.*?)" radio should not be selected$ | And the "radio 2" radio should not be selected | locator |
form verification | ^"(.*?)" should be the default date for "(.*?)"$ | Then "12/31/2013" should be the default date for "datepicker" | date_rule, field |
form verification | ^I enter user name from excel in "(.*?)"$ | Then I enter user name from excel in "Username" | locator |
form verification | ^I enter password from excel in "([^"]*)" field$ | Then I enter user name from excel in "Username" | locator |
form verification | [Rr]ead file "(.*?)"$ | N/A | filepath |
navigation | ^(?:|I )am on the "(.*)" (?:page|Page)$ | Given I am on the "home" page | page_name |
navigation | ^(?:|I )go to the "(.*)" page$ | When I go to the "other" page | page_name |
navigation | ^(?:|I )follow "([^"]*)"$ | When I follow "Privacy Policy" | link |
navigation | ^(?:|I )maximize the window$ | When I maximize the window | N/A |
navigation | ^(?:|I )switch to the (.*) window$ | And I switch to the last window | first_or_last |
navigation | ^(?:|I )[Ss]witch to the frame$ | And I switch to the frame | N/A |
navigation | ^(?:|I )[Aa]ccept (?:|the )popup(?:| window)$ | Then I Accept the popup window | N/A |
navigation | ^(?:|I )[Dd]ismiss (?:|the )popup(?:| window)$ | Then I Dismiss the popup window | N/A |
navigation | ^(?:|I )[Ss]witch to the iframe$ | And I switch to the iframe | N/A |
navigation | ^(?:|I )[Ss]witch to the last_iframe$ | And I switch to the last_iframe | N/A |
scoper | ^(.*) within(?: the| an?)? (.*)$ | N/A | step_def, parent |
scoper | ^(.*) within(?: the| an?)? (.*):$ | N/A | step_def, parent, table_or_string |
scoper | ^(.*) in the new window$ | N/A | step_def |
verification | ^I should be redirected to the "(.*)" page$ | Then I should be redirected to the "congratulations" page | page_name |
verification | ^I should be redirected to the "(.*?)" page with some parameters$ | Then I should be redirected to the "Results" page with some parameters | page_name |
verification | ^(?:|I )should be on the "(.*)" page$ | Then I should be on the "congratulations" page | page_name |
verification | ^(?:|I )should see "(.*)"$ | And I should see "Great, you can click links!" | text |
verification | ^(?:|I )should not see "(.*)"$ | And I should not see "some bla-bla" | text |
verification | ^(?:|I )should see \/([^\/]*)\/([imxo])?$ | Then I should see /great/i | regexp,flags |
verification | ^(?:|I )should not see \/([^\/]*)\/([imxo])?$ | Then I should not see /bla-bla/i | regexp,flags |
verification | ^I should see all of the texts:?$ | Then I should see all of the texts: | table |
verification | ^I should see the "(.*?)" text as "(.*)"$ | Not yet implemented | locator, text |
verification | ^(?: |I )should see the "(.*)"(?: button| link)$ | Then I should see the "Submit" button | link_or_button_text |
verification | ^(?: |I )should not see the "(.*)"(?: button| link)$ | And I should not see the "Click Me" link | button_or_link_text |
verification | ^I should see an? link that points to "([^"]*)"$ | Then I should see a link that points to "http://www.google.com/" | href_destination |
verification | ^the (first|last|[0-9]+(?:th|st|rd|nd)) instance of "(.*?)" should be disabled$ | Then the 5th instance of "Page1PaginationLinks" should be disabled | index, button_or_link |
verification | ^I should see that all asset references on the page are valid$ | Then I should see that all asset references on the page are valid | N/A |
verification | ^I should see that all links on the page are valid$ | And I should see that all links on the page are valid | N/A |
verification | ^I should be on page (\d+)$ | Then I should be on page 2 | page_number |
verification | ^I should see the following(?: errors| list):$ | Not yet implemented | table |
verification | ^I should see an? "([^"]*)" tag around the text "([^"]*)"$ | Then I should see a "td" tag around "bla" | tag_name, text |
verification | ^I should see an? "([^"]*)" with "([^"]*)" of "([^"]*)"$ | Then I should see a "div" with "id" of "ui-datepicker-div" | tag_name, attribute_name, attribute_value |
verification | ^I should see the image "([^"]*)"$ | Then I should see the image "Image1.jpg" | image_name |
verification | ^I should see all of the images:?$ | Then I should see all of the images: | table |
verification | ^(?:|I )should see text "(.*)" as alt text for (.*)$ | Then I should see text "some alt text" as alt text for ImageSelector | alt_text, locator |
verification | ^I should see the HTML5 audio source "([^"]*)"$ | Then I should see the HTML5 audio source "Audio.mp3" | audio_name |
verification | ^I should see all of the HTML5 audio sources:?$ | Then I should see the HTML5 audio sources: | table |
verification | ^I should see the HTML5 video source "([^"]*)"$ | Then I should see the HTML5 video source "video1.mp4" | video_name |
verification | ^I should see all of the HTML5 video sources:$ | Then I should see the HTML5 video sources: | table |
verification | ^I should see (\d+) elements? kind of (.+)$ | Then I should see 2 elements kind of table's header | count, locator |
verification | ^I should not see elements? kind of (.+)$ | And I should not see elements kind of paragraphs | locator |
verification | ^I should see "(.*?)" as "(.*?)" value$ | Not Implemented yet | arg1, arg2 |
verification | ^I should see the correct "(.*)"$ | Then I should see the correct "MedicareGovHeader" | section |