Hi,

I used this piece of code with QTP/QC v11 and it did not work and thus 
unable to save back thr runtime datatable to QC Runs

Do I have to ensure of any specific settings in addition to this?
Please suggest. Thanks,

Taru

On Wednesday, 21 November 2007 23:27:50 UTC-5, Ganesh muralidharan wrote:
>
> Kindly run the function from a QC saved script and run the script from 
> Test lab. The attachment will be uploaded to the QC run
>
> On 11/22/07, ajay <[email protected] <javascript:>> wrote: 
>>
>>
>> No.i ran the script in qtp.
>>
>> On Nov 21, 8:07 am, "Ganesh muralidharan" < [email protected]> wrote:
>> > Did u try running the code from a QC script?
>> >
>> > On 11/20/07, ajay <[email protected]> wrote:
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > > Hi Ganesh,
>> >
>> > > Set obj_Afact = QCUtil.Currentrun.Attachments
>> > > This line giving error as object required QCUtil.Currentrun.
>> >
>> > > Thanks and regards
>> > > Suma
>> >
>> > > On Oct 17, 11:17 am, "Ganesh muralidharan" <[email protected]>
>> > > wrote:
>> > > > You can use Datatable.Exportsheet to export your run time sheet and 
>> then
>> > > use
>> > > > the below code to upload the file back to QC runs
>> >
>> > > > here strPathName will be filename with path
>> > 
>> > > > Dim obj_Afact
>> > > >  Dim obj_Att
>> >
>> > > >  Set obj_Afact = QCUtil.Currentrun.Attachments
>> > > >  Set obj_Att = obj_Afact.AddItem(Null)
>> > > >  obj_Att.FileName = strPathName 
>> > > >  obj_Att.Type = 1
>> > > >  obj_Att.Post
>> >
>> > > >  Set obj_Afact = nothing
>> > > >  Set obj_Att = nothing
>> >
>> > > > On 10/17/07, ajay kumar kommalapati < [email protected]> 
>> wrote:
>> >
>> > > > > Hi All,
>> >
>> > > > > Can we export run time data table to Quality Centre. If, yes can 
>> u 
>> > > please
>> > > > > provide me the method or code for it
>> >
>> > > > > Thanks and Regards
>> >
>> > > > > Ajay- Hide quoted text -
>> >
>> > > > - Show quoted text - 
>> >
>> > --
>> > Ganesh Muralidharan
>> > Wipro Technologies
>> > Mob. : 9343873132- Hide quoted text -
>> >
>> > - Show quoted text -
>>
>>
>>
>
>
> -- 
> Ganesh Muralidharan
> Wipro Technologies
> Mob. : 9343873132 

-- 
-- 
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 Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to