• Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • Home
  • Programming Languages
    • Java Tutorials
    • Python Tutorials
    • JavaScript Tutorials
  • Automation Tools and Different Tools
    • Web Automation
      • Selenium with Java
        • Selenium Basic
        • Selenium Advance
        • Selenium Realtime
        • Framework
        • Selenium Interview
        • Selenium Videos
        • Selenium with Docker
      • Selenium with Python
      • WebdriverIO
        • Selenium Webdriver C# Tutorial
      • Cypress
      • Playwright
    • TestNG
    • Cucumber
    • Mobile Automation
      • Appium
    • API Testing
      • Postman
      • Rest Assured
      • SOAPUI
    • testRigor
    • Katalon
    • TestProject
    • Serenity BDD
    • Gradle- Build Tool
    • RPA-UiPath
    • Protractor
    • Windows Automation
  • Automation For Manual Testers
  • Services
  • Online Training
  • Contact us
  • About me
  • Follow us
    • Linkedin
    • Facebook Group
    • Facebook Page
    • Instagram

Automation

Selenium WebDriver tutorial Step by Step

You are here: Home / GITHUB / Upload Selenium Script to GITHUB using Eclipse

Upload Selenium Script to GITHUB using Eclipse

March 17, 2015 by Mukesh Otwani 34 Comments

Upload Selenium Script to GITHUB

Hello Welcome to Selenium Tutorial, Today we will see Github Integration Eclipse with Selenium.

If you are working with a team on a certain project then you need to have a central repository where all can store and commit their code as well as they can synchronize with each other.

Github is a repository on web, which support all the feature of revision control and source code management and it gives so many other features as well.

Scenario- If you are 5 member in a team then all team member can upload their code on github and download it later on also.

 

 

Upload Selenium Script to GITHUB using Eclipse

Step 1- First of all Create an account in github with your valid email and other information.

 

Step 2- Now login to github account using credential then navigate Home page.

 

Step 3- Click on Create repository.
Github Integration Eclipse with Selenium

Step 4- Click on New Repository.
Github Integration Eclipse with Selenium

 

Step 5- Specify the name of the repository, description and click on create repository.

Note- Github has public and private repository feature, so if you are using public repository then anybody on Github can see your code.

In case private repository, only who is added as a member in this repository can see this repo and can make the changes but for private repository we have to pay some amount.
Github Integration Eclipse with Selenium
Step 6- Now copy the URL of your repository.
Github Integration Eclipse with Selenium
Step 7- Now open Eclipse  and  Select project which we want to upload on github then  right click and  Go to team section and  Select share project.

 

Github Integration Eclipse with Selenium
Step 8- Here you will get some other repository type as well.

Select Git and complete the steps.

 

Github Integration Eclipse with Selenium
Github Integration Eclipse with Selenium

 

 

Github Integration Eclipse with Selenium

Step 9-  Whenever we are creating new test cases or we are modifying our old test cases then we need to do checkout so that we can have updated copy on Github.
Now select Test case > right click > team > select commit.
Github Integration Eclipse with Selenium
Step 10- Here we have to specify comment and Select the file which need to update and click on Commit and Push.
Github Integration Eclipse with Selenium
Step 11- Enter valid github credentials and complete the steps.
Github Integration Eclipse with Selenium

 

 

 

Github Integration Eclipse with Selenium

 

 

 

Github Integration Eclipse with Selenium

Click on finish and now your project is up to date with Git Repository.

 

Github Integration Eclipse with Selenium

 

If you open Github and navigate to your repository just do a refresh and your full code will be updated.

Thanks for visiting my blog. Please comment below in case any issue.

Keep in touch. Have a nice day 🙂

 

 

 

Filed Under: GITHUB Tagged With: Selenium with Github

Reader Interactions

Comments

  1. RANJAN V says

    July 5, 2021 at 7:01 PM

    Hi Mukesh,

    Can u share the Video Link for the same along with Git and GitHub commands?

    Reply
    • Mukesh Otwani says

      July 5, 2021 at 11:29 PM

      Hi Ranjan,

      I’ll post it soon…:)

      Reply
      • RANJAN V says

        July 8, 2021 at 2:12 PM

        Thanks a lot Mukesh))

        Reply
  2. Ragavendran says

    February 26, 2020 at 2:52 PM

    Excellent.. Thanks Mukesh for such a good blog

    Reply
    • Mukesh Otwani says

      February 26, 2020 at 5:50 PM

      Thanks Ragavendran, you’re always welcome to my blog..:)

      Reply
  3. sarath says

    October 7, 2019 at 2:20 PM

    Hi, Thank you for given such good information .
    can u please update the same with Command prompt.how can we Commit on Command Prompt.

    Reply
    • Mukesh Otwani says

      October 7, 2019 at 4:48 PM

      Hi Sarath,

      I’ll upload it soon…

      Reply
  4. MAnojkumar says

    July 24, 2019 at 10:51 AM

    Hi, Thank you for given such good information .
    can u please update the same with Command prompt.how can we Commit on Command Prompt.

    Reply
    • Mukesh Otwani says

      July 24, 2019 at 11:46 AM

      Hi Manoj,

      I’ll post it soon…:)

      Reply
    • Sneha Mazumder says

      October 27, 2019 at 10:23 AM

      Hi,I use the below commands to push my project to the central repository.
      @Mukesh,I will be glad if you suggest any enhancement.

      Step 1:Open Git bash terminal and navigate to local repository: cd
      Step 2:Initialize Git: git init
      Step 3:Copy the link of the central repository and add as remote of your local repository: git remote add origin
      Step 4:Check the untracked files: git status
      Step 5:Add the files to the central repo: git add
      Step 6:Commit the change with suitable comment: git commit -m [In case commiting the same file use:git commit –amend]
      Step 7:Push to central repo: git push origin master/

      Thanks!!

      Reply
  5. Maruthi says

    February 21, 2017 at 10:40 AM

    Hi Mukesh,

    Do you have any video for git integration with selenium??

    Reply
    • Mukesh Otwani says

      February 21, 2017 at 11:48 AM

      Hi Maruthi,

      Right now, I don’t have but I’ll upload it soon.

      Reply
  6. Rajya says

    January 27, 2017 at 10:42 PM

    Hi Mukesh,
    Your blog was very well and thanks for sharing with us..
    Do you have any idea of ruby selenium cucumber?
    If you have please share with me!!!
    Thanks,
    Raji

    Reply
    • Mukesh Otwani says

      January 28, 2017 at 5:58 PM

      Hi Rajya,

      As of now I don’t work in ruby or ROR. You will get the email once I start selenium/cucumber with ruby.

      Reply
  7. Sanjay says

    December 7, 2016 at 11:43 AM

    Thanks

    Reply
    • Mukesh Otwani says

      December 14, 2016 at 12:14 AM

      Welcome Sanjay

      Reply
  8. satheeskumar says

    November 17, 2016 at 12:55 PM

    Hi Mukesh,
    Hope Doing well,
    Doubt for the day:-)
    I am Using page factory pattern for selenium web driver.Is it possible for Appium(Android/iOS)..Especially i want this for Android application.
    Please help me out from the confusion.

    Bcoz normally I can run my script but in Page factory am getting issue anyhow.

    For ex:
    am using as,
    @FindBy(id=”com.tvsnext.sflproject:id/login_edit_user_name”)
    private MobileElement username;
    and I tried out as @AndroidFindBy too.

    Reply
    • Mukesh Otwani says

      November 23, 2016 at 3:27 PM

      Hi Sateesh,

      You can use @FindBy(id=”com.tvsnext.sflproject:id/login_edit_user_name”) directly for mobile testing as well.

      Reply
  9. satheeskumar says

    November 6, 2016 at 2:02 PM

    Yep,Surely I get you back if got anything the same…Thanks.

    Reply
  10. satheeskumar says

    October 19, 2016 at 11:30 AM

    Hi Mukesh,
    1.How to select multiple checkboxes and perform in selenium,Could you please guide me out?
    2.If I want to test the Registration page in a certain application thrice per day,how would you handle this kind of situation?

    I look hearing from you..

    Reply
    • Mukesh Otwani says

      October 20, 2016 at 2:24 PM

      Hey Satheesh,

      Please find my comments below

      1- https://www.youtube.com/watch?v=EQu5rQCPsZU
      2- https://www.youtube.com/watch?v=4PTYVIaBT1Q

      Reply
      • satheeskumar says

        October 20, 2016 at 3:09 PM

        Thanks for your quick turn and shared link Mukesh…Let me to go through on this..

        Reply
  11. Satheeskumar says

    September 7, 2016 at 1:25 PM

    Hi Mukesh,

    Could you please tell me how to install ANT in Selenium and JMeter…If I so how would be the results better rather than TestNG and Normal Jmeter reports.

    Reply
    • Mukesh Otwani says

      September 7, 2016 at 11:44 PM

      Hi Sathees,

      Sorry I have not worked with JMeter

      Reply
      • Satheeskumar says

        September 8, 2016 at 12:39 PM

        Ok Thanks for your Response.

        Your Selenium related videos simply super…keep it up …..

        I have just questions,

        1.Rightnow am using SoapUI 5.2.1 version (Trail version) in this how get xpath for JSON response in Rest api for my security Testing .

        2.Is Mouse click action possible in AutoIT?If yes how?

        Reply
        • Mukesh Otwani says

          September 12, 2016 at 3:46 PM

          Hi Sathessh, Try below doc https://www.autoitscript.com/autoit3/docs/functions/MouseClick.htm

          Reply
          • Satheeskumar says

            September 30, 2016 at 4:59 PM

            Thanks for your shared link!!!

          • satheeskumar says

            November 1, 2016 at 4:28 PM

            Hi Mukesh,
            A small doubt,in Selenium web driver

            I am using Page Object Model(Page factory method),I gonna check with 25 different username and password using Data driven or properties file.

            Here My Doubt is,

            If I want to check with only 5th,6th,7th,8th,9th ,15th,20th,24th credentials out of 25 credentials,

            how to figure out this parameters to Datadriven in selenium
            Could you please help out from this.

          • Mukesh Otwani says

            November 6, 2016 at 10:10 AM

            Hi Satheesh,

            I dont think its possible. Data driven run when same test with multiple data. If you have specific data set then I am not sure on this.

            If you find any solution then let me know.

  12. Nitin says

    April 2, 2016 at 8:00 PM

    Thank you for Sharing!

    Reply
  13. leela says

    March 7, 2016 at 3:09 PM

    Hi Mukesh,
    I want run selenium testng script (windows)in linux operating system. would please help me out.

    Thanks & Regrds
    Leela

    Reply
    • Mukesh Otwani says

      March 11, 2016 at 6:40 PM

      Hi Leela,

      I dont have any idea on Linux 🙁

      Reply
  14. Avinash says

    January 19, 2016 at 7:55 AM

    Hi Mukesh,

    Thanks for sharing your knowledge…your teaching style is perfect.
    Can you please create a video or blog where I can run my maven project using Jenkins with github

    Regards,
    Avinash Motwani
    Your big fan

    Reply
    • Mukesh Otwani says

      January 20, 2016 at 1:13 AM

      Hi Avinash,

      Thank you so much 🙂

      I dont have any video on this but will upload soon till then have a look to below video and try to implement the same.

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Free Selenium Videos

https://www.youtube.com/watch?v=w_iPCT1ETO4

Search topic

Top Posts & Pages

  • Selenium Webdriver tutorial for beginners
  • How To Fix Eclipse Autocomplete Or Code Suggestion In Eclipse
  • Selenium Webdriver C# Tutorial
  • WHAT ARE YOUR EXPECTATIONS FROM US?

Stay connected via Facebook

Stay connected via Facebook

Archives

Footer

Categories

Recent Post

  • API Testing Using Postman And RestAssured
  • Disable Personalise Your Web Experience Microsoft Edge Prompt In Selenium
  • How To Fix Error: No tests found In Playwright
  • How To Fix Eclipse Autocomplete Or Code Suggestion In Eclipse
  • Best and easy way to Group test cases in selenium

Top Posts & Pages

  • Selenium Webdriver tutorial for beginners
  • How To Fix Eclipse Autocomplete Or Code Suggestion In Eclipse
  • Selenium Webdriver C# Tutorial
  • WHAT ARE YOUR EXPECTATIONS FROM US?