Check your code is it: Customer Lines or CustomerLines or did you give us a typo. for the span click try
puts @browser.span(:id=>"divCustomerLinesTabTab").exists? @browser.span(:id=>"divCustomerLinesTabTab").flash() @browser.span(:id=>"divCustomerLinesTabTab").click On Wednesday, March 20, 2013 6:33:55 AM UTC-5, mc060200778 wrote: > > Hi, > > i am facing problem in automating the following HTML code > > <a href="#divCustomerLinesTab" data-toggle="tab">Customer Lines<span > class="tabLoading" id="divCustomerLinesTabTab" style="display: > inline;"></span></a> > > I am using the following lines but NOTHING IS working for me :( please > help & advise > > @browser.span(:class,"tabLoading").click > *@browser.link(:href,"http://TestApp:8080/CustomerManagement/").click* > *@browser.a(:text,"CustomerLines").click* > * > * > Thanks, > * > * > -- -- 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.
