name_field_with_space = @browser.html.scan(/\sname\s*=\s*["\']\w+\s+
["\']/i)
assert(name_field_with_space.empty?, message="name tag field with
trailing space found")
This was the code I used to solve my problem. I used regex to get the
name='whatever '. The scan method will search within the
Thanks for your suggestion. I work in a Mac environment and the
script worked.
However, I solved my problem using the .scan method, regex, and an
assert. If anyone is curious how I did it, just ask.
On Jan 12, 4:59 pm, gem dandy wrote:
> Here ya go rob,
>
> ***
Here ya go rob,
***
=begin
##
This is a short test to reveal the text in a entry box what is
expected (or not expected).
#---
Hold the presses -
I just ran another test on this and it doesn't pass when
checking for the correct text. I'll post another update soon.
gem dandy
On Jan 12, 7:05 pm, gem dandy wrote:
> Rob,
>
> Give the below script a try. It puts 'whatever ' (with trailing
> space)
> into a text box in th
Rob,
Give the below script a try. It puts 'whatever ' (with trailing
space)
into a text box in this thread and then checks to see if it contains
'whatever' (no trailing space).
***
=begin
#