• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Setting up a test environment, how to?

 
Gynnad Paullussen
Ranch Hand
Posts: 49
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I’m trying to set up a test environment for a CMS system in Jenkins. I want to run a bat file first and afterwards I want to call in the CMS (with Selenium?) the code in the content pages to start the tests. But how can I do that? Can anyone help me a little witch configuration I need and is there some tutorial or something?

Thanks already!
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Options I would look into:

a) Figure out to how to run the Selenium tests from the command line. Then it is a simple matter of adding that command to bat file (or to a PowerShell script)

b) There is a Selenium plugin for Jenkins: https://wiki.jenkins-ci.org/display/JENKINS/Selenium+Plugin

Of course, this assumes you are using Selenium to run the tests. But just about any tool that can test web applications should work, and for all of them the above options are pretty much what you have.
 
Gynnad Paullussen
Ranch Hand
Posts: 49
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah I understand, but I can't find how to start Jenkins with my CMS server.. Everytime I start a test he doesn't find anything. He said there is no project. So I would like to do a tutorial where I can find out how this works..
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by "start Jenkins with my CMS server"? The CMS (it would help if you told me which one you were using) is deployed to an application server and you run that by itself. Ditto for Jenkins - it uses either a app server (Resin, I think) built into its WAR file, or you can deploy the WAR to an app server. There is no such thing as "starting" Jenkins from the CMS.

Everytime I start a test he doesn't find anything. He said there is no project.

Who is "he"? Jenkins? The CMS?
And what project?

In Jenkins, you create jobs. A job runs a script on a build slave. That script does whatever, usually compiles something, but it can also do other things such as run tests (such as tests created using Selenium).

 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic