Sha256: 1614be4521161c06e73024277f665736be1bde0a1f79934e21c5ab1fb0b0cc9a

Contents?: true

Size: 399 Bytes

Versions: 6

Compression:

Stored size: 399 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 12:00:00 AM")
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rautomation-0.10.0 spec/adapter/ms_uia/value_control_spec.rb
rautomation-0.9.4 spec/adapter/ms_uia/value_control_spec.rb
rautomation-0.9.3 spec/adapter/ms_uia/value_control_spec.rb
rautomation-0.9.2 spec/adapter/ms_uia/value_control_spec.rb
rautomation-0.9.1 spec/adapter/ms_uia/value_control_spec.rb
rautomation-0.9.0 spec/adapter/ms_uia/value_control_spec.rb