There's a issue with using verifyTrue and it it does not populate any
failure in runtime.(Every time passing the test).To overcome this
problem Please use verifyEquals check.
> Syntax: -
> verifyEquals("text need to verify",
> browser.getText("verification element"));
>
> Thank you,
> Regards,
> Chamara
>
> Charitha Kankanamge wrote:
>> QA team,
>>
>> In each of our selenium test frameworks, CommonSetup class extends
>> junit.framework.TestCase base class. IMHO, we should derive it from
>> com.thoughtworks.selenium.SeleneseTestCase to use the "verify" mode
>> assertions. Because, when an “assert” fails, the test is aborted.
>> When a “verify” fails, the test will continue execution, logging the
>> failure.
>> Thoughts?
>>
>> Regards
>> Charitha
>>
>> Charitha Kankanamge
>> WSO2 Inc.
>> http://wso2.org
>> email: [email protected] <mailto:[email protected]>
>> cell: +94 718 359 265
>> blog: http://charithaka.blogspot.com
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Architecture mailing list
>> [email protected]
>> https://lists.wso2.com/cgi-bin/mailman/listinfo/architecture
>>
>
>
_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev