Sha256: fd1310ebeb054c2c208cdc487881a277b168b5d510dffb982d6baf1abfe4d218

Contents?: true

Size: 387 Bytes

Versions: 10

Compression:

Stored size: 387 Bytes

Contents

require 'spec_helper'

describe "MsUia::ValueControl", :if => SpecHelper.adapter == :ms_uia do
  let(:window) { RAutomation::Window.new(:title => /MainFormWindow/) }
  let(:value_control) { window.value_control(:id => "automatableMonthCalendar1") }

  it "can set and get values" do
    value_control.set '12/25/2012'
    value_control.value.should eq('12/25/2012')
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rautomation-1.1.0 spec/adapter/ms_uia/value_control_spec.rb
rautomation-1.0.0 spec/adapter/ms_uia/value_control_spec.rb
rautomation-0.17.0 spec/adapter/ms_uia/value_control_spec.rb
rautomation-0.16.0 spec/adapter/ms_uia/value_control_spec.rb
rautomation-0.15.0 spec/adapter/ms_uia/value_control_spec.rb
rautomation-0.14.1 spec/adapter/ms_uia/value_control_spec.rb
rautomation-0.14.0 spec/adapter/ms_uia/value_control_spec.rb
rautomation-0.13.0 spec/adapter/ms_uia/value_control_spec.rb
rautomation-0.12.0 spec/adapter/ms_uia/value_control_spec.rb
rautomation-0.11.0 spec/adapter/ms_uia/value_control_spec.rb