Sha256: 58e53f39eb8e71904150802c976d038cbd3fc8a9997fc7ec1ed17da998527ed6
Contents?: true
Size: 645 Bytes
Versions: 1
Compression:
Stored size: 645 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rdp-rautomation-0.6.3.1 | spec/adapter/win_ffi/label_spec.rb |