Wednesday, February 20, 2019

How to upload Selenium project to GitHub?

GitHub is a distributed versioning system for the software development teams for managing their working copies.

GitHub is a central repository or Source Code Management, developers use this tool to pull the latest updates to their local machine or to push their latest changes/enhancements to it frequently.


Uploading Project to GitHub:

Step 1: Create a new repository in your GitHub account. Click on "New Repository".


Step 2: Enter "Repository name" and "Description", then click on "Create Repository" button.


Step 3: You should see "selenium-project" repository being created.


Step 4: Launch eclipse, and create a Selenium project using maven. If you need any help in creating selenium project please look at this blog post.

In this post we are going to use below Selenium project.


Step 5: EGit plugin should be installed in eclipse, if not installed Go to Help --> Eclipse marketplace, search for Egit and click on "Install".


As shown in the above image Egit plugin-should be installed.

Step 6: We have to open Git Repository perspective, Search for it in "Quick Access" and select "Git repositories".


Step 7: Git Repository perspective should be opened as shown below.


Step 8: Now we have to configure the GitHub repository in "Step 2" to eclipse for that, click on "clone a Git repository". Then we will get Clone Git Repository window.


Step 9: Copy the Git repository url..

Step 10: Enter copied url in the URL field, then host and Repository path get populated automatically.


Enter username and password, click "Next".

Step 11: Then it will display Local destination window, where your project will be stored. Click "Finish".


Step 12: We can see GitHub repository being configured in the local location in Git Repository perspective.


Till now we have integrated local git repository with GitHub repository only, we are yet to upload our project with GitHub.

Step 13: To upload the project to GitHub repository via local repository, Right click on the project --> Team --> Share Project. Then below window will be shown up.


Step 14: Select repository that we created in "Step 12" and click on "Finish".


Step 15: Our project will be added to the local Git repository under Working Tree folder.


But we can't see the project in the GitHub repository yet.

Step 16: Right click on the project --> Team --> Commit. Then Git Staging window will be opened.


step 17: In Git Staging, Unstaged Changes contains the latest updated file. Select all unstated files and drag them to Staged Changes as shown below


Step 18: Enter "Commit Message" and then click on "Commit and Push" button.


Step 19: Check whether correct remote repository selected or not. then click "Next".



Step 20: Click "Finish"


Step 21: Click "Close"


Step 22: Go to GitHub repository and refresh, then we should see the project in the repository as shown below.


This is how we can upload a Selenium project to GitHub. Thanks for reading, if you find this tutorial helpful, please share with your friends. Thanks!!

#HappyLearning #HappyTesting

13 comments:

  1. Replies
    1. I am glad that I saw this post. It is informative blog for us and we need this type of blog thanks for share this blog, Keep posting such instructional blogs and I am looking forward for your future posts. Python Projects for Students Data analytics is the study of dissecting crude data so as to make decisions about that data. Data analytics advances and procedures are generally utilized in business ventures to empower associations to settle on progressively Python Training in Chennai educated business choices. In the present worldwide commercial center, it isn't sufficient to assemble data and do the math; you should realize how to apply that data to genuine situations such that will affect conduct. In the program you will initially gain proficiency with the specialized skills, including R and Python dialects most usually utilized in data analytics programming and usage; Python Training in Chennai at that point center around the commonsense application, in view of genuine business issues in a scope of industry segments, for example, wellbeing, promoting and account. Project Center in Chennai

      Delete
  2. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
    Selenium Training in Electronic City

    ReplyDelete
  3. The overall legitimacy and acknowledgment of this specific endorsement makes it important to get familiar with its root and how to apply for it.ExcelR PMP Certification

    ReplyDelete
  4. Mmm.. good to be here in your article or post, whatever, I think I should also work hard for my own website like I see some good and updated working in your site.ExcelR pmp certification

    ReplyDelete
  5. Attend The Analytics Course in Bangalore From ExcelR. Practical Analytics Course in Bangalore Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The Analytics Course in Bangalore.
    ExcelR Analytics Course in Bangalore

    ReplyDelete
  6. This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information. Keep it up. Keep blogging. Looking to reading your next post. CRM and Project Management

    ReplyDelete
  7. I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article. managing projects

    ReplyDelete
  8. Just saying thanks will not just be sufficient, for the fantastic lucidity in your writing. I will instantly grab your rss feed to stay informed of any updates.
    pmp certification training in hyderabad

    ReplyDelete
  9. This is an excellent post I seen thanks to share it. It is really what I wanted to see hope in future you will continue for sharing such a excellent post.
    360digitmg

    ReplyDelete
  10. Thank you for helping people get the information they need. Great stuff as usual. Keep up the great work!!!
    data analytics certification training course

    ReplyDelete
  11. During June of last year, one of the biggest providers of version github contribution service, was acquired by Microsoft. What repercussions does this entail and how is the future of such services.

    ReplyDelete

Selenium4: Working with two parallel windows in Selenium Automation

A new method newWindow() is introduced in Selenium 4 (Alpha). Using this method we can open a new tab or new window from the current window...