Oh at last I solved that problem. Actually when the steps come to match the case I made a mistake in the last step so the light box wasn't appeared in that step and watir could not find the text.
On Thu, Dec 30, 2010 at 12:01 PM, Dave McNulla <mcnu...@gmail.com> wrote: > Like Sharma and Željko said, we want to know what Watir sees. Even > though your eyes see the text, Watir doesn't have human eyes. It > parses html. We should be able to examine that html either by you > posting it or providing a link. To post html, navigate until the > lightbox appears, right click and select Show Source (or something > similar), then copy the html, especially that part with the text you > saw visually. > > Thanks > > Dave > > On Dec 29, 12:54 am, Irfan Ahmed <irfan...@gmail.com> wrote:t > > browser.text.enable?("text").should == true. > > It is not working. :( > > as the text was from java script..:( > > > > On Wed, Dec 29, 2010 at 2:34 PM, Željko Filipin < > > > > > > > > > > > > > > > > > > > > zeljko.fili...@wa-research.ch> wrote: > > > On Tue, Dec 28, 2010 at 8:15 PM, Irfan Ahmed <irfan...@gmail.com> > wrote: > > > > browser.text.enable?("text").should == true. > > > > > Please provide relevant HTML or link to the page (or similar one). > > > > > Željko > > > -- > > > watir.com - community manager > > > watirpodcast.com - host > > > testingpodcast.com - audio podcasts on software testing. all of them > > > > > -- > > > Before posting, please readhttp://watir.com/support. In short: search > > > before you ask, be nice. > > > > > watir-general@googlegroups.com > > >http://groups.google.com/group/watir-general > > > watir-general+unsubscr...@googlegroups.com<watir-general%2bunsubscr...@googlegroups.com> > <watir-general%2bunsubscr...@goog legroups.com> > > > > -- > > Thanks, > > Irfan Ahmed Rizvi (Sagar) > > > > cell Numbers: > > +880 1676 246 991 > > +880 1723 712 888 > > > > http://www.welltreat.ushttp:// > restaurant.welltreat.us/http://isp.welltreat.us/ > > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > watir-general@googlegroups.com > http://groups.google.com/group/watir-general > watir-general+unsubscr...@googlegroups.com > -- Thanks, Irfan Ahmed Rizvi (Sagar) cell Numbers: +880 1676 246 991 +880 1723 712 888 http://www.welltreat.us http://restaurant.welltreat.us/ http://isp.welltreat.us/ -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com