//testing.js file
describe('Criteria and Adjustment Section', function () {
it('the labels should have correct spellings -Expected result- the labels have correct spellings', function () {
//some logic
});
describe('Test 1', function () {
it('Click on the company dropdown -Expected result- Four options will be shown', function () {
//some logic
});
//there are multiple describe-it functions like this.
//this is a testing.js file and I have to parse this file into an xml file so that it looks like:
//.xml file
Test No. Test-Cases Expected Results
----------
01 all the labels should the labels have correct spellings
have correct spellings
----------
02 Click on the company Four options will be shown
dropdown