How to reset BPT test case iterations automatically
Question ID: 104959
0
0

My automated BPT test cases use the iteration functionality. After testing I have an Excel report that tells me which test cases are not at the all iteration settings:

SELECT DISTINCT TEST.TS_TEST_ID, TEST.TS_NAME,TEST.TS_RESPONSIBLE, BC_RUNFROM_ITERATION, BC_RUNTO_ITERATION
FROM BPTEST_TO_COMPONENTS join
Test on BC_BPT_ID=TEST.TS_TEST_ID
where BC_RUNFROM_ITERATION <> -1 or BC_RUNTO_ITERATION <> -1
ORDER BY TEST.TS_NAME

This produces a large list. I would like to create a customized button that I can click in HPQC that would run an SQL to set the BC_RUNFROM_ITERATION and BC_RUNTO_ITERATION to -1 before regression testing starts. Is this something I can do? Is it too dangerous to perform something like this using SQL calls? Is there a better way of doing this?

Thanks – Judy

Marked as spam
Posted by (Questions: 2, Answers: 2)
Asked on April 11, 2013 2:08 pm
124 views
Answers (1)
0
Private answer

Hey Judy,

I would take a look at the admin and OTA guides for QC. Specifically for adding button functionality. I am not sure weather this would break QC or not. I would Create this in a test project to see if it breaks anything within the project. Can't hurt to try and based on the query above it looks like half the work is already done.

Marked as spam
Posted by (Questions: 1, Answers: 69)
Answered on June 20, 2013 3:21 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top