com.atlassian.jira.webtest.framework.core.ui
Interface WebTestUi

All Known Implementing Classes:
SeleniumUi

public interface WebTestUi

Common UI operations in the web tests.

Since:
v4.3

Nested Class Summary
static interface WebTestUi.TargetSelector
           
 
Method Summary
 Locator body()
          Locator of the current document's body element
 WebTestUi pressInBody(com.atlassian.webtest.ui.keys.KeySequence sequence)
          Press a key sequence in the current document's body.
 WebTestUi.TargetSelector switchTo()
          Switch to given window/frame.
 

Method Detail

body

Locator body()
Locator of the current document's body element

Returns:
body element locator on the current page

pressInBody

WebTestUi pressInBody(com.atlassian.webtest.ui.keys.KeySequence sequence)
Press a key sequence in the current document's body. Mainly used for invoking keyboard shortcuts.

Parameters:
sequence - shortcut sequence to invoke
Returns:
this UI instance

switchTo

WebTestUi.TargetSelector switchTo()
Switch to given window/frame.

Returns:
selector to select target to switch to.


Copyright © 2002-2013 Atlassian. All Rights Reserved.