Sha256: 315322f8414be2bfbfc2ce772e1bb0051eb03e2f9acea523b94f1ab536dbc3f4
Contents?: true
Size: 725 Bytes
Versions: 26
Compression:
Stored size: 725 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
26 entries across 26 versions & 1 rubygems