Hi Please download the file at your temp, Edit it and then upload it to QC. Use 'QCUtil.currentTest.Attachments' method. Best regards, Vishal Sent from BlackBerry® on Airtel
-----Original Message----- From: bhavin v patel <[email protected]> Sender: [email protected] Date: Wed, 8 Aug 2012 12:49:24 To: <[email protected]> Reply-To: [email protected] Subject: Re: Reading and Writing to a file from TestLab I assume that you are using Excel file but below method is possible for flat file. I have done reading files from QC and inserting result into that file but i was storing that file in Test Plan not in test lab .. You can simply import the sheet from QC to QTP (There are example in help file) You need to add file relative path to Option Folders and use "PathFinder Object, Locate Method" to locate that file and just import that file : Read Data from that file Insert result data to a file Export the sheet back to QC I believe you could do similar things from QC Test Lab.. Good luck.. update us with your success! Thanks, Bhavin On Wednesday, August 8, 2012 5:37:21 AM UTC-4, deepti dev wrote: > > Hi everyone, > > I need some help in reading a File from the QC TestLab and editing the > file with the result. > Has anyone done this already ? > > > Thanks, > Deepti > -- 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 -- 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
