Restrict total number of test cases allowed for RQMExcelImporter
One answer
I don't think a custom .cfg file is the solution. The end users can make their own .cfg files any way, so it cannot be reinforced.
I actually can't think of a way to do it at all. Apparently you cannot put the limit on the server side, as the RQMExcelImporter basically converts the Excel content to REST API requests and sends to the server, and the server receives the requests one by one and has no way knowing how many of them are coming.
The only possible way that I can think of is that you obtain a special version of the RQMExcelImporter (with such limitation built in) from development, and then you can restrict the end users to only use this version of RQMExcelImporter on their machines. The first part is extremely unlikely as it is not a popular choice. The second part depends on the first part. The chance looks to be very low.
Comments
Donald Nong
Mar 09 '17, 7:57 p.m.I think you oversimplified the situation. What if the Excel file contains a single Test Plan with more than 50 Test Cases?
You may need to explain in more details why you would want to do this. Is it about performance? Management?
Leesen Padayachee
Mar 10 '17, 2:48 a.m.Hi Don