Assert using TestNG
Compare Two Different Strings values
Compare Two Different Strings values
public void assertvalue(String actual,String expected)
{
Assert.assertEquals(actual, expected);
Reporter.log("Expected ::"+actual+" Expected::"+expected, true);
}
No comments:
Post a Comment