Here is the ruby code.

class ClientRecord_Create < Test::Unit::TestCase
    def test_valid_client
    
    
industry1_dropdown.select(readExcel.getValue("Complete_Record","industry1"))
    
   industry2_dropdown.select(readExcel.getValue("Complete_Record","industry2"))
    
    
industry3_dropdown.select(readExcel.getValue("Complete_Record","industry3"))
    end
end


module ClientRecord
  def industry1_dropdown
    return $browser.select_list(:id, 
"CPContent_TabContainer1_tab_company_information_ddlIndustry1")
  end
  
  def industry2_dropdown
    return $browser.select_list(:id, 
"CPContent_TabContainer1_tab_company_information_ddlIndustry2")
  end
  
  def industry3_dropdown
    return $browser.select_list(:id, 
"CPContent_TabContainer1_tab_company_information_ddlIndustry3")
  end

end


On Tuesday, September 10, 2013 7:40:17 AM UTC+8, Željko Filipin wrote:
>
> On Mon, Sep 9, 2013 at 4:25 PM, topgun fifteen 
> <[email protected]<javascript:>
> > wrote:
>
>> Here is my Ruby Error
>> Error: test_valid_client(ClientRecord_Create)
>>
>
> You still did not post the Ruby code that causes the error. Also, can you 
> reproduce the error just with the HTML you have posted?
>
> Željko
>

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to