But, there is no :id property associated with it. Thanks Wesley Chen for your quick response. But, unfortunately the solution shared doesnt seem to work.
html code is: <TD class="ms-OneMerckQuickPollMessageDisplayCell"> You have already submitted your response. </TD> Hence, the only attribute I have to access text is" class". Please suggest how to go ahead with it. Thanks, Rahul On Jun 15, 3:06 am, Wesley Chen <cjq....@gmail.com> wrote: > puts ie.cell(:id,...).text > Thanks. > Wesley Chen. > > > > On Mon, Jun 15, 2009 at 2:48 PM, Rahul Ahuja <mightyah...@gmail.com> wrote: > > > I want to compare value of textfield appeared on webpage with > > expected > > output. > > > for example: > > One my web application; i have a submit button. Wheneven I click it; > > following message is displayed. > > > You have already submitted your response. > > > Following is the html code for it: > > > <TD class="ms-OneMerckQuickPollMessageDisplayCell"> > > You have already submitted your response. > > </TD> > > > Please do let me know specific command to capture this. > > > Thanks in Advance > > Rahul- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---