[wtr-general] Re: Cannot click on link using :href

2013-06-06 Thread Nikhil Nerkar
Can you also suggest some good reference for learning Watir ? On Wednesday, June 5, 2013 10:00:19 AM UTC+5:30, Nikhil Nerkar wrote: > > I am totally new to Watir World :) & facing a bsic problem: > > I am able to click a link by name 'In English' by using the below line of > code: > > @browser.l

[wtr-general] Re: Cannot click on link using :href

2013-06-06 Thread Nikhil Nerkar
That works fine now. Thanks On Wednesday, June 5, 2013 10:00:19 AM UTC+5:30, Nikhil Nerkar wrote: > > I am totally new to Watir World :) & facing a bsic problem: > > I am able to click a link by name 'In English' by using the below line of > code: > > @browser.link(:text,'In English').click > >

[wtr-general] Re: Issues with execute_script on Win7/IE9

2013-06-06 Thread enroxorz
Is there any way to disable this? This is driving me up the wall since I am allowing active content from security... On Wednesday, June 5, 2013 3:29:48 PM UTC-4, Andrew Leaf wrote: > > > > On Monday, June 3, 2013 9:28:50 AM UTC-5, enroxorz wrote: >> >> So I know that this issue was resolved here:

[wtr-general] Re: Can't use = sign in URL.

2013-06-06 Thread Super Kevy
So if its breaking at the = sign then you are not encapsulating the value as a string. Something like this may be a low impact patch myVar = '"' + url + '"' puts myVar or even myVar = url.to_s puts myVar On Jun 6, 6:27 am, Jim Bailey wrote: > Neither of those worked. For now I am using this: >

Re: [wtr-general] Can't use = sign in URL.

2013-06-06 Thread Jim Bailey
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

Re: [wtr-general] Can't use = sign in URL.

2013-06-06 Thread Željko Filipin
On Wed, Jun 5, 2013 at 5:52 PM, Jim Bailey 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