Tip: I always archive my projects with WinZip/[other] before doing any project changes.
High level work-flow:
- First create a GitHub repository (https://github.com/).
- Start Katalon Studio.
- Enable Katalon Git (Window > Katalon Studio Preferences > Katalon > Git).
- Check the Katalon Git ‘Default repository folder:’ (Window > Katalon Studio Preferences > Team > Git).
*This will be the local folder where Katalon projects will be stored.
*Change the folder location if desired - Open the Katalon project that will be pushed/loaded to GitHub.
- Click Git > Clone Project.
- Input the Repository URL, User & Password; click Next.
- Branch Selection dialog displays; click Next.
- Local Destination dialog displays; click Finish.
*Change the folder location if desired. - Click Git > Commit.
- Select all ‘Unstaged Changes’ & add them to ‘Staged Changes’.
- Add a commit message.
- Click the ‘Commit and Push’ button.
- Pushed to KatTest001 dialog displays.
- Click OK button.
- Switch to your GitHub repository and do a page refresh.
Result: The Katalon project should now display in GitHub.
Test the new GitHub repository:
Add a few test cases to the project and then repeat steps 10 to 16.
For more Katalon Git details see the following:
https://docs.katalon.com/katalon-studio/docs/git-integration.html
https://docs.katalon.com/katalon-studio/tutorials/git_integration_introduction.html