Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions atest/acceptance/keywords/draganddropframe.robot
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
Documentation Tests for the custom Drag And Drop Across Frames keyword
... in cross-frame drag-and-drop scenarios.
Resource ../resource.robot
Test Setup Go To Page "frames/draganddrop.html"
Test Setup Prepare Drag And Drop Page
Test Teardown Restore Window Size

*** Test Cases ***
Drag And Drop Across Frames Works From Default Content
Expand Down Expand Up @@ -78,4 +79,15 @@ Drag And Drop Across Frames Fails With Invalid Source
Run Keyword And Expect Error
... Element with locator 'id=missingSource' not found.
... Drag And Drop Across Frames
... id=missingSource id=target id=targetFrame
... id=missingSource id=target id=targetFrame

*** Keywords ***
Prepare Drag And Drop Page
${width} ${height}= Get Window Size
Set Test Variable ${ORIGINAL_WINDOW_WIDTH} ${width}
Set Test Variable ${ORIGINAL_WINDOW_HEIGHT} ${height}
Set Window Size 1440 1000
Go To Page "frames/draganddrop.html"

Restore Window Size
Set Window Size ${ORIGINAL_WINDOW_WIDTH} ${ORIGINAL_WINDOW_HEIGHT}
Loading