Can we write test cases in excel and upload into Kiwi tcms - kiwi-tcms

I just started using Kiwi TCMS and i do not find an option to upload an excel into Kiwi TCMS.
I can only create one test case at a time which is consuming time for me. So i want to write the cases in an excel sheet and then upload it to Kiwi TCMS.

Answer is NO, you can't import Excel files directly, see the docs here:
https://kiwitcms.readthedocs.io/en/latest/import-export/index.html
Another user had started working on an import script mentioned at:
https://github.com/kiwitcms/Kiwi/issues/1104
If you decide to write something by youself please be a good open source citizen and contribute it back to our api-scripts repository (all mentioned in the docs).
To speed up writing process you can use the "Clone" functionality when writing test cases or parse/import from existing sources using the API.

Related

How do I run a docker image on a DigitalOcean droplet?

Caveat that docker is completely new to me and I may be making glaring errors in the configuration that I'm simply not aware about.
My goal is to have a droplet on digital ocean doing two things. Pulling the image from a repo when it is modified and running the container.
The container will need to run a react application. This should also pull from a repository on change.
I currently have a docker image for my react project. And the questions I'm trying to answer are:
Docker image pull on droplet:
Pull an image from a repo on a regular schedule
Restart the image
React application pull on droplet:
Pull a version from a repo on a regular schedule
Restart the application
It occurs to me that pulling the version from the repo could be achieved with a cron job. It's been a long time but I could probably figure that out.
I realise this question provides few details. I'm still trying to get my head around many concepts here and I find that a lot of the documentation doesn't quite provide the answers I need in whole, and if in part it's small parts strewn across many pages. Any help, or pointing in a direction is greatly appreciated.
You can use WatchTower
Pull an image from a repo on a regular schedule
Restart the image
Full documentation here : WatchTower - Go to the Argument section to view Scheduling arguments.
I don't know why you want to pull the project from repo while running the docker image but for this, you can use jenkins for CI/CD on the digital ocean server.
You just need some basic tutorials to do this:
Pull a version from a repo on a regular schedule
Restart the application
I think first you need to clarify some basic concepts.
Image is like a template
Container is the instance of an image
The images can't be restarted because those are not instances of something while containers can be restarted because those are running a specific version of an image.
Also, I think you're implementing bad approach updating under a cron your environment because what would happen if you by accident push a wrong image? All the system will fail, so, IMHO, I strong recommend you don't do that, better yet, do it through a tool like Jenkins, Github Actions, Gitlab Pipelines, son on, and use better practices of CI/CD.

how to import the existing test cases from excel file to kiwi tool

i have a excel file which has 23 sheets and each has minimum 15 test cases. i need to import all the test cases into kiwitcms test management tool. We are exploring this tool for our project. There are almost more than 500+ test cases available for our application. Could anyone let us know is there any option for importing?
See the following documentation
https://kiwitcms.readthedocs.io/en/latest/import-export/index.html

Web Macro to Python (Selenium)

a year ago, I was using an a macro to record my actions on the web and then converting them to a python selenium script. Now I want to do that again but cant find the add-in or plug that allowed me to do this. Essentially I clicked the record button and it ran in the background recording my clicks and then sent it to a python script.
I remember it required me to download an older version of Firefox to work properly.
I need this it allows to be record a task and then piece together multiple instances into a full fledged script.
Does anyone know a program that converts a web macro into an actual python script that I can edit and use?

Launch remote process for automated test using Kiwi tcms

Is it possible to have a kiwi-tcms test case launch an executable on a remote server in order to execute the test case and if so how could that be done ?
Short answer - NO!
Long answer:
what you are looking for is some kind of test runner or CI system - that will connect to a remote computer (or use an API directly) and launch automated test cases based on some parameters.
This brings up so many questions I can't even list all of them here but some of the most important ones:
who/where we store authentication credentials
how are progress and results monitored and reported
when are tests scheduled ? What kind of triggers are supported/desired ?
Kiwi TCMS takes a different approach when dealing with automated tests. You can schedule your tests in any way you like and then report the execution results back to Kiwi TCMS.
We are working on plugins for popular test runners, like JUnit, Python Nose, etc, that will automatically discover the result and name of your automated test cases and report them back to Kiwi TCMS.
If you do need a specific plugin/framework please open a request on GitHub and our team will take it into consideration.
Edit: upvote, comment & follow this feature request at https://github.com/kiwitcms/Kiwi/issues/914
I needed to do something similar: run automation on remote systems and report results back to Kiwi. I put together several components to get the entire system working. Here's what worked for me:
Jenkins to initiate test runs and manage remote machines
A Python script to create test runs against a test plan and write out a custom test run manifest, which is...
Passed to the automation system (.NET/C#) via more scripts to make sure the remote machine is configured correctly
Automation output is directly consumed by Jenkins to report test results for the build/job as well as consumed by another Python script that pushes results back to Kiwi
The automation system knows how to interpret the test run manifest and map test cases to test methods implementing the test. It's important to include the Kiwi caserunid throughout the pipeline so the result is associated with the correct Kiwi entry.
please open feature requests on GitHub if you'd like to get test runner adapters (essentially plugins) for Kiwi TCMS. GitHub is the only place where we can track who needs what and prioritize!

From Excel to WordPress site app

I am searching for the proper way to build an online database application to behave similar to an Excel datasheets that I have.
I have a working excel file with many calculations, and I need to port this to my WordPress website as a service.
My clients would be able to log into the web app section in WordPress, and manipulate their own data sheet, and get results from all the calculations.
Any idea or direction regarding recommended platform or programming language that can do that ?
Sincerely
Dan
If you want to create a web calculators based on an Excel file I would recommend you to take a look at “Appizy”. It converts instantly a spreadsheet into a standalone web calculation tool (HTML+CSS+JAVASCRIPT). You don’t need to hardcode the whole interface and calculation formulas!
As your Excel file is converted in HTML you can download it and paste it in your WP installation.
If you want to include database you might need to had a bit of PHP on top...
Let me know if it helped you!

Resources