Example will show how you to add your Selenium Test Scripts into SVN ( Subversion)
Difficulty Level:
Advanced
What you will learn?
how to check out your created script/folder in SVN repository.
Tips:
- Some prior knowledge of SVN
- Tortoise SVN Client does not have to be used - you could another SVN client
- SVN Server would normally be installed for you as part of your software infrastructure ( so don't get too caught up with the ins and outs of the configuration - that is beyond the scope of this exercise)
Pre-requisites:
- SVN is installed and configured on the PC
- Tortoise SVN client installed on the PC
Steps Create a new Repository:
- Create the HelloWorld Script directory somewhere on the Harddrive.
- Select the same directory and do right click on same.
- Click SVN checkout option.
- Click OK button on the generated pop-up, directory is successfully added into SVN.
- Copy the HelloWorld script into directory and do right click on the HelloWorld script.
- Click Add under TortoiseSVN option and again select HelloWorld script and do right click.
- Click SVN commit option and script is successfully added into SVN.
- Do right click on any already added directoy and click SVN Update option.
- Edit the HelloWorld script. and save the edited script.
- Now select the HelloWorld directory and do right click on selected directory.
- Click on SVN Update option and open the HelloWorld script.
- Edited script is successfully displayed.
Scripts:
n/a
Steps to Commit new code the repository and perform a check-out.
- locate the Hello World test script directory
- Add the code into the SVN
- SVN comit the code ( add a log message for the checkin - "initial checkin"
- Show how you can check out the code to another directory
- Show an edit to a file gets - checked in and committed with a log message
- Show the source code is now updated in the repository
- SVN check in and check out process
- SVN commit process
- SVN server installation and Tortoise SCN Client installation and usage
Related Links:
n/a
Video:
It's done.
ReplyDeleteIt's completely done from my side, please review and move it from todo if it works good for you or provide your feedbacks.
ReplyDelete