Neither of those worked. For now I am using this: b.goto(properties.getUrl.gsub("\n",'') + 'source=' + properties.getSource.gsub("\n",'') + '&' + 'xyzclubcode=' + properties.getxyzclubcode.gsub("\n",'') + '&' + 'state=' + properties.getState.gsub("\n",'') + '&' + 'zipcode=' + properties.getZipcode.gsub("\n",'')) With some changes to my .rb file.
And a reformatting of the .txt properties file to: url=http://Foo.Bar.com/Portal/quote? source=club xyzclubcode=212 state=VA zipcode=20109 I'll try to get back to this issue for a better answer. The links you sent earlier were somewhat helpful but I could not figure out how to transform the information into usable commands. I learned the %3D should replace the = sign. On Thu, Jun 6, 2013 at 6:38 AM, Željko Filipin <zeljko.fili...@gmail.com>wrote: > On Wed, Jun 5, 2013 at 5:52 PM, Jim Bailey <jbailey...@gmail.com> wrote: > >> For now, can I forget about the properties file, and have the Watir >> script put the url directly in the address bar? >> > > Sure, try this: > > b.goto(URI.escape " > http://FooBar.com/Portal/quote?source=club&clubcode=412&state=CA&zipcode=90210<http://foobar.com/Portal/quote?source=club&clubcode=412&state=CA&zipcode=90210> > ") > > or > > b.goto " > http://FooBar.com/Portal/quote?source=club&clubcode=412&state=CA&zipcode=90210<http://foobar.com/Portal/quote?source=club&clubcode=412&state=CA&zipcode=90210> > " > > Željko > > -- > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > watir-general@googlegroups.com > http://groups.google.com/group/watir-general > watir-general+unsubscr...@googlegroups.com > > --- > You received this message because you are subscribed to a topic in the > Google Groups "Watir General" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/watir-general/u5fJr43D74Y/unsubscribe?hl=en > . > To unsubscribe from this group and all its topics, send an email to > watir-general+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.