Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 990029
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T05:53:06+00:00 2026-05-16T05:53:06+00:00

I have my QTP Scripts in Test Scripts Tab and datasheets in the Attachment

  • 0

I have my QTP Scripts in Test Scripts Tab and datasheets in the Attachment Tab of TestPlan of QC.
I import these datasheets to Datatable (Global) of QTP and use the data in my application using the QTP Script Parameterization and then Script updates this Global Datatable with auto generated values from application.

Now, the issue is when I export the Global Datatable using Export / ExportSheet function back to the Test Data sheets in attachments tab of QC, I don’t find the them being updated.

How can I achieve this export of Global Datatable from QTP to Quality Center?

I would like to either save the entire DataTable as a new file or update the DataTable I have in attachments already.

Saving it in the “Test Resources” tab would also be ok.

Actually, any way I could get in into Quality Center make me happy.

Using QTP 10.0 and QC 10.0

Detailed Example:

I have a test that will check the calculated tax for customers buying stuff at a website. And I want to save the result for each row
So I have data table that looks like this

Customer   Item   Expected_Tax   Actual_Tax  Pass_Fail
normal     apple  25             
normal     pear   10             
manager    apple  12             

As I run my tests QTP fill the blanks in the data table

Customer   Item   Expected_Tax   Actual_Tax  Pass_Fail
normal     apple  25             25          pass
normal     pear   10             25          fail              
manager    apple  12             25          fail

Now I want to save this data table, but when the test ends it the data is lost. So I want to save it. I know I can save it locally on my machine. But I want so save it in QC so we can retrive it later.

Update

Turns out that the data table actually is saved and you can find it if you open Test Lab and look at a test run. But I would still like to know how to save the Data Table as a Test Resource or Attachment

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T05:53:07+00:00Added an answer on May 16, 2026 at 5:53 am

    Finally found the answer to this one.
    It’s possible to use the QC OTA APIs to export it to QC.

    I made a function for this

    Function SaveToQC(ResourceName)
        '' Connection To QC
        Set qcc = QCUtil.QCConnection
    
        '' Setting Temp Folder
        TempFolder = environment("SystemTempDir") 
    
        Set ResourceFactory = qcc.QCResourceFactory
        Set ResourceList = ResourceFactory.NewList("")
        Set Resource = Nothing
        iTotalItems = ResourceList.Count
        For ItemCtr = 1 To iTotalItems
        CurItem = ResourceList.Item(ItemCtr).Name
        If UCase(CurItem) = UCase(ResourceName) Then
            Set Resource = ResourceList.Item(ItemCtr)
        End If
        Next
        Set ResourceFactory = Nothing
        Set ResourceList = Nothing
    
        '' Export Datatable to Temp Directory
        Datatable.Export TempFolder & "\" & Resource.Filename
    
        Resource.Post
    
        Resource.UploadResource TempFolder, True
    End Function
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 511k
  • Answers 511k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Since you are using a POST query, URIEncoding="UTF-8" is not… May 16, 2026 at 5:22 pm
  • Editorial Team
    Editorial Team added an answer ALL() is not standard SQL** -- it's a T-SQL extension.… May 16, 2026 at 5:22 pm
  • Editorial Team
    Editorial Team added an answer I've like Maven to package a project with run-time dependencies.… May 16, 2026 at 5:22 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

We have a suite of automatic tests written in QTP (Quick Test Pro -
I have recently completed a detailed investigation regarding GP functional test automation possibilities with
Does anyone have experience building a .NET test execution harness that can execute the
I have a virtual machine (VMware) with Mercury Quick Test Professional 9.2 installed. I
I have VBScript code which launches QuickTest Professional, executes a series of QTP tests,
We have a requirement at my workplace to automate the webservice testing. We have
There are two strings test_name that are compared in a VB script. They have
I have couple of machines on which I wish to schedule exceutions. I need
We have at work a Hudson machine that acts as a build server for
Have noticed issue while testing iphone app that if one quickly opens/dismisses a modal

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.