Code Monkey home page Code Monkey logo

murgi's Introduction

Murgi

For converting visual studio .trx file into beautiful html reports

What is Murgi ?

Murgi is a python based trx to html convertor using jinja templating engine.

Command ?

python aviconv.py <trxfilename.trx> That's all , a report1.html file will be generated which will have everything.

How this convertor is different from trx2html and other convertor ?

In visual studio every test method is treated as one test,hence pass fail depends upon the pass/fail of method, sometimes if a test has multiple test data for example 10, out of which if a single test data fails then whole test method is failed, hence this convertor converts based on testdata , for example in a test method if 5 test data passed out of 10 then result will be shown as 50% pass rather than 0% pass shown by earlier convertors.

Please feel free to clone>Change>Commit, use it in your projects and let me know in case if it has bugs .

murgi's People

Contributors

avinash8526 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

murgi's Issues

Syntax Error

File "aviconv.py", line 13
print os.getcwd()
^
SyntaxError: invalid syntax

Report is does not contain any data or graphs.

image

Below is the code for the .trx file.

Test Results for myWSBA(FireFox) ExecuteCommand failed! InError set by the client. Client Error: mozCommandProcessor: ProcessInformationCommand(): Document is not ready to retrieve its markup. BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:'null',Data:'',ClientId:'c8ce1d08-f907-47fe-a2a4-21eef62cc3a5',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'mozCommandProcessor: ProcessInformationCommand(): Document is not ready to retrieve its markup.') InnerException: none. Unable to locate element. Details: Attempting to find [Html] element using Find logic (Html): [href 'Exact' DisciplineNotice.aspx] AND [tagname 'Exact' a]

Unable to locate element. Search failed!

Learn more about finding elements here:
http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/troubleshooting_guide/test-execution-problems/unable-to-locate-element.aspx






ImportError | Python v.2.7.9

Traceback (most recent call last):
File "aviconv.py", line 4, in
import jinja2
ImportError: No module named jinja2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.