Re: [wtr-general] Re: how to click on javascript

2012-11-20 Thread Cristina Dumitrescu
I appreciate a lot your help. I am receiving "unable to locate the element" I have attached a screen snapshot. Kind regards, Cristina On Tue, Nov 20, 2012 at 1:40 PM, Joe Fl wrote: > Hi, > > You should be able to do: > browser.a(:class,'setting_link').click > > If you have tried this and got a

[wtr-general] how to click on javascript

2012-11-20 Thread Cristina Dumitrescu
Hi all, I do have a complex code, I took a screen snapshot. Please check the attached file. Does anyone know how to access[click] on the 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

[wtr-general] how to use one default and one customize attribute syntax

2012-02-13 Thread Cristina Dumitrescu
Hi all, I do not know how to use default and customized attributes. The following code is working - using the "target" attribute because I did some updated to the element_locator.rb ... puts $browser.div(:class, "searchres").div(:class => "data a", :index => 0).attribute_value("target") #that

[wtr-general] Re: the watir-webdriver scripts not running on firefox8: receiving "unable to obtain stable firefox connection in 60 seconds"

2011-11-09 Thread Cristina Dumitrescu
Never mind. I found the answer on stackoverflow. http://stackoverflow.com/questions/7263564/unable-to-obtain-stable-firefox-connection-in-60-seconds-127-0-0-17055 Great! On Wed, Nov 9, 2011 at 1:07 PM, Cristina Dumitrescu < cristina.watir.toro...@gmail.com> wrote: > > Hi, > &g

[wtr-general] the watir-webdriver scripts not running on firefox8: receiving "unable to obtain stable firefox connection in 60 seconds"

2011-11-09 Thread Cristina Dumitrescu
Hi, I've update the firefox to the latest version ff8. And I cannot run the scripts because I am receiving Selenium::WebDriver::Error::WebDriverError: unable to obtain stable firefox connection in 60 seconds (127.0.0.1:7055) irb(main):002:0> browser = Watir::Browser.new:ff Selenium::WebDriver::E

found the sollution! Re: [wtr-general] send_keys:enter not working on ff7 on an text field:: was working on ff3.6

2011-10-09 Thread Cristina Dumitrescu
"somestring\n") Using "\n" is working just great! Cristina On Wed, Oct 5, 2011 at 3:40 PM, Cristina Dumitrescu < cristina.watir.toro...@gmail.com> wrote: > With chrome I run in another problems when I try to read the selected value > for a drop down list: > &g

[wtr-general] Re: send_keys:enter not working on ff7 on an text field:: was working on ff3.6

2011-10-05 Thread Cristina Dumitrescu
Because of that I cannot do any progress. The way to edit something is just to use that jump box. Thanks a lot in advance, Cristina On Wed, Oct 5, 2011 at 12:06 PM, Cristina Dumitrescu < cristina.watir.toro...@gmail.com> wrote: > Hi, > > > I do not know why is not working

[wtr-general] send_keys:enter not working on ff7

2011-10-05 Thread Cristina Dumitrescu
Hi, I do not know why is not working on that particular element. just save the following code into a ruby file and run it. #- #firefox #-- prof = Selenium::WebDriver::Firefox::Prof

[wtr-general] an issue with send_keys:enter on ff7 for one element that used to be working on ff3.6

2011-10-04 Thread Cristina Dumitrescu
Hi, I am using firefox7 and watir-webdriver and I have the following code: $browser.text_field(:id => "macjumpbox").click $browser.text_field(:id => "macjumpbox").set("something") $browser.send_keys:enter I have a problem because i do not know why " $browser.send_keys:enter" is not

Re: [wtr-general] Re: chrome is crashing when i try to read dropdown list element

2011-07-27 Thread Cristina Dumitrescu
Christina, > > Try this out: > > puts $browser.select(:xpath, "// > select[@id='mailbox_type']").getSelectedItems[0] > > > On Jul 25, 2:31 pm, Cristina Dumitrescu > wrote: > > Hi. > > I have tests suites that are running great on firefox

[wtr-general] chrome is crashing when i try to read dropdown list element

2011-07-25 Thread Cristina Dumitrescu
Hi. I have tests suites that are running great on firefox using watir-webdriver Now I try to run the tests on chrom. Some of the tests are running, but when i try to read a selected dropdownlist value the chrom is crashing selectedMbType = $browser.select(:xpath, "//select[@id='mailbox_

Re: [wtr-general] Re: how to select a month/day into that calendar http://calendarview.org/

2011-07-20 Thread Cristina Dumitrescu
Great! is working!!! Thanks a lot, On Wed, Jul 20, 2011 at 7:21 AM, Dan Claudiu Pop wrote: > hey Cristina, > > try $browser.div(:class => "calendar").td(:class => "button", :index > => 4).click > > Dan > > On Jul 19, 11:44 pm, Cristi

Re: [wtr-general] Re: how to select a month/day into that calendar http://calendarview.org/

2011-07-19 Thread Cristina Dumitrescu
ss, "calendar popup").td(:text,">").click or $browser.div(:class, "calendar popup").td(:xpath => "//td[@class='button' and @text='\>']").flash I am receiving "unable to locate the element" eror What I am doing wrong?

Re: [wtr-general] Re: how to select a month/day into that calendar http://calendarview.org/

2011-07-19 Thread Cristina Dumitrescu
cell? For example: > > $browser.div(:id, "mac").div(:class, "calendar popup").cell(:text, > "Today").click > > Hope it helps... > > orde > > On Jul 19, 10:42 am, Cristina Dumitrescu > wrote: > > I've attached the screen sn

[wtr-general] how to select a month/day into that calendar http://calendarview.org/

2011-07-19 Thread Cristina Dumitrescu
Hi, we are using that calendar component from http://calendarview.org. When I click on a text field the popup calendar shows and I have to pick a date. I do now know how to select one month/day using watir. I attached a screensnapshot from our ui. And take a look at http://calendarview.org Exa

[wtr-general] Re: how to select a month/day into that calendar http://calendarview.org/

2011-07-19 Thread Cristina Dumitrescu
I've attached the screen snapshot. On Tue, Jul 19, 2011 at 1:39 PM, Cristina Dumitrescu < cristina.watir.toro...@gmail.com> wrote: > Hi, > > we are using that calendar component from http://calendarview.org. > > When I click on a text field the popup calendar shows a