Can you use the OTA API in ALM to add individual test configurations to a test set
Question ID: 107559

Can you use the OTA to add a specific test configuration to a test set? Basically we want to mimic the following GUI behavior:

Execution Grid > Select Tests > Select a test configuration from Test Configuration frame > Click green arrow to add test configuration to test set. So far through the OTA we can only add all the configurations to the test set and we have to remove the ones we don't want, is there any way around this?

Marked as spam
Posted by (Questions: 100, Answers: 5)
Asked on April 19, 2017 7:09 pm
Answers (2)
Private answer

Unfortunately no, the way you described above is the only way to accomplish this using the API.

Marked as spam
Posted by (Questions: 0, Answers: 364)
Answered on April 19, 2017 7:10 pm
Private answer

The following works for me.

Dim tiF As TSTestFactory
Set tiF = testsetObj.TSTestFactory

Dim ti As TSTest
Set ti = tiF.AddItem(Null)
ti.Field(''TC_TEST_CONFIG_ID'') = configID

Marked as spam
Posted by (Questions: 0, Answers: 1)
Answered on May 10, 2017 3:53 pm

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

Scroll to Top