Sha256: 2c0a80b033c3073471f5433bd46a19f314f36d5754c9cf9f28fe2c1a871ccdfe
Contents?: true
Size: 703 Bytes
Versions: 1
Compression:
Stored size: 703 Bytes
Contents
require 'spec_helper' describe RAutomation::TextFields do it "Window#text_fields returns all text fields" do SpecHelper::navigate_to_simple_elements text_fields = RAutomation::Window.new(:title => "SimpleElementsForm").text_fields text_fields.size.should == 2 text_fields.find_all {|t| t.value == "Enter some text"}.size.should == 1 end it "Window#text_fields with parameters returns all matching text fields" do SpecHelper::navigate_to_simple_elements window = RAutomation::Window.new(:title => "SimpleElementsForm") text_fields = window.text_fields(:index => 0) text_fields.size.should == 2 text_fields.first.value.should == "Enter some text" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rdp-rautomation-0.6.3.1 | spec/text_fields_spec.rb |