Ask a Question

Creating a test item through a script

rkarger
Occasional Contributor

Creating a test item through a script

I'm curious as to whether I can create a test item through a script.  My project needs to search through a folder and add all the tests it finds nightly, and it would be very convenient if upon finding the input file for each test I could add a test item with the specified input and number of times to run automatically.



Thanks.
2 REPLIES 2
chris_reynolds
Occasional Contributor

Well the Project.TestItems doesn't seem to have an add method so it is unclear how to do it. Which is a shame because it was on my todo list for a test suite.
anna_v
Staff

Hi Rebecca,

I'm curious as to whether I can create a test item through a script.


Currently, there is no way to do this. We have a suggestion in our database to make it possible to create test items from script, and your request has increased its rating.



Thank you.

Ann
I’m not a member of the SmartBear Support Team, I’m just helping users in this community.
Any views or opinions expressed do not necessarily represent those of SmartBear Software.
cancel
Showing results for 
Search instead for 
Did you mean: