Selenium Integration in Builds


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Selenium Integration in Builds
# 1  
Old 08-13-2013
Selenium Integration in Builds

Hi All,

I have this scenario in place:

1. I have checked in Selenium Java files (Test cases) into my usual build and they are getting compiled in .class files.

2. I also have a build.xml which is used to run these tests. It basically has this:

RELEASE_ROOT this has been set to the Java Project folder.

o SRC which defines the source folder of the project

o LIB which defines the lib folder of the project

o BIN which defines the binary folder where the classes needs to be pasted after compiling

o REPORT folder which defines the report folder where the test execution reports will be generated.


3. Now I want to integrate the tests as standard process of the builds.

All i have is a build.xml, java tests. How to achieve it? Thanks in advance

---------- Post updated at 06:14 PM ---------- Previous update was at 04:49 PM ----------

Any help guys?

---------- Post updated 08-13-13 at 09:51 AM ---------- Previous update was 08-12-13 at 06:14 PM ----------

Any Help?
# 2  
Old 08-13-2013
Not sure what you are asking for.
It seems that you will have a complete solution on a big problem, you will not get that here.
Like I need help to create a rocket that take me to Mars and back, who to bild it, where to start etc.

What have you tried?
# 3  
Old 08-13-2013
My code is on the server. I am not sure how to run the build.xml from UNIX box. I guess build.xml will invoke the browser and tests and hence a new report will be there.

I have attached my build.xml also.

Thanks
# 4  
Old 08-13-2013
What build framework is being used ? Apache Ant ?

You could check this link
Running Selenium Tests - Wiki - Liferay.com
# 5  
Old 08-13-2013
Thanks a lot rajamadhavan for this link. I will have a go through and keep posted for queries. Yes we are using apache ant for this.
# 6  
Old 08-13-2013
Hi,

You can use Jenkins-ci to achieve this.

Jenkins CI
# 7  
Old 08-14-2013
Hi

Yeah I am already using JENKINS for my regular builds. But as I understood after reading from net, jenkins Hudson plugin has automation only for HTML Recordings of Selenium. I have JAVA programs that run the test on a browser. If you have further info, can you please kindly share?

Thanks in Advance
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. Linux

Selenium Integration

Hi People, I am trying to run Selenium Scripts on my server. System is a Linux Box and I am accessing it via Putty. I have some basic admin privileges for it. The Steps: 1. A build.xml has been created which has this o RELEASE_ROOT this has been set to the Java Project folder. o... (1 Reply)
Discussion started by: ankur328
1 Replies

2. UNIX for Dummies Questions & Answers

mkdir: cannot create directory `/builds/somedir/': Permission denied

Hi, I am trying to run a shell script which contains an mkdir command as part of the execution. The script fails with the following error: mkdir: cannot create directory `/builds/somedir/': Permission denied The user running the script is 'harry' and belongs to group 'school'.... (5 Replies)
Discussion started by: Technext
5 Replies

3. UNIX for Advanced & Expert Users

Difficulty building gcc 4.4.0 -- builds but fails abi_check

I'm trying to build gcc 4.4.0 in 64-bit (x86_64) Ubuntu 9.04, but make check fails. Specifically, make -k check-target gives (after many other pages of output): Running /home/charles/Desktop/gccsrc/libstdc++-v3/testsuite/libstdc++-abi/abi.exp ... FAIL: abi_check Running... (10 Replies)
Discussion started by: CRGreathouse
10 Replies

4. Shell Programming and Scripting

selenium in script

All, I am using chrome URL in shell script but auto=true is not working while run script. -Smoorthy (0 Replies)
Discussion started by: smoorthy
0 Replies
Login or Register to Ask a Question