4

I have written Java automation scripts using Selenium WebDriver in Eclipse. I uploaded everything to GitHub.

Here my questions are:

  1. How can my manager/colleague execute these scripts in his or her machine? Currently I am only executing these from my local machine.

  2. Is there any method to execute it from GitHub?

1
  • 3
    I'm a little confused - what's stopping your manager/colleague from just checking out the scripts from GitHub and executing them locally? What have you tried so far?
    – testerab
    Nov 12, 2012 at 17:44

1 Answer 1

4

How can my manager/colleague execute these scripts in his or her machine?

I see two approaches:

  1. They can check-out project (clone repository in Git nomenclature) to their local machine
  2. You may create a build/zip with your test scripts and share it via Nexus, Artifactory or any other artifacts repository you use for sharing components/libraries.

However, it may be time-consuming for them to download and setup necessary environment on their machines.

  1. If you want your colleagues to see test results you may consider using any continuous integration (CI) server, e.g., Jenkins, Hudson, TeamCity. Each of them takes test scripts from Version Control System (GitHub in your case) and execute them on designated machines. Stakeholders can see test statistics online.

  2. If setting up the whole infrastructure for CI is prohibitively expensive (in terms of time) to you, you may consider deploying your test scripts on a shared machine or prepare VM with test scripts that your colleagues can download and run.

Is there any method to execute it from GitHub?

I don't think so. GitHub does not serve for remote script execution. It hosts Version Control System (VCS), so it serves for revision versioning.

1
  • You may always accept my answer, if you like it ;-)
    – dzieciou
    Dec 5, 2012 at 20:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.