use of com.coveros.selenified.application.App in project selenified by Coveros.
the class ActionGetIT method negativeGetConfirmationTest.
@Test(groups = { "integration", "actions", "get" }, description = "An integration negative test to check the getConfirmation method")
public void negativeGetConfirmationTest() {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
app.get().confirmation();
// verify no issues
finish();
}
use of com.coveros.selenified.application.App in project selenified by Coveros.
the class ActionGetIT method getTableCellNoCellTest.
@Test(groups = { "integration", "actions", "get" }, description = "An integration test to check the getTableCell method")
public void getTableCellNoCellTest() {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
WebElement cell = app.newElement(Locator.ID, "table").get().tableCell(99, 99);
Assert.assertNull(cell);
// verify no issues
finish();
}
use of com.coveros.selenified.application.App in project selenified by Coveros.
the class ActionGetIT method getElementXPathNotExistTest.
@Test(groups = { "integration", "actions", "get" }, description = "An integration negative test to check the getXPath method")
public void getElementXPathNotExistTest() {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
Assert.assertNull(app.newElement(Locator.ID, "non-existent-name").get().xPath());
// verify no issues
finish();
}
use of com.coveros.selenified.application.App in project selenified by Coveros.
the class ActionGetIT method negativeGetCookieTest.
@Test(groups = { "integration", "actions", "get", "cookie" }, description = "An integration negative test to check the getCookie method")
public void negativeGetCookieTest() {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
Cookie cookie = app.get().cookie("badcookie");
Assert.assertNull(cookie);
// verify no issues
finish();
}
use of com.coveros.selenified.application.App in project selenified by Coveros.
the class ActionGetIT method getEvalTest.
@Test(groups = { "integration", "actions", "get" }, description = "An integration test to check the getEval method")
public void getEvalTest() {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
String location = (String) app.get().eval("document.location");
Assert.assertNull(location);
// verify no issues
finish();
}
Aggregations