Skip to content

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

License

Notifications You must be signed in to change notification settings

RedundantCich/xl2TestlinkXml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages