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?
Answer by Michaeldx · May 03, 2011 at 04:31 PM
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 need to learn more about the QCUtil!!!
Send email from QTP 4 Answers