RIDE icon indicating copy to clipboard operation
RIDE copied to clipboard

Robotframework Metrics in RIDE

Open adiralashiva8 opened this issue 7 years ago • 6 comments

Can we have robotframework metrics report within RIDE. I feel this helps RIDE users to view statistic of there run's

Robotframework Metrics Project - https://github.com/adiralashiva8/robotframework-metrics

adiralashiva8 avatar Nov 26 '18 09:11 adiralashiva8

@HelioGuilherme66 What do you think? We could add it as a plugin.

Nyral avatar Jun 01 '19 19:06 Nyral

I think it is a good idea, and creating a plugin would be a nice solution. However, when I analysed the code, I saw that it has too many external calls to JavaScript (even calling a banner).

To be a useful plugin for RIDE is must include all the external libraries, so that can be run on a computer without Internet access,

HelioGuilherme66 avatar Jun 01 '19 20:06 HelioGuilherme66

@adiralashiva8 Would you like to make a plugin for RIDE with robotframework metrics?

Nyral avatar Jun 10 '19 01:06 Nyral

As @HelioGuilherme66 mentioned it need to acces external links to show results. What i'm thinking is lets have a tab in which we will have Custom Image URL text box and button Generate Robotmetrics on clicking on this RIDE will generate report and store in result. I assume RIDE is aware on output.xml path

Even I will try to look into possibility of implementing plugin

adiralashiva8 avatar Jun 10 '19 03:06 adiralashiva8

Please see this interesting solution from RED team at Google Group..

Make Plugin:

  • Switch on/off in TestRunner (and Plugin Properties)
  • If On, add listener to arguments
  • If On, after success generation of output.xml, generate Report Metrics, then , activate Button to open browser (like Log and Report)

HelioGuilherme66 avatar Oct 31 '19 00:10 HelioGuilherme66

Currently im working on automating regression test with specific deadlines, once i get free time will look into possibilities!

adiralashiva8 avatar Oct 31 '19 18:10 adiralashiva8