Go down
Posts : 2
Join date : 2010-09-06

Need help on testcase execution/reporting

on Wed Oct 27, 2010 7:19 pm
Hi all,

I need help from you
My question is how to avoid unwanted test cases not to be executed? like i have so many test cases in one java class.and i want to execute few of them..what is the approach to do it. and i also want to know how to report test execution results to an XLS sheet? please leave your suggestions.
Posts : 387
Join date : 2009-07-30
Location : India

Re: Need help on testcase execution/reporting

on Fri Nov 26, 2010 11:11 pm
Hi ,

I am replying to your question one by one :

1. You have to create mechanism either through file or excel it depends on you, in which you will set the status of your test case whether you want to execute or not. then parse that file and you can match each value with test case id if it matches then execute that test case other wise ignore it. for that good programming skill needed,but im sure you can do it.

2. there are 2 ways to do it. first you can use textfile in which you can write the status of your test cases. for ex:
test_case_34 Pass
checkpointpass 14
checkpoint_fail 2
total_checkpoint 16

similarly for all test cases. this is simple appraoch and can be done easily.

Another approach using excel to create report, for this you have very good programming skills to work with excel API and it's really tough. It require lot of time to develop and mostly use in framework development. the same approach is follow here, execute each test case, store results into some variable and write into excel.

HOpe this help you little bit. best of luck.


Back to top
Permissions in this forum:
You cannot reply to topics in this forum