diff --git a/CHANGES.rst b/CHANGES.rst index 29bcfdc2e..e5fa6931d 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,7 +1,7 @@ Release Notes ============= -1.7.2 (Unreleased) +1.7.2 ---------------- - Added an argument called screenshot_root_directory that can be passed into S2L's constructor to specify where to store screenshots. diff --git a/src/Selenium2Library/keywords/_formelement.py b/src/Selenium2Library/keywords/_formelement.py index 7e67e8f6c..0b258cf6a 100644 --- a/src/Selenium2Library/keywords/_formelement.py +++ b/src/Selenium2Library/keywords/_formelement.py @@ -1,5 +1,6 @@ import os from keywordgroup import KeywordGroup +from selenium.common.exceptions import WebDriverException class _FormElementKeywords(KeywordGroup): diff --git a/src/Selenium2Library/version.py b/src/Selenium2Library/version.py index f4dc8dec6..7b59fb64f 100644 --- a/src/Selenium2Library/version.py +++ b/src/Selenium2Library/version.py @@ -1 +1 @@ -VERSION = '1.7.1' +VERSION = '1.7.2' diff --git a/test/acceptance/keywords/input_text_into_prompt.robot b/test/acceptance/keywords/input_text_into_prompt.robot deleted file mode 100644 index 68078a0ad..000000000 --- a/test/acceptance/keywords/input_text_into_prompt.robot +++ /dev/null @@ -1,13 +0,0 @@ -*Setting* -Variables variables.py -Resource ../resource.robot -Test Setup Go To Page "javascript/alert_prompt.html" - - -*Test Cases* - -Verify Input Text into Prompt - [Documentation] Typing name into prompt - Click Element css=button - Input Text Into Prompt myname - Get Alert Message diff --git a/test/acceptance/keywords/javascript.robot b/test/acceptance/keywords/javascript.robot index 76b381d51..e9a77968e 100644 --- a/test/acceptance/keywords/javascript.robot +++ b/test/acceptance/keywords/javascript.robot @@ -32,6 +32,13 @@ Read Alert Message Dismiss Alert Run Keyword And Expect Error There were no alerts Get Alert Message +Input Text Into Prompt + [Setup] Go To Page "javascript/alert_prompt.html" + Click Element css=button + Input Text Into Prompt myname + Dismiss Alert + Page Should Contain myname + Mouse Down On Link [TAGS] Known Issue - Firefox [Setup] Go To Page "javascript/mouse_events.html" @@ -84,5 +91,3 @@ Drag and Drop by Offset Element Text Should Be id=droppable Drop here Drag and Drop by Offset id=draggable ${100} ${20} Element Text Should Be id=droppable Dropped! - -