Sha256: b3a3ea7c51a561b809c39ca57209d84e0e8e449ac2106f36a26d702f873da6b5

Contents?: true

Size: 458 Bytes

Versions: 21

Compression:

Stored size: 458 Bytes

Contents

require "spec_helper"

describe "AutoIt::Window", :if => SpecHelper.adapter == :autoit do
  it "#method_missing" do
    window = RAutomation::Window.new(:title => "MainFormWindow")

    window.MouseMove(1, 1)
    position = [window.MouseGetPosX, window.MouseGetPosY]
    position.should_not == [100, 100]

    window.MouseMove(100, 100)
    position = [window.MouseGetPosX, window.MouseGetPosY]

    position.should == [100, 100]
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
rautomation-2.0.1-x86-mingw32 spec/adapter/autoit/window_spec.rb
rautomation-2.0.1-x64-mingw32 spec/adapter/autoit/window_spec.rb
rautomation-1.1.0 spec/adapter/autoit/window_spec.rb
rautomation-1.0.0 spec/adapter/autoit/window_spec.rb
rautomation-0.17.0 spec/adapter/autoit/window_spec.rb
rautomation-0.16.0 spec/adapter/autoit/window_spec.rb
rautomation-0.15.0 spec/adapter/autoit/window_spec.rb
rautomation-0.14.1 spec/adapter/autoit/window_spec.rb
rautomation-0.14.0 spec/adapter/autoit/window_spec.rb
rautomation-0.13.0 spec/adapter/autoit/window_spec.rb
rautomation-0.12.0 spec/adapter/autoit/window_spec.rb
rautomation-0.11.0 spec/adapter/autoit/window_spec.rb
rautomation-0.10.0 spec/adapter/autoit/window_spec.rb
rautomation-0.9.4 spec/adapter/autoit/window_spec.rb
rautomation-0.9.3 spec/adapter/autoit/window_spec.rb
rautomation-0.9.2 spec/adapter/autoit/window_spec.rb
rautomation-0.9.1 spec/adapter/autoit/window_spec.rb
rautomation-0.9.0 spec/adapter/autoit/window_spec.rb
rautomation-0.8.0 spec/adapter/autoit/window_spec.rb
rautomation-0.7.3 spec/adapter/autoit/window_spec.rb