[wtr-general] access or select dojo tab

2012-02-06 Thread sabarish
Hi, I am using dojo framework for UI development. I have many input elements in each tab (Tab Container of dojo). Once I fill details in first tab, will go to second tab and fill other details. I am using watir to automate. I am able to fill the details (text box, dropdown etc) in first tab. But n

Re: [wtr-general] Try to retrieve text from a strong tag

2012-02-06 Thread Joe Fleck
Thanks Željko. That did the trick. Regards, Joe On Mon, Feb 6, 2012 at 2:20 PM, Željko Filipin wrote: > On Mon, Feb 6, 2012 at 1:10 PM, Joe Fl wrote: >> > >> Category 1 >> > > This should work, if strong tag is in the first (or only) div with > "active-theme" class: > > browser.div(:class =>

Re: [wtr-general] Try to retrieve text from a strong tag

2012-02-06 Thread Željko Filipin
On Mon, Feb 6, 2012 at 1:10 PM, Joe Fl wrote: > > Category 1 > This should work, if strong tag is in the first (or only) div with "active-theme" class: browser.div(:class => "active-theme").strong.text Željko -- watir.com/book - author -- Before posting, please read http://watir.com/support

[wtr-general] Try to retrieve text from a strong tag

2012-02-06 Thread Joe Fl
Hi everyone, I am trying to retrieve the text from a strong tag in our app. Code: Topic: Category 1 I am using watir-webdriver with firefox but i need this to work in IE and Chrome as well. Any & All help is greatly appreciated. Thank you, Joe -- Before posting, please read http://watir.

Re: [wtr-general] strange taza error on windows 7

2012-02-06 Thread hillary
i'm requiring it in my rake task. RSpec::Core::RakeTask.new(:wip) do |t| time = Time.now $time = time.strftime("%y%m%d_%H%M") file_hole = "artifacts/#{$time}" t.rspec_opts = ["--require taza", "--format html --out #{file_hole}/index.html", "--format p",