Sha256: 408cccc9f99d2bfe5e94fb2966684c65f928c451bd695e05bb2d8ac0d6bbd772

Contents?: true

Size: 383 Bytes

Versions: 2

Compression:

Stored size: 383 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')
    expect(value_control.value).to eq('12/25/2012')
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rautomation-2.0.1-x86-mingw32 spec/adapter/ms_uia/value_control_spec.rb
rautomation-2.0.1-x64-mingw32 spec/adapter/ms_uia/value_control_spec.rb