2008/5/7 Michael Giroux <[EMAIL PROTECTED]>: > I used __setProperty and included some spaces for readability. > > ex. __setProperty( name, ${varName} ) > > Later in the test when I referenced __P(name) I got a value of '1' as > if the property was not defined. >
Because you defined a different property... > This seems like a bug in the parser to me. It's not a bug. The documentation may not make clear that all spaces are significant, but equally it does not say that leading and trailing spaces are ignored. > Is there a reason that the parser did not trim the name parameter? > The parser does not trim any spaces. It does not know which parameters might need leading and trailing spaces, and which parameters could be trimmed. So it would have to trim all parameters, which might break some test plans. > Michael > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]