{"id":46354,"date":"2019-08-16T07:50:33","date_gmt":"2019-08-16T07:50:33","guid":{"rendered":"https:\/\/www.softwaretestinghelp.com\/?page_id=46354"},"modified":"2025-04-01T08:08:03","modified_gmt":"2025-04-01T08:08:03","slug":"selenium-integration-with-github","status":"publish","type":"page","link":"https:\/\/www.softwaretestinghelp.com\/selenium-integration-with-github\/","title":{"rendered":"Selenium Integration With GitHub Using Eclipse"},"content":{"rendered":"<p><strong>Step By Step Tutorial On Selenium Integration With GitHub Using Eclipse:<\/strong><\/p>\n<p>Git and GitHub provide a central cloud-based location, thereby facilitating developers to store, and share their codes while working on a web development project. They have revolutionized the process of software development when there is more than one developer on a project.<\/p>\n<p>GitHub provides a platform that lets the developers share their framework and allows them to work on each others&#8217; code ultimately by reducing time to build software.<\/p>\n<p><em><strong> <\/strong><\/em><\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/INTEGRATE-SELENIUM-WITH-GITHUB.png\"><img decoding=\"async\" class=\"alignnone wp-image-46391 size-full\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/INTEGRATE-SELENIUM-WITH-GITHUB.png\" alt=\"Selenium Integration with Github\" width=\"650\" height=\"367\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/INTEGRATE-SELENIUM-WITH-GITHUB.png 650w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/INTEGRATE-SELENIUM-WITH-GITHUB-300x169.png 300w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><\/a><\/p>\n<p><em><strong>In this article, we will learn how to Integrate Selenium scripts to GitHub using Eclipse. However, before learning the process, let us become familiar with what GitHub is all about and what are its basic terminologies.<\/strong><\/em><\/p>\n<h2>What is Git?<\/h2>\n<p>GIT &#8211; initially developed by Linus Torvalds is a version control system that is used to manage the source code of a software application.<\/p>\n<p>It facilitates many developers to work collectively at the same time, on the same file without providing any hindrance to the others.<\/p>\n<h2>What is GitHub?<\/h2>\n<p>Let us consider a situation for Example. Suppose you are working in a team to develop a software application and two members of a team are working on a specific module. Let us consider them as A and B.<\/p>\n<p>For that module, the developer A will have a copy in his PC and developer B will have a copy on his PC. Now at this point, if developer B changes the code in the module, then developer A wouldn\u2019t know the changes made by the developer B and vice versa.<\/p>\n<p>To overcome this problem, we have a platform which is called GitHub. Github is a Web hosting service where the source code of a software application can be uploaded\/saved through the git software (installed on your local PC) or you can directly copy the code from your PC and save on the server.<\/p>\n<h3>Features of GitHub<\/h3>\n<p><strong>Enlisted below are the various features of GitHub.<\/strong><\/p>\n<ul>\n<li><strong>Distributed:<\/strong> GitHub provides a distributed network, which means it provides a backup of the code. Thus if in case the central server crashes, the coder has its copy in the local repository. It saves each version or each copy of the changed code.<\/li>\n<li><strong>Compatible:<\/strong> Suppose if you are using any other version control system like SVN and you want to switch to GitHub, then you can easily do that without creating new code again.<\/li>\n<li><strong>Branching: <\/strong>Branching is a unique feature provided by GitHub. The developer needs to pick a section of the code from the remote branch, in that the branch developer can make changes, merge or delete codes within a few seconds.<\/li>\n<li><strong>Secure:<\/strong> GitHub uses security features of SHAI( encrypted hexadecimal code) for any changes \/commit made by the developers. Thus, it maintains the confidentiality of the developed project.<\/li>\n<\/ul>\n<h3>Basic Terminologies<\/h3>\n<p><strong>Let us become familiar with the basic terminologies associated with GitHub.<\/strong><\/p>\n<ol>\n<li><strong>Pull Request:<\/strong> If you have made changes in code\/script, to show the other collaborators you send a pull request.<\/li>\n<li><strong>Repository:<\/strong> You can simply, treat it as a storage area of your workplace that contains all your documentation files and the history of changes.<\/li>\n<li><strong>Fork: <\/strong>It is a copy of other&#8217;s repository in your account in which you can make changes and it won&#8217;t affect the original code.<\/li>\n<li><strong>Commit: <\/strong>Whatever the changes you make in your files will come under commit. Every change is saved under a particular name or ID which is also called &#8220;revision&#8221;.<\/li>\n<li><strong>Branching:<\/strong> When you extract a portion \/section of code from the main or remote track of your software, then it is called &#8216;branch&#8217; and the process is known as Branching.<\/li>\n<\/ol>\n<h3>How To Install Git?<\/h3>\n<p>Let us begin the process by installing Git on the system.<\/p>\n<p><strong>Follow the below steps to install Git:<\/strong><\/p>\n<p><strong>#1)<\/strong> Navigate to <em>https:\/\/git-scm.com\/<\/em>.<\/p>\n<p><strong>#2)<\/strong> Click on the <strong>download button<\/strong>, as shown in the below image. This will download the latest stable version of Git in your system.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture1.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-46357\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture1.png\" alt=\"download the latest stable version of Git\" width=\"650\" height=\"363\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture1.png 650w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture1-300x168.png 300w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><\/a><\/p>\n<p><strong>#3)<\/strong> Double click on the <strong>downloaded setup file<\/strong> to launch the installation process.<\/p>\n<p><strong>#4)<\/strong> Accept the <strong>GNU General Public License<\/strong>. Click on the Next button.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture2.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-46358\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture2.png\" alt=\"Accept the GNU General Public License\" width=\"494\" height=\"383\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture2.png 494w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture2-300x233.png 300w\" sizes=\"(max-width: 494px) 100vw, 494px\" \/><\/a><\/p>\n<p><strong>#5)<\/strong> Provide the <strong>installation location<\/strong> where you want to install Git. Click on the <strong>Next button<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture3.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-46359\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture3.png\" alt=\"Provide the installation location\" width=\"493\" height=\"382\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture3.png 493w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture3-300x232.png 300w\" sizes=\"(max-width: 493px) 100vw, 493px\" \/><\/a><\/p>\n<p><strong>#6)<\/strong> Select the following components as shown in the below image to install. Click on the Next button.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture4.png\"><img decoding=\"async\" class=\"alignnone wp-image-46360 size-full\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture4.png\" alt=\"Select components\" width=\"495\" height=\"383\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture4.png 495w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture4-300x232.png 300w\" sizes=\"(max-width: 495px) 100vw, 495px\" \/><\/a><\/p>\n<p><strong>#7)<\/strong> On this wizard, there is an option to create a shortcut. By default, the Start Menu folder where the shortcut icon will be created is pre-selected. Provide the location if you want to change, else leave it unchanged. Click on the Next button.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/07\/Select-Start-Menu-Folder.jpg\"><img decoding=\"async\" class=\"alignnone wp-image-85498 size-full\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/07\/Select-Start-Menu-Folder.jpg\" alt=\"Select Start Menu Folder\" width=\"549\" height=\"307\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/07\/Select-Start-Menu-Folder.jpg 549w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/07\/Select-Start-Menu-Folder-300x168.jpg 300w\" sizes=\"(max-width: 549px) 100vw, 549px\" \/><\/a><\/p>\n<p><strong>#8)<\/strong>\u00a0On this page of the wizard, we are given an option on how to use Git from the command line. Select the <strong>second option<\/strong> and by selecting this we will be able to use Git from the Windows command prompt. Click on the Next button.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture6.png\"><img decoding=\"async\" class=\"alignnone wp-image-46362 size-full\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture6.png\" alt=\"Adjust path environment\" width=\"494\" height=\"382\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture6.png 494w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture6-300x232.png 300w\" sizes=\"(max-width: 494px) 100vw, 494px\" \/><\/a><\/p>\n<p><strong>#9)<\/strong> The following screen is displayed on the wizard. Click on the Next button.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture5.png\"><img decoding=\"async\" class=\"alignnone wp-image-46361 size-full\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture5.png\" alt=\"choose https transport\" width=\"495\" height=\"298\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture5.png 495w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture5-300x181.png 300w\" sizes=\"(max-width: 495px) 100vw, 495px\" \/><\/a><\/p>\n<p><strong>#10)<\/strong> On the next page of the wizard, there is a provision to configure line ending conversion. Leave the default settings and click on the Next button.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture8.png\"><img decoding=\"async\" class=\"alignnone wp-image-46364 size-full\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture8.png\" alt=\"Configure line ending conversion\" width=\"494\" height=\"384\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture8.png 494w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture8-300x233.png 300w\" sizes=\"(max-width: 494px) 100vw, 494px\" \/><\/a><\/p>\n<p><strong>#11)<\/strong> On the next page of the wizard, select the terminal emulator which you want to use with Git bash. Leave the default settings and click on the Next button.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture9.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-46365\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture9.png\" alt=\"select the terminal emulator\" width=\"495\" height=\"380\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture9.png 495w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture9-300x230.png 300w\" sizes=\"(max-width: 495px) 100vw, 495px\" \/><\/a><\/p>\n<p><strong>#12)<\/strong> On the last page of the wizard, there is an option to enable the extra features provided by Git. Select the options as displayed on the image and click on the Install button.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture10.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-46366\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture10.png\" alt=\"enable the extra features provided by Git\" width=\"496\" height=\"384\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture10.png 496w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture10-300x232.png 300w\" sizes=\"(max-width: 496px) 100vw, 496px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture11.png\"><img decoding=\"async\" class=\"alignnone wp-image-46367 size-full\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture11.png\" alt=\"Installing Git\" width=\"495\" height=\"242\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture11.png 495w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture11-300x147.png 300w\" sizes=\"(max-width: 495px) 100vw, 495px\" \/><\/a><\/p>\n<p><span style=\"color: #ff6600;\"><strong>Note:<\/strong><\/span> Once the installation process completes, we need to verify if it was executed successfully or not. To do that, open the Command Prompt and type &#8220;Git&#8221; and press the &#8220;Enter&#8221; key. If the screen displayed below matches your output then it means that the installation process was successful.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/07\/Output-after-Successful-Git-Installation.jpg\"><img decoding=\"async\" class=\"alignnone wp-image-85499 size-full\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/07\/Output-after-Successful-Git-Installation.jpg\" alt=\"Output after Successful Git Installation\" width=\"454\" height=\"493\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/07\/Output-after-Successful-Git-Installation.jpg 454w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/07\/Output-after-Successful-Git-Installation-276x300.jpg 276w\" sizes=\"(max-width: 454px) 100vw, 454px\" \/><\/a><\/p>\n<h3>Set Up Eclipse with Git Plugin<\/h3>\n<p><strong>#1)<\/strong> Launch Eclipse and navigate to <strong>Help =&gt; Eclipse Marketplace<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture13.png\"><img decoding=\"async\" class=\"alignnone wp-image-46370 size-full\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture13.png\" alt=\"Launch Eclipse and navigate to Help\" width=\"419\" height=\"233\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture13.png 419w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture13-300x167.png 300w\" sizes=\"(max-width: 419px) 100vw, 419px\" \/><\/a><\/p>\n<p><strong>#2)<\/strong> The following screen will be displayed as shown in the below image.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture14.png\"><img decoding=\"async\" class=\"alignnone wp-image-46371 size-full\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture14.png\" alt=\"Eclipse Marketplace\" width=\"549\" height=\"569\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture14.png 549w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture14-289x300.png 289w\" sizes=\"(max-width: 549px) 100vw, 549px\" \/><\/a><\/p>\n<p><strong>#3)<\/strong> Type &#8220;EGit&#8221; in the find section as shown in the below image.<br \/>\n<strong>#4)<\/strong> Click on Go.<br \/>\n<strong>#5)<\/strong> Click on the install button to Install <strong>&#8220;EGit &#8211; Git integration for Eclipse&#8221;<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture15.png\"><img decoding=\"async\" class=\"alignnone wp-image-46372 size-full\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture15.png\" alt=\"Install &quot;EGit - Git integration for Eclipse&quot;\" width=\"549\" height=\"563\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture15.png 549w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture15-293x300.png 293w\" sizes=\"(max-width: 549px) 100vw, 549px\" \/><\/a><\/p>\n<p><strong>#6)<\/strong> Select all the options as displayed in the below image. Click on the Next button.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture16.png\"><img decoding=\"async\" class=\"alignnone wp-image-46373 size-full\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture16.png\" alt=\"Select all the options\" width=\"552\" height=\"358\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture16.png 552w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture16-300x195.png 300w\" sizes=\"(max-width: 552px) 100vw, 552px\" \/><\/a><\/p>\n<p><strong>#7)<\/strong> Accept the license agreement and click on the Finish button.<\/p>\n<p>Thus, you have successfully installed the Git plugin on your PC.<\/p>\n<h3>Create Repository on GitHub<\/h3>\n<p>Before learning the process of creating a repository, let us understand what a repository is.<\/p>\n<p>A Repository in context with GitHub means a central location where all data, files, etc., can be stored. It is particularly used to efficiently co-ordinate the activities of a project. You can add java files, screenshots, videos, Excel sheets, documents, etc., in short, all that which your project needs can be added to a repository.<\/p>\n<p><strong>Follow the below steps to create a repository on GitHub:<\/strong><\/p>\n<p>1. Navigate to https:\/\/github.com\/.<br \/>\n2. Complete the sign-up process.<br \/>\n3. Log in with valid credentials.<br \/>\n4. Click on <strong>&#8220;New Repository&#8221;<\/strong> as shown in the below image.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture17.png\"><img decoding=\"async\" class=\"alignnone wp-image-46374 size-full\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture17.png\" alt=\"create a repository\" width=\"520\" height=\"229\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture17.png 520w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture17-300x132.png 300w\" sizes=\"(max-width: 520px) 100vw, 520px\" \/><\/a><\/p>\n<p>5. Enter the name of the repository in the <strong>&#8220;Repository name&#8221;<\/strong> text box.<br \/>\n6. Provide a description (optional) of the repository.<br \/>\n7. Click on the <strong>&#8220;Create Repository&#8221;<\/strong> button.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture18.png\"><img decoding=\"async\" class=\"alignnone wp-image-46375 size-full\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture18.png\" alt=\"Repository gets created\" width=\"680\" height=\"486\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture18.png 680w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture18-300x214.png 300w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><\/a><\/p>\n<p>Thus a repository gets created.<\/p>\n<h2><strong>Selenium Integration with GitHub Using Eclipse<\/strong><\/h2>\n<p><strong>Given below are the steps involved in the Integration of <\/strong><strong>Selenium Automation Script with GitHub Using Eclipse IDE<\/strong><\/p>\n<p><strong>#1)<\/strong> To integrate Selenium with GitHub, launch Eclipse IDE and navigate to the Selenium Automation project which is to be synced with GitHub.<\/p>\n<p><strong>#2)<\/strong> Right-click on the project and navigate to <strong>Team =&gt; Share Project<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/07\/Team-Share-Project.jpg\"><img decoding=\"async\" class=\"alignnone wp-image-85501 size-full\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/07\/Team-Share-Project.jpg\" alt=\"Team - Share Project\" width=\"432\" height=\"496\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/07\/Team-Share-Project.jpg 432w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/07\/Team-Share-Project-261x300.jpg 261w\" sizes=\"(max-width: 432px) 100vw, 432px\" \/><\/a><\/p>\n<p><strong>#3)<\/strong> Select the Repository from the drop-down. If no data is displayed in the dropdown, then click on Create.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture20.png\"><img decoding=\"async\" class=\"alignnone wp-image-46377 size-full\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture20.png\" alt=\"Configure Git Repository\" width=\"532\" height=\"428\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture20.png 532w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture20-300x241.png 300w\" sizes=\"(max-width: 532px) 100vw, 532px\" \/><\/a><\/p>\n<p><strong>#4)<\/strong> Click on the Selenium Automation project which you want to integrate with GitHub. Click on the <strong>Finish<\/strong> button.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture21.png\"><img decoding=\"async\" class=\"alignnone wp-image-46378 size-full\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture21.png\" alt=\"integrate Selenium Automation project with GitHub\" width=\"639\" height=\"420\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture21.png 639w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture21-300x197.png 300w\" sizes=\"(max-width: 639px) 100vw, 639px\" \/><\/a><\/p>\n<p><strong>#5)<\/strong> Notice the following change in the structure of your Selenium project.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture22.png\"><img decoding=\"async\" class=\"alignnone wp-image-46379 size-full\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture22.png\" alt=\"change in the structure of your Selenium project\" width=\"238\" height=\"206\" \/><\/a><\/p>\n<p><strong>#6)<\/strong> Right-click on the project which was configured with the Git Repository. Navigate to<strong> Team =&gt; Commit<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/07\/Team-Commit.jpg\"><img decoding=\"async\" class=\"alignnone wp-image-85503 size-full\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/07\/Team-Commit.jpg\" alt=\"Team - Commit\" width=\"434\" height=\"510\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/07\/Team-Commit.jpg 434w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/07\/Team-Commit-255x300.jpg 255w\" sizes=\"(max-width: 434px) 100vw, 434px\" \/><\/a><\/p>\n<p><strong>#7)<\/strong> Right-click on the Selenium automation project and navigate to <strong>Team =&gt; Add to Index<\/strong>.<\/p>\n<p><strong>#8)<\/strong> Enter the commit message and click on the <strong>Commit button<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/07\/Commit-Button.jpg\"><img decoding=\"async\" class=\"alignnone wp-image-85504 size-full\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/07\/Commit-Button.jpg\" alt=\"Commit Button\" width=\"722\" height=\"268\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/07\/Commit-Button.jpg 722w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/07\/Commit-Button-300x111.jpg 300w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<p>This will add all your Test Cases files to staged changes.<\/p>\n<p><strong>#9)<\/strong> Open Git repository tab in Eclipse.<\/p>\n<p><span style=\"color: #ff6600;\"><strong>Note:<\/strong><\/span> If the tab does not open by default, then follow the below steps.<\/p>\n<p><strong>a)<\/strong> Navigate to <strong>Windows =&gt; Show view =&gt; Other<\/strong>.<br \/>\n<strong>b)<\/strong> Under the Git folder select, <strong>Git repositories and Git Staging<\/strong> and click on the OK button.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture25.png\"><img decoding=\"async\" class=\"alignnone wp-image-46382 size-full\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture25.png\" alt=\"Git Repositories\" width=\"291\" height=\"428\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture25.png 291w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture25-204x300.png 204w\" sizes=\"(max-width: 291px) 100vw, 291px\" \/><\/a><\/p>\n<p><strong>#10)<\/strong> Under the Git Repository, right-click on remote and navigate to create remote.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture26.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-46383\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture26.png\" alt=\"create remote\" width=\"700\" height=\"262\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture26.png 700w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture26-300x112.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/a><\/p>\n<p><strong>#11)<\/strong> A new pop-up window will open, provide the remote name. Leave the other settings unchanged and click on the OK button.<\/p>\n<p><strong>#12)<\/strong> Another pop-up window will open, provide the URL of the GitHub repository which can be copied by following the below-mentioned steps:<\/p>\n<p><strong>a)<\/strong> Navigate to the <strong>created repository<\/strong> on GitHub.<br \/>\n<strong>b)<\/strong> Click on Clone or download as shown in the below image.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture27.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-46384\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture27.png\" alt=\"Clone or download\" width=\"740\" height=\"211\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture27.png 740w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture27-300x86.png 300w\" sizes=\"(max-width: 740px) 100vw, 740px\" \/><\/a><\/p>\n<p><strong>c)<\/strong> Copy the URL.<\/p>\n<p><strong>#13)<\/strong> Provide the copied URL and the other details including your login credentials of the GitHub account as shown in the below image, and click on the Finish button.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture28.png\"><img decoding=\"async\" class=\"alignnone wp-image-46385 size-full\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture28.png\" alt=\"Enter the location of the Source Repository\" width=\"509\" height=\"458\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture28.png 509w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture28-300x270.png 300w\" sizes=\"(max-width: 509px) 100vw, 509px\" \/><\/a><\/p>\n<p><strong>#14)<\/strong> Once the configuration process is done, we need to select the branch in which we will commit changes. Click on the <strong>Advanced button<\/strong> as shown in the image.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture29.png\"><img decoding=\"async\" class=\"alignnone wp-image-46386 size-full\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture29.png\" alt=\"select the branch\" width=\"508\" height=\"386\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture29.png 508w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture29-300x228.png 300w\" sizes=\"(max-width: 508px) 100vw, 508px\" \/><\/a><\/p>\n<p><strong>#15)<\/strong> Select your branch and click on the <strong>Add Spec button<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture30.png\"><img decoding=\"async\" class=\"alignnone wp-image-46387 size-full\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture30.png\" alt=\"click on Add Spec\" width=\"595\" height=\"562\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture30.png 595w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture30-300x283.png 300w\" sizes=\"(max-width: 595px) 100vw, 595px\" \/><\/a><\/p>\n<p><strong>#16)<\/strong> Finally, click on the Finish button. Now under Remote, you will find a folder which is the name you provided in Step 11.<\/p>\n<p><strong>#17)<\/strong> Right-click on the URL with a red arrow, and click on <strong>Push<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture31.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-46388\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture31.png\" alt=\"click on Push\" width=\"660\" height=\"280\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture31.png 660w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture31-300x127.png 300w\" sizes=\"(max-width: 660px) 100vw, 660px\" \/><\/a><\/p>\n<p><strong>#18)<\/strong> Thus, all the changes that were made and the Test Cases of your Selenium Project will get committed to the repository.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture32.png\"><img decoding=\"async\" class=\"alignnone wp-image-46389 size-full\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture32.png\" alt=\"Test Cases will get committed to the repository\" width=\"467\" height=\"447\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture32.png 467w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/02\/Picture32-300x287.png 300w\" sizes=\"(max-width: 467px) 100vw, 467px\" \/><\/a><\/p>\n<p><strong>#19)<\/strong> Verify the updates in your GitHub account.<\/p>\n<h2>Conclusion<\/h2>\n<p>In this article, we have learned to integrate the automation scripts of the Selenium Project to GitHub. When more than one developer is working on a Test Automation project then coordination among the team is the biggest hurdle in achieving the deadline.<\/p>\n<p>Here, GitHub provides a central platform where the developers can review each other\u2019s code and if required they can make necessary changes.<\/p>\n<p>Thus, when used efficiently, GitHub can help in reducing the time taken to develop software applications.<\/p>\n<p><em><strong>Happy Reading!!<\/strong><\/em><\/p>\n\r\n\t\t\t<div id=\"daexthefup-container\"\r\n\t\t\t\tclass=\"daexthefup-container daexthefup-layout-stacked daexthefup-alignment-center\"\r\n\t\t\t\tdata-post-id=\"46354\">\r\n\r\n\t\t\t\t<div class=\"daexthefup-feedback\">\r\n\t\t\t\t\t<div class=\"daexthefup-text\">\r\n\t\t\t\t\t\t<h3 class=\"daexthefup-title\">Was this helpful?<\/h3>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<div class=\"daexthefup-buttons-container\">\r\n\t\t\t\t\t\t<div class=\"daexthefup-buttons\">\r\n\t\t\t\t\t\t\t\r\n\t\t\t<div class=\"daexthefup-yes daexthefup-button daexthefup-button-type-icon\" data-value=\"1\">\r\n\t\t\t\t\r\n                <svg>\r\n                    <defs>\r\n                        <style>.thumb-up-cls-1{fill:#c9c9c9;}.thumb-up-cls-2{fill:#e1e1e1;}.thumb-up-cls-3{fill:#676767;}<\/style>\r\n                    <\/defs>\r\n                    <g id=\"thumb_up\">\r\n                        <path class=\"thumb-up-cls-2 daexthefup-icon-circle\" d=\"m24,3c11.58,0,21,9.42,21,21s-9.42,21-21,21S3,35.58,3,24,12.42,3,24,3m0-1C11.85,2,2,11.85,2,24s9.85,22,22,22,22-9.85,22-22S36.15,2,24,2h0Z\" \/>\r\n                        <g>\r\n                            <rect class=\"thumb-up-cls-3 daexthefup-icon-secondary-color\" x=\"10\" y=\"20\" width=\"6\" height=\"15\" rx=\"1.5\" ry=\"1.5\" \/>\r\n                            <path class=\"thumb-up-cls-1 daexthefup-icon-primary-color\" d=\"m30.57,9.06l-.49-.1c-.81-.17-1.61.35-1.78,1.16l-5.3,11.74c-.17.81,3.16,1.61,3.97,1.78l1.96.41c.81.17,1.61-.35,1.78-1.16l2.18-10.27c.34-1.61-.7-3.21-2.31-3.56Z\" \/>\r\n                            <path class=\"thumb-up-cls-1 daexthefup-icon-primary-color\" d=\"m38.17,20h-18.67c-.83,0-1.5.67-1.5,1.5v12c0,.83.67,1.5,1.5,1.5h16.27c.71,0,1.33-.5,1.47-1.21l2.4-12c.19-.93-.53-1.8-1.47-1.8Z\" \/>\r\n                        <\/g>\r\n                    <\/g>\r\n                <\/svg>\t\t\t<\/div>\r\n\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t<div class=\"daexthefup-no daexthefup-button daexthefup-button-type-icon\" data-value=\"0\">\r\n\t\t\t\t\r\n                <svg>\r\n                    <defs>\r\n                        <style>.thumb-down-cls-1{fill:#c9c9c9;}.thumb-down-cls-2{fill:#e1e1e1;}.thumb-down-cls-3{fill:#676767;}<\/style>\r\n                    <\/defs>\r\n                    <g id=\"thumb_down\">\r\n                        <path class=\"thumb-down-cls-2 daexthefup-icon-circle\" d=\"m24,3c11.58,0,21,9.42,21,21s-9.42,21-21,21S3,35.58,3,24,12.42,3,24,3m0-1C11.85,2,2,11.85,2,24s9.85,22,22,22,22-9.85,22-22S36.15,2,24,2h0Z\" \/>\r\n                        <g>\r\n                            <rect class=\"thumb-down-cls-3 daexthefup-icon-secondary-color\" x=\"10\" y=\"13\" width=\"6\" height=\"15\" rx=\"1.5\" ry=\"1.5\" \/>\r\n                            <path class=\"thumb-down-cls-1 daexthefup-icon-primary-color\" d=\"m30.57,38.94l-.49.1c-.81.17-1.61-.35-1.78-1.16l-5.3-11.74c-.17-.81,3.16-1.61,3.97-1.78l1.96-.41c.81-.17,1.61.35,1.78,1.16l2.18,10.27c.34,1.61-.7,3.21-2.31,3.56Z\" \/>\r\n                            <path class=\"thumb-down-cls-1 daexthefup-icon-primary-color\" d=\"m38.17,28h-18.67c-.83,0-1.5-.67-1.5-1.5v-12c0-.83.67-1.5,1.5-1.5h16.27c.71,0,1.33.5,1.47,1.21l2.4,12c.19.93-.53,1.8-1.47,1.8Z\" \/>\r\n                        <\/g>\r\n                    <\/g>\r\n                <\/svg>\t\t\t<\/div>\r\n\r\n\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\r\n\t\t\t\t<div class=\"daexthefup-comment\">\r\n\t\t\t\t\t<div class=\"daexthefup-comment-top-container\">\r\n\t\t\t\t\t\t<label id=\"daexthefup-comment-label\" class=\"daexthefup-comment-label\"><\/label>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"daexthefup-comment-character-counter-container\">\r\n\t\t\t\t\t\t\t\t<div id=\"daexthefup-comment-character-counter-number\"\r\n\t\t\t\t\t\t\t\t\tclass=\"daexthefup-comment-character-counter-number\"><\/div>\r\n\t\t\t\t\t\t\t\t<div class=\"daexthefup-comment-character-counter-text\"><\/div>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<textarea id=\"daexthefup-comment-textarea\" class=\"daexthefup-comment-textarea\"\r\n\t\t\t\t\t\t\t\tplaceholder=\"Type your message\"\r\n\t\t\t\t\t\t\t\tmaxlength=\"\r\n\t\t\t\t\t\t\t\t400\t\t\t\t\t\t\t\t\t\"><\/textarea>\r\n\t\t\t\t\t<div class=\"daexthefup-comment-buttons-container\">\r\n\t\t\t\t\t\t<button class=\"daexthefup-comment-submit daexthefup-button\">Submit<\/button>\r\n\t\t\t\t\t\t<button class=\"daexthefup-comment-cancel daexthefup-button\">Cancel<\/button>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\r\n\t\t\t\t<div class=\"daexthefup-successful-submission-text\">Thanks for your feedback!<\/div>\r\n\r\n\t\t\t<\/div>\r\n\r\n\t\t\t","protected":false},"excerpt":{"rendered":"<p>Step By Step Tutorial On Selenium Integration With GitHub Using Eclipse: Git and GitHub provide a central cloud-based location, thereby facilitating developers to store, and share their codes while working on a web development project. They have revolutionized the process of software development when there is more than one developer &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Selenium Integration With GitHub Using Eclipse\" class=\"read-more button\" href=\"https:\/\/www.softwaretestinghelp.com\/selenium-integration-with-github\/#more-46354\" aria-label=\"Read more about Selenium Integration With GitHub Using Eclipse\">Read more<\/a><\/p>\n","protected":false},"author":9,"featured_media":46391,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_helpful_pro_status":1,"footnotes":""},"categories":[214],"tags":[],"class_list":{"0":"post-46354","1":"page","2":"type-page","3":"status-publish","4":"has-post-thumbnail","6":"category-selenium-tutorials"},"acf":[],"_links":{"self":[{"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/pages\/46354","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/comments?post=46354"}],"version-history":[{"count":0,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/pages\/46354\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/media\/46391"}],"wp:attachment":[{"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/media?parent=46354"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/categories?post=46354"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/tags?post=46354"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}