use of com.coveros.selenified.application.App in project selenified by Coveros.
the class ActionGetIT method getCookieDomainTest.
@Test(groups = { "integration", "actions", "get", "cookie" }, description = "An integration test to check the getCookieDomain method")
public void getCookieDomainTest(ITestContext context) {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
String cookie = app.get().cookieDomain("cookie");
Assert.assertEquals(cookie, getTestSite(this.getClass().getName(), context).split("/")[2].split(":")[0]);
// verify no issues
finish();
}
use of com.coveros.selenified.application.App in project selenified by Coveros.
the class ActionGetIT method getTableColumnNotTableTest.
@Test(groups = { "integration", "actions", "get" }, description = "An integration test to check the getTableColumn method")
public void getTableColumnNotTableTest() {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
List<WebElement> column = app.newElement(Locator.ID, "transparent_input").get().tableColumn(1);
Assert.assertNull(column);
// verify no issues
finish();
}
use of com.coveros.selenified.application.App in project selenified by Coveros.
the class ActionGetIT method getCookiePathTest.
@Test(groups = { "integration", "actions", "get", "cookie" }, description = "An integration test to check the getCookiePath method")
public void getCookiePathTest() {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
String cookie = app.get().cookiePath("cookie");
Assert.assertEquals(cookie, "/");
// verify no issues
finish();
}
use of com.coveros.selenified.application.App in project selenified by Coveros.
the class ActionGetIT method getTableRowNotTableTest.
@Test(groups = { "integration", "actions", "get" }, description = "An integration test to check the getTableRow method")
public void getTableRowNotTableTest() {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
List<WebElement> row = app.newElement(Locator.ID, "input_box", 0).get().tableRow(1);
Assert.assertNull(row);
// verify no issues
finish();
}
use of com.coveros.selenified.application.App in project selenified by Coveros.
the class ActionGetIT method getSelectedValueTest.
@Test(groups = { "integration", "actions", "get" }, description = "An integration test to check the getSelectedValue method")
public void getSelectedValueTest() {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
String value = app.newElement(Locator.ID, "car_list").get().selectedValue();
Assert.assertEquals(value, "volvo");
// verify no issues
finish();
}
Aggregations