[wtr-general] Re: How to select color from color picker

2013-03-21 Thread sk . fayaz
As mentioned by Dan/Chuck,first I inspected the color picker which popsup the multiple colored dvis. b.div(:class = color_swatch,:style = background-color: rgb(153, 51, 102); border-color: rgb(0, 0, 0);).click But its throwing the below error : invalid attribute: nil

[wtr-general] Re: Browser resize on watir-classic.

2013-03-21 Thread Jarmo Pertman
You may create an issue for watir-classic so these methods would be added at https://github.com/watir/watir-classic/issues?state=open Jarmo On Thursday, March 21, 2013 12:30:32 AM UTC+2, Chuck van der Linden wrote: When I compare the rdocs for the Window class between watir-webdriver and

[wtr-general] Re: How to select color from color picker

2013-03-21 Thread sk . fayaz
Any help on this? On Wednesday, March 20, 2013 3:47:26 PM UTC, sk.f...@gmail.com wrote: Hi, In my application I've come across a color picker where I've to select a particular color..I'm totally blocked here.Plz find the screenshot of the color picker... HTML code: input

[wtr-general] Re: How to select color from color picker

2013-03-21 Thread Chuck van der Linden
On Thursday, March 21, 2013 8:12:17 AM UTC-7, sk.f...@gmail.com wrote: Any help on this? Please remember that folks here have jobs etc and respond to these questions on their own time. Also we may not be located in your same timezone, for example, your prior message to this came in at 4:43

[wtr-general] Re: How to select color from color picker

2013-03-21 Thread Chuck van der Linden
On Thursday, March 21, 2013 4:43:00 AM UTC-7, sk.f...@gmail.com wrote: As mentioned by Dan/Chuck,first I inspected the color picker which popsup the multiple colored dvis. b.div(:class = color_swatch,:style = background-color: rgb(153, 51, 102); border-color: rgb(0, 0, 0);).click But its

[wtr-general] Re: How to select color from color picker

2013-03-21 Thread Dan
I don't see any reason from what you've posted that you should be getting an error, but I agree with Chuck that we may need some additional info. Created a simple webpage html div class=color_swatch style=background-color: rgb(153, 204, 0); border-color: rgb(0, 0, 0); /div /html Found it using

[wtr-general] Re: How to select color from color picker

2013-03-21 Thread Chuck van der Linden
as an unsolicited side comment btw, based on the little bit of cucumber step code I've seen, you might want to read the following http://www.elabs.se/blog/15-you-re-cuking-it-wrong http://mislav.uniqpath.com/2010/09/cuking-it-right/ better yet get a copy of The Cucumber Book On Thursday,

[wtr-general] Re: Unable to select the radiobutton and also unable to detect the iFrame

2013-03-21 Thread Pavan Turlapati
Thanks to all and special thanks to Chuck for giving suggestions. This issue is NOW resolved. $ie.iframe(:id = 'PWGadget5Ifr',:name='PWGadget5Ifr').form(:name='main').div(:id='HARNESS_CONTENT').div(:id='iframeDiv').iframe(:name='actionIFrame').button(:id='submitButton').exists? is what

[wtr-general] Re: Unable to select the radiobutton and also unable to detect the iFrame

2013-03-21 Thread Chuck van der Linden
You likely do not need a lot of those intermediate container elements. Try using $ie.iframe(:id = 'PWGadget5Ifr',:name='PWGadget5Ifr').iframe(:name='actionIFrame').button(:id='submitButton').exists? and see if it works for you On Thursday, March 21, 2013 10:20:47 AM UTC-7, Pavan Turlapati

Re: [wtr-general] Re: problem

2013-03-21 Thread Sohail Mirza
Hi All, Thanks for the comments. However, i have solved the problem as follow *@browser.a(:text,Customer Lines).fire_event(onclick)* it is perfectly running for me. But one thing which i am still figuring out is why it did not work for simple Click method and why it worked with

Re: [wtr-general] Re: how to click button from nested divs

2013-03-21 Thread Sohail Mirza
Still it is not working for me. The script execution continues successfully giving a perception that button has been clicked but the button is not clicked infact. in rendered html code, i found this button nested in my Div (almost 8th child div), can it be the reason of subject problem? On

[wtr-general] Is that possible to add a console in watir webdriver?

2013-03-21 Thread Ekin Han
hi all, Is that possible to add a console in watir webdriver? I think it is good for debug. -- -- 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

Re: [wtr-general] Is that possible to add a console in watir webdriver?

2013-03-21 Thread Ekin Han
yes ,that works fine, but what i want is an executable file and just type 'watir console' in cmd, it will load watir webdriver and open an irb. The old watir classic has the a similar functionality. 2013/3/22 Rich Downie richdow...@gmail.com This is all it takes =