Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

asserttrue in selenium java

   if (ti.getAddRemoveElements().isDisplayed())
        {
            String addRemoveElementsText =ti.getAddRemoveElements().getText();
            Assert.assertTrue(true, addRemoveElementsText);
        }
        else {
            System.out.println(Data.NEGATIVE_ERROR_MASSAGE);
        }
 
PREVIOUS NEXT
Tagged: #asserttrue #selenium #java
ADD COMMENT
Topic
Name
6+1 =