public class BrowserLibrary extends Library implements AutoCloseable
| Modifier and Type | Field and Description |
|---|---|
protected TestUtility |
testUtility |
protected WebToolkit |
toolkit |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
closeAllPopups() |
void |
closePopup(String popupName) |
protected WebKey |
convertToWebKey(String keyName) |
void |
expectPopup(String popupName) |
protected void |
setup() |
void |
switchToAlert() |
void |
switchToDefaultFrame() |
void |
switchToDefaultWindow() |
void |
switchToFrame(String keyName) |
void |
switchToPopup(String popupName) |
protected void |
teardown() |
blackboard, containsKeyword, context, documentMediator, eventHandler, eventHandler, executor, feed, getDataSource, getDataSource, getInstruction, getInstructions, getKeywords, getNamespace, hasInstruction, log, publish, setEvents, setup, sheetFactory, toStringprotected WebToolkit toolkit
protected final TestUtility testUtility
public void close()
throws Exception
close in interface AutoCloseableExceptionpublic void switchToAlert()
public void expectPopup(String popupName)
public void switchToPopup(String popupName)
public void switchToDefaultWindow()
public void closePopup(String popupName)
public void closeAllPopups()
public void switchToFrame(String keyName) throws IllegalSourceStateException, DataValidationException, WebKeyTypeUnsupportedException
public void switchToDefaultFrame()
protected WebKey convertToWebKey(String keyName) throws IllegalSourceStateException, DataValidationException
Copyright © 2015. All rights reserved.