chawza / excel2docx

my helper scripts to convert manual testcase to document while working at BTPN

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Excel2docx

my helper scripts to convert manual testcase to document while working at BTPN

How to Install

  1. install python from python foundation. My test enviornment uses version 3.7, I have not test higher version (try it if you want)

  2. open your terminal

  3. install excel2docx from this github repo globaly

    python -m pip install git+https://github.com/chawza/excel2docx.git@main
    

    some machine uses python2 or python3

    you can change the main option to other branch if you want

How to run

The Gui way

open the app using graphical user interface for easier experience thanks to Tkinter module

  1. open your terminal

  2. run the package as python module

    python -m excel2docx gui
    
  3. the gui should show

    Excel2docx in GUI version

    Make sure the python have Tkinter module installed

    Tips: you can create cmd/bash shortcut to run this quickly

The CLI way

   python -m excel2docx <source file> [target directory> <mode>]

source file

full path of your excel file in your machine

target directory

(optional) where do you want your docx file saved in your machine

mode

(optional) how to read the scenario title

--uac-comment (default) : define scenario title as comment

--uac-sheet : define scenario title in "uac" sheet

About

my helper scripts to convert manual testcase to document while working at BTPN


Languages

Language:Python 100.0%