Ask a Question

How to add multiple test items to a project in Test complete via file upload or using API

SOLVED
Sujith11390
New Contributor

How to add multiple test items to a project in Test complete via file upload or using API

I have around 1600 test items to be added in a Test complete project. I am currently adding the test items manually and it is taking a longer time. 

It would be helpful if there is a way to upload these test items via file or using API

 

Please suggest a quick method to achieve.

3 REPLIES 3
Marsha_R
Community Hero

Where are the tests now and what kind of files are they in?


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame

The data is in a Excel workbook in following format

TestCaseName       FunctionName                     Parameters

211012_TC              fnDriverExecuteTestcase     211012

 

where my Testcase name is Name in Test items

function name is Execution Entity

parameters is Parameters in Test Items page.

Hi,

 

No API to create Test Items in the test project exists as per my knowledge.

You may investigate the structure of the project .mds file and manually modify it to add Test Items to it. But as the structure of the .mds file is not documented and is subject to change such investigation and results of manual .mds file modification are solely on your own risk.

 

The data is in a Excel workbook

What is the primary source of these data? Is it Excel or TestComplete?

If it is Excel, then, actually, in TestComplete you have one data-driven test (DDT).

You may consider to use the aqTestCase object provided by TestComplete if you like to separate tests executed within the DDT loop.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
cancel
Showing results for 
Search instead for 
Did you mean: