Test Record Display
Posted: Sat Jan 06, 2018 11:04 am
Hi
I am using polarion to show the testcases as work items and have the tracebility of the testcases status.
I am writing xyz c# application to import the testcases from excel to polarion web application.After importing , polarion web application is opened and the testcases will be assigned to the users/testers.
The assigned testcases will be downloaded to excel file 123 by Polarion user using the xyz c# application and give as an input file i.e 123 to some other application abc.This abc application will run the testcases and upate the testresults to the 123 excel file.
123 excel file is an input file for xyz application to read the test results of every testcase.
We are able to read the excel and add the test record for every testcase.The issue we are facing is the test record history data is not showing its data in its correct columns.And the way to update the actual result is not understood.Please suggest.
Please find the screen shot (untitled.png(issue file) and untitled1.png(correct file).
Code i am using to add the testrecord to the testcase when the testrun is matched is
DateTime dt = Convert.ToDateTime(null);
TestRecord testRecord = new TestRecord();
text.content = "";
testRecord.comment = text;
testRecord.defectURI = wiList[index].uri;
testRecord.duration = 0.0F;
testRecord.executed = dt.ToLocalTime();
testRecord.executedByURI = wiList[index].assignee[0].uri;
testRecord.result = enumid;
testRecord.testCaseURI = wiList[index].uri;
testRecord.testCaseRevision = "";
conn.TestManagement.addTestRecordToTestRun(testRun.uri, testRecord);
Thanks in advance,
I am using polarion to show the testcases as work items and have the tracebility of the testcases status.
I am writing xyz c# application to import the testcases from excel to polarion web application.After importing , polarion web application is opened and the testcases will be assigned to the users/testers.
The assigned testcases will be downloaded to excel file 123 by Polarion user using the xyz c# application and give as an input file i.e 123 to some other application abc.This abc application will run the testcases and upate the testresults to the 123 excel file.
123 excel file is an input file for xyz application to read the test results of every testcase.
We are able to read the excel and add the test record for every testcase.The issue we are facing is the test record history data is not showing its data in its correct columns.And the way to update the actual result is not understood.Please suggest.
Please find the screen shot (untitled.png(issue file) and untitled1.png(correct file).
Code i am using to add the testrecord to the testcase when the testrun is matched is
DateTime dt = Convert.ToDateTime(null);
TestRecord testRecord = new TestRecord();
text.content = "";
testRecord.comment = text;
testRecord.defectURI = wiList[index].uri;
testRecord.duration = 0.0F;
testRecord.executed = dt.ToLocalTime();
testRecord.executedByURI = wiList[index].assignee[0].uri;
testRecord.result = enumid;
testRecord.testCaseURI = wiList[index].uri;
testRecord.testCaseRevision = "";
conn.TestManagement.addTestRecordToTestRun(testRun.uri, testRecord);
Thanks in advance,