Hi Kalyani,

Try this.

D i m   f s o ,   f
S e t   f s o = c r e a t e o b j e c t ( " s c r i p t i n g . f i l e s y
s t e m o b j e c t " )
s e t   f   =   f s o . o p e n t e x t f i l e ( l o g f i l e , 8 , T r u
e )
f . w r i t e l i n e   " t e s t "

This will create a filesystem object in second line.
In 3rd line it will create a text file with permission to append text.

Hope this helps.


On Mon, Feb 14, 2011 at 1:34 PM, kalyani k <[email protected]> wrote:

> how to open a text file in qtp using descriptive programming? Can anybody
> send me the answer.
>
> --
> 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




-- 
REGARDS
VISHNU V POTTI

-- 
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

Reply via email to