Hi Ashwin, you could try this combination : storeProperty (http://webtest.canoo.com/webtest/manual/storeProperty.html, see "Inline text") applied to pdf2TextFilter ( http://webtest.canoo.com/webtest/manual/pdfToTextFilter.html)
then some Groovy steps (http://webtest.canoo.com/webtest/manual/groovy.html) to count the number of 'Submits' in your property. I think it should work, but I'm not sure about the 'inline text' of storeProperty : I don't know if it can store the result of another step (pdfToTextFilter) in a property. You'll have to try it ; let us know if it works ;) ! Another solution (an ugly one) would be to store your response when you invoke/click/whateverelse your PDF (I mean saveresponse:true), then to execute a groovy step which would open your PDF file, read and process the data the way you want... Regards, Guillaume 2010/8/12 John Spann <[email protected]> > Hi Ashwin, > > I don't understand why you aren't verifying the full sentence instead? > > John Spann > > Software Engineer > Citrix Online | 6500 Hollister Avenue | Goleta, CA 93117 > T: +1 805 690 3489 | M: +1 805 729 0008 > [email protected]<x-msg://29/[email protected]> > http://www.citrixonline.com<http://www.citrixonline.com/> > > [cid:[email protected]] > > > Access Your PC From Anywhere: www.gotomypc.com<http://www.gotomypc.com/> > Online Meetings Made Easy: www.gotomeeting.com<http://www.gotomeeting.com/ > > > Remote Support Made Easy: www.gotoassist.com<http://www.gotoassist.com/> > Webinars Made Easy: www.gotowebinar.com<http://www.gotowebinar.com/> > > > > > On Aug 11, 2010, at 7:55 PM, <[email protected]<mailto: > [email protected]>> wrote: > > Hi All, > > I need to count the specific word that is repeated in the pdf file. > > For e.g. Consider this text in the PDF file > “Once the Submit button is clicked then it should be grayed out. Hence > double clicking the Submit button should not be possible.” > > Here I want to count the number of times the word Submit is repeated. > Expected output should be 2 times. > > Your support will be much appreciated. > > Thanks in advance > Best Regards, > Ashwin Jujare > > This e-mail and any files transmitted with it are for the sole use of the > intended recipient(s) and may contain confidential and privileged > information. > If you are not the intended recipient, please contact the sender by reply > e-mail and destroy all copies of the original message. > Any unauthorised review, use, disclosure, dissemination, forwarding, > printing or copying of this email or any action taken in reliance on this > e-mail is strictly > prohibited and may be unlawful. > > >

