use of com.coveros.selenified.application.App in project selenified by Coveros.
the class AssertEqualsIT method negativeCompareCssValueTest.
@Test(groups = { "integration", "asserts", "equals" }, description = "An integration negative test to check the compareCssValue method")
public void negativeCompareCssValueTest() {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
app.newElement(Locator.ID, "hidden_div", 0).assertEquals().cssValue("display", "inline");
// verify 1 issue
finish(1);
}
use of com.coveros.selenified.application.App in project selenified by Coveros.
the class AssertEqualsIT method negativeCompareAttributeValueNotPresentTest.
@Test(groups = { "integration", "asserts", "equals" }, description = "An integration negative test to check the compareAttributeValue method")
public void negativeCompareAttributeValueNotPresentTest() {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
app.newElement(Locator.ID, "non-existent-element").assertEquals().attribute("display", "inline");
// verify 1 issue
finish(1);
}
use of com.coveros.selenified.application.App in project selenified by Coveros.
the class AssertEqualsIT method compareSelectedTextTest.
@Test(groups = { "integration", "asserts", "equals" }, description = "An integration test to check the compareSelectedText method")
public void compareSelectedTextTest() {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
app.newElement(Locator.ID, "car_list").assertEquals().selectedOption("Volvo");
// verify no issues
finish();
}
use of com.coveros.selenified.application.App in project selenified by Coveros.
the class AssertEqualsIT method negativeCompareAttributeNoAttributeValueTest.
@Test(groups = { "integration", "asserts", "equals" }, description = "An integration negative test to check the compareAttributeValue method")
public void negativeCompareAttributeNoAttributeValueTest() {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
app.newElement(Locator.ID, "hidden_div", 0).assertEquals().attribute("display", "inline");
// verify 1 issue
finish(1);
}
use of com.coveros.selenified.application.App in project selenified by Coveros.
the class AssertEqualsIT method negativeCompareSelectedValueTest.
@Test(groups = { "integration", "asserts", "equals" }, description = "An integration negative test to check the compareSelectedValue method")
public void negativeCompareSelectedValueTest() {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
app.newElement(Locator.ID, "car_list", 0).assertEquals().selectedValue("wrong value");
// verify 1 issue
finish(1);
}
Aggregations