Sha256: 55dd2511ede8084448bed39b3df0d97e9c831a24e75a5fd21e5da39974075fe8
Contents?: true
Size: 666 Bytes
Versions: 4
Compression:
Stored size: 666 Bytes
Contents
require 'spec_helper' describe "WinFfi::Label", :if => SpecHelper.adapter == :win_ffi do it "#exist?" do window = RAutomation::Window.new(:title => "MainFormWindow") window.label(:value => "This is a sample text").should exist window.label(:value => "This label should not exist").should_not exist end it "check for label class" do RAutomation::Window.new(:title => "MainFormWindow").label(:id => "textField").should_not exist end it "#label" do window = RAutomation::Window.new(:title => "MainFormWindow") window.label(:value => "This is a sample text").value.should == "This is a sample text" end end
Version data entries
4 entries across 4 versions & 1 rubygems