use of com.coveros.selenified.application.App in project selenified by Coveros.
the class ActionIsIT method isElementTableNotTest.
@Test(groups = { "integration", "actions", "is" }, description = "An integration test to check if an element is a table")
public void isElementTableNotTest() {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
Assert.assertFalse(app.newElement(Locator.ID, "that", 0).is().table());
// verify no issues
finish();
}
use of com.coveros.selenified.application.App in project selenified by Coveros.
the class ActionIsIT method isElementCheckedNotExistTest.
@Test(groups = { "integration", "actions", "is" }, description = "An integration test to check if an element is checked")
public void isElementCheckedNotExistTest() {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
Assert.assertFalse(app.newElement(Locator.ID, "non-existent-name").is().checked());
// verify no issues
finish();
}
use of com.coveros.selenified.application.App in project selenified by Coveros.
the class ActionIsIT method isPromptPresentTest.
@Test(groups = { "integration", "actions", "is" }, description = "An integration test to check the isPromptPresent method")
public void isPromptPresentTest() {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
app.newElement(Locator.ID, "prompt_button").click();
Assert.assertTrue(app.is().promptPresent());
// verify no issues
finish();
}
use of com.coveros.selenified.application.App in project selenified by Coveros.
the class ActionIsIT method isSomethingCheckedTest.
@Test(groups = { "integration", "actions", "is" }, description = "An integration test to check if something is selected from a checkbox")
public void isSomethingCheckedTest() {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
app.newElement(Locator.ID, "that").click();
Assert.assertTrue(app.newElement(Locator.ID, "that", 0).is().somethingSelected());
// verify no issues
finish();
}
use of com.coveros.selenified.application.App in project selenified by Coveros.
the class ActionIsIT method isElementSelectNotExistTest.
@Test(groups = { "integration", "actions", "is" }, description = "An integration test to check if an element is input")
public void isElementSelectNotExistTest() {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
Assert.assertFalse(app.newElement(Locator.ID, "non-existent-name").is().select());
// verify no issues
finish();
}
Aggregations