|
From: Jason S. <jsw...@ya...> - 2004-04-27 03:48:19
|
--- Brenden Vickery <bre...@w3...> wrote: > Hi... Hello, I am not an expert with WebTester, as I have just started using it myself. > <select name="userGender" id="userGender"> > <option value="0" selected="selected">Male and Female</option> > <option value="M">Male</option> > <option value="F">Female</option> > </select> I wonder if it is a bug, if it has to do with the fact that php would consider a string '0' to be false. i.e. $test = '0'; echo ($test) ? 'TRUE' : 'FALSE'; > <b>Notice</b>: > SELECT COUNT(*) AS numRows > FROM RACE_CLASS, RACE_DISTANCE, ... Blah > WHERE ... Blah AND USERS.userGender = 'Male and Female' > ... Blah blah > > Basically the problem is the sax parser is not taking into account the > value="???" attribute on options. I dont know if you would call this a > bug report or a feature request, or maybe Im using webtests wrong? > Either way thanks for a great product. It seems interesting that your error message has "Male and Female" which was the value you were trying to submit (0 for the select userGener), however, perhaps this is just a coincidence. Regards, Jason __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover |