Write information from QTP to QC Test Lab Field

  • Questions
  • Write information from QTP to QC Test Lab Field
Question ID: 104360
0
0

We’ve created a Test Lab field called Build (TC_USER_02). What I want to do with my daily regression execution tests is get the version number of the current build from our database and insert that value (typical format #.#.####.###) into the Build field in the Test Lab during the test run so that we can track what runs were executed against which builds.

Any ideas how to go about doing this?

Marked as spam
Posted by (Questions: 16, Answers: 749)
Asked on May 3, 2011 3:09 pm
13 views
Answers (1)
0
Private answer

I found how to do this shortly after asking....

QCUtil.CurrentTestSetTest.Field(''TC_USER_02'') = DataTable.Value(''Build'', dtLocalSheet)
QCUtil.CurrentTestSetTest.Post

I guess I neet to learn more about the QCUtil!!!

Marked as spam
Posted by (Questions: 16, Answers: 749)
Answered on May 3, 2011 4:31 pm