Sha256: 3629b7cdfc14594fbf00b8efd73bed7a512595699977ea4eafbad86584aa92ca

Contents?: true

Size: 684 Bytes

Versions: 5

Compression:

Stored size: 684 Bytes

Contents

require File.expand_path('../../watirspec_desktophelper', __FILE__)
require File.expand_path('../shared/shared', __FILE__)

describe 'QuickTreeView' do
  
	before(:all) do
		browser.open_dialog_with_action("New Preferences Dialog", "Show preferences", 4).should > 0
	end
  
	after(:all) do
		browser.close_all_dialogs
	end
 
	let(:widget) { browser.quick_treeview(:name, "Advanced_treeview") }
	subject { widget }
    
	it_behaves_like 'a widget'
  
	its(:type) { should == :treeview }

    
    describe '#num_treeitems' do
		it "returns numbers of treeitems in the treeview" do
			browser.quick_treeview(:name, "Advanced_treeview").num_treeitems.should > 0
		end

    end
    

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
operawatir-0.4.3.pre1-jruby spec/operawatir/desktop/quicktreeview_spec.rb
operawatir-0.4.2-jruby spec/operawatir/desktop/quicktreeview_spec.rb
operawatir-0.4.1-jruby spec/operawatir/desktop/quicktreeview_spec.rb
operawatir-0.4.1.pre7-jruby spec/operawatir/desktop/quicktreeview_spec.rb
operawatir-0.4.1.pre6-jruby spec/operawatir/desktop/quicktreeview_spec.rb