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-0.7.2 spec/adapter/autoit/window_spec.rb