Sha256: 25e34d1e15c6b2c7b42ddada38beccd441f99037da791792c6fa1a9f13ebc5d5
Contents?: true
Size: 444 Bytes
Versions: 2
Compression:
Stored size: 444 Bytes
Contents
require 'spec_helper' describe "Win32::Label", if: SpecHelper.adapter == :win_32 do let(:window) { RAutomation::Window.new(title: "MainFormWindow") } it "#exist?" do expect(window.label(value: "This is a sample text")).to exist expect(window.label(value: "This label should not exist")).to_not exist end it "#label" do expect(window.label(value: "This is a sample text").value).to be == "This is a sample text" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rautomation-2.0.1-x86-mingw32 | spec/adapter/win_32/label_spec.rb |
rautomation-2.0.1-x64-mingw32 | spec/adapter/win_32/label_spec.rb |