Dinesh k
Dinesh k

Reputation: 11

RobotFramework : Getting testcase results while execution is in progress

We are using Robot framework and RIDE tool for test case execution. we have 100+ testcases and test execution takes more than 6 hours to complete.

RF result and log html is great for viewing results. But these 2 files are viewable only after completion of test case execution.

Is there any plugin / tool or mechanism to view the testcase result status during execution. in RIDE tool -"Run" tab - only shows pass:<> fail:<> and not very user useful.

Need real time testcase status report instead of waiting for completion

Upvotes: 1

Views: 3990

Answers (2)

W&#252;rgspa&#223;
W&#252;rgspa&#223;

Reputation: 4820

Using the listener interface (as Bryan Oakley suggested) is surely the most flexible way to intercept test progession status. If you are looking for tools, Jenkins (with Robot Framework plugin) gives you the opportunity to follow a test run in real time at test case granularity. Just start a job and switch to (Jenkins) console to see the output dropping in.

Upvotes: 1

Bryan Oakley
Bryan Oakley

Reputation: 385830

You can use the listener interface. With it, you can have robot framework call a python function each time a keyword, testcase or suite starts and finishes. For the case where they finish, the data that is passed in will include the pass or fail status.

Upvotes: 1

Related Questions