getText action fails when asserting the value of 'false'

Problems using Bromine? Running tests? Post here.

getText action fails when asserting the value of 'false'

Postby JuggerNaut » Wed Mar 28, 2012 9:00 pm

I have run into this issue multiple times and it doesn't matter if I use the PHP client or the Java client. But any time when I assert on a value of false, the getText action fails (though it still gets the text), but the assertText action passes.

Has anyone else run into issues trying to assert values of 'false'?
Attachments
getText assertText with value false.png
getText assertText with value false.png (31.59 KiB) Viewed 516 times
JuggerNaut
 
Posts: 8
Joined: Fri Dec 17, 2010 9:15 pm

Re: getText action fails when asserting the value of 'false'

Postby jpp » Thu Mar 29, 2012 10:50 am

Well it looks right by looking at the report.

AssertEqual( false , false ) = true

You might want to take a look at what getText returns.
jpp
Site Admin
 
Posts: 325
Joined: Tue Jan 12, 2010 1:46 pm
Location: Denmark


Return to Use

Who is online

Users browsing this forum: No registered users and 2 guests

cron