Display results as :

Rechercher Advanced Search

Latest topics
» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce

» Selecting the input for auto populating element
Sat Jul 29, 2017 7:53 pm by kdabbara


TestNG / Ant Help

View previous topic View next topic Go down

TestNG / Ant Help

Post by Gibbsy22 on Wed Feb 22, 2012 11:39 pm

Hi Guys,

I'm somewhat new to programming as a whole but have a question or two to ask on the topic above which im hoping you can help with Smile

Basically I've been using Eclipse/ JAVA / Selenium Webdriver to build some basic automated tests for our website. These have been testing things like login/forgotten password at present just to break me in gently! I have then decided (due to the fact that there was no reporting on my tests) that I would use TESTNG which has then obviously broke the tests down into manageable chunks, and also given me reports detailing pass/fail of each method I have put a "@Test" on.

At present i'm running these tests inside of Eclipse. I would like to able to run these without loading up Eclipse though at some point, with the ability to be able to still have the tests run via TestNG with the reports coming out still. Basically I would like everything as it is at present, just not running from inside of Eclipse IDE!

Could someone give me some guidance on where i can go from here...? I've looked at solutions such as Ant? and running it within a command line, but am still confused if it is the best way forward.

Thanks for any help in advance


Posts : 1
Join date : 2012-02-22

Back to top Go down

Re: TestNG / Ant Help

Post by qappbc on Wed Feb 22, 2012 11:59 pm

just a quick reply - watch this free video to get a feel for what this will take:

Basically, the approach is that your Java/eclipse/ TestNG work is developed first, then an Ant 'action' file (build.xml) is made. It is run externally via command line and can be incorporated into a continuous integration process via Maven for example.

I hope this helps, -Phil


Posts : 38
Join date : 2011-10-13

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum