Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

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?

share|improve this question
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 '12 at 17:44
add comment

1 Answer

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.

share|improve this answer
    
Thank you. this helps to me. –  ravikumar Nov 12 '12 at 15:02
    
You may always accept my answer, if you like it ;-) –  dzieciou Dec 5 '12 at 20:41
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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