Hi Sashi,
find the below script
Set FSO=CreateObject("Scripting.FileSystemObject")
set txtObj=FSO.OpenTextFile("f:\sample.txt") 'path of txt file
str=txtObj.ReadAll
msgbox len(str)
Thanks and Regards,
Govindaram Sirvi
On Tue, Jan 25, 2011 at 4:51 AM, shashi qtp <[email protected]> wrote:
> HI all,
> I have a word written shashi is a good boy in a notepad .
> how can i know the length of the string in the notepad plz help...
>
>
> Regards
> Shashi
>
> --
> You received this message because you are subscribed to the Google
> "QTP - HP Quick Test Professional - Automated Software Testing"
> group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<mercuryqtp%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/MercuryQTP?hl=en
--
Thanks and Regards,
Govind
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en