Code Monkey home page Code Monkey logo

xl2testlinkxml's Introduction

Excel to XML for Testlink

Description

This is a little script to convert .xlsx/.xls files with your test suites into .xml in order to import them into TestLink.

I find it more relaxing and efficient to write test cases in LibreOffice Calc, but TestLink is definitely more useful for planning and executing test scenarios.

There is an example xlsx file in ./xl_source/

Prerequisites

1A. The script uses openpyxl for reading excel files. You can just run the following command:

pip install openpyxl

1B. Alternatively, get pipenv:

pip install pipenv

and run this command to set up your environment

pipenv install
  1. Put your excel files containing your test suites into ./xl_source/ folder.

  2. Go to ./config/reader_config.py and edit the file:

    rows_to_skip = int with the number of the row where your data starts

    file_format = 'xlsx' or 'xls'

    columns_in_use = set the columns you use as keys according to value[0]

Running

Just run:

exec_script.py

The results will be in ./xml_results/

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.