FAQ Database Discussion Community


What can be used if I want to check if the element is present or not in selenium webdriver?

java,selenium-webdriver,automated-tests
I just want to check if the element is present on the page or not? I am confused with what can be used. What is feasible to use isDisplayed() or isPresent()? What is the difference between these two?...

Getting More Context Around PHPUnit Test Failures

php,phpunit,automated-tests
In PHPUnit, let's say I do this: $this->assertTrue( $some_variable == "foo" ); When I run my tests with my code in a failing state, PHPUnit tells me: Failed asserting that false is true. Which is all fine and good, and I can usually track down WHY the test is failing....

Why CodedUI test runs in one browser and does not in another with the same version

visual-studio,automated-tests,coded-ui-tests
I have a few automated UI tests implemented with CodedUI. I have a virtual machine where the tests are run by Test Manager (via test controller and test agent). The benefits of this set up is that I can do other work while the tests are run. If I use...

Selenium Firefox Driver reading from Hosts file

python,testing,selenium,selenium-webdriver,automated-tests
I'm trying to avoid running this particular selenium script in a production environment. When this test is ran manually, I change my /etc/hosts file accordingly. xx.x.xxx.xx www.url.com What is a practical way of passing the test environment IP to the driver? Or perhaps have the driver read from the host...

How to run selenium tests in jenkins?

unit-testing,selenium,jenkins,automated-tests,python-3.4
I have selenium tests written in python 3.4. How to run them from jenkins after success build ? Process is : 1. pull from git repository 2. python setup.py build 3. python setup.py install After that i need to run server and selenium tests....

How to profile performance for a single unit test using Visual Studio 2013 Professional?

unit-testing,visual-studio-2013,profiling,automated-tests
I would like to run the Visual Studio 2013 Professional edition profiler for a single automated test. It is not clear from other questions here on how to do so using the Professional edition. Is this possible and if so, how?...

Surefire run certain tests in sequence, others in parallel

java,automated-tests,pom.xml,surefire,test-suite
Is there a way to make certain tests run in in sequence with the surefire plugin for JUnit? Currently it is running all tests in parallel, but some tests are very hard to convert and it would be sufficient if they didn't run in parallel. Here is a part of...

Teststack.White Drag and Drop Problems

wpf,c#-4.0,automated-tests,white
I'm having trouble dragging a control to another control. I've had success in being able to select both controls but when I try to use: Mouse.Instance.Location = dragControl.ClickablePoint; Mouse.LeftDown(); Mouse.Instance.Location = dropControl.ClickablePoint; Mouse.LeftUp(); The drag doesn't happen, the mouse moves. But the control stays in the initial spot. I've also...

Selenium Webdriver, check if multiple elements are enabled and interact with them if true

java,selenium,selenium-webdriver,automated-tests
I have a page with 16 identical WebElements (buttons) which may or may not be present on the page. The buttons have the same functionality - removing a piece of data when clicked. I need to:- Check if the elements are visible to the user If 1. is true, click...

Coded UI - How to get website title and make decision based on static part and ignore dynamic part from Title

c#,automated-tests,coded-ui-tests
I need help to better make a logic to identify website title and take a decision. When I run the following code it fails because there is dynamic part which changes for example [Request for Permission] - [Customer001]. I want to ignore [Customer001] part of website title and just get...

iOS and XCode: understanding automatic testing

ios,objective-c,xcode,automated-tests
I have created a test project and noticed that XCode generates some test class named: YourProjectName-ProjectTests This is how it looks like: - (void)setUp { [super setUp]; // Put setup code here. This method is called before the invocation of each test method in the class. } - (void)tearDown {...

peformClick() on an AlertDialog in an InstrumentationTestCase2 doesn't work

android,multithreading,automated-tests,alertdialog
I want to click on an AlertDialog in an ActivityInstrumentationTestCase2. But the DialogInterface.OnClickListener() execute, after the test finished and not during the test (I know that, because I debugged this test). My test checks a delete button. If the delete button is pressed, an AlertDialog will appear and ask the...

How to get function codes for SAP context menus?

automated-tests,sap,silktest
I am automating tests of our SAP application using Silk4J (16.0.1.7470). There is a tree where I selected a node. I can open the context menu programmatically with SapTree.nodeContextMenu(). Now I want to simulate a click onto one of the context menu items. It seems that this can be done...

Selenium test fails when using xpath

selenium,xpath,automated-tests,ui-automation,robotframework
I'm using robot framework with selenium2library to make some tests, Here is my test file : *** Settings *** Library Selenium2Library *** Variables *** ${URL_LOCATION} http://localhost:9000/apps/depot/# ${BROWSER_TYPE} chrome *** Test Cases *** Open browser to DEPOT page Open Browser ${URL_LOCATION} Click Element xpath=//div[@class="btn action xlarge nav-next"] The problem is that...

File generation path .net application varies while debugging vs running a test

c#,.net,automated-tests
I am generating an excel file in my application. Now i am trying to test if the application is generating the file and saving it at the right place. From the Testing side, I am setting the ServerRootPath to TestContext. DeploymentDirectory Now the problem I am seeing is, if I...

Is there a before() function in Protractor?

angularjs,node.js,automated-tests,protractor,hierarchy
I am aware there is a beforeEach() function which I am currently using. However, I would like to be able to run a before function for all my parent level 'describes' and not the 'it' functions within them. For example my test looks like this (with an x in front...

Possible to run a test against a file when pushed to git and reject in case the push?

git,automated-tests
Is it possible to: Run regex against a file and reject the push by throwing an error when we have a match Run some extra tests regarding file size, encoding For specific files/folders/branches only ...

UI test Automation of .Net application on Jenkins, How?

.net,jenkins,automated-tests
If it is a web base. I know that we can use selenium. But This case is .Net Windows-based application. So, is this possible? and how to do it? I checked NUnit but it is more like unit testes than UI test. I checked Autoit but I still don't understand...

Calabash - can't test touch events

ios,automated-tests,calabash,calabash-ios
I'm using Calabash to automate some tests with the UI but I'm having some issues. I have a step as follows: Then I touch the "login" button. When I run cucumber, the console throws this error: Could not parse response ''; the app has probably crashed (RuntimeError) Environment: Calabash 0.11.0...

Coded UI Test recording new test overwrites UIMap.Designer.cs changes

c#,.net,automated-tests
I am recording an coaded UI test for Successful log in scenario. After pulling up 'Coaded UI Test builder', I recorded following steps. Launch exe Click on form which triggers some animation on page and after 5-6 seconds I am given an option to 'Register' or 'Login' I clicked on...

Automated testing of webrtc application?

javascript,testing,automated-tests,mocha,webrtc
I am developing a conferencing app, details: target: chrome browser server: node.js ( currently windows env) simplest test scenario would be: open two browser tabs( open browser if need be) emulate button click on both. emulate accept getUserMedia request( hardest part) more emulation stuff and reading JavaScript variable values and...

Appium - running browser tests without clearing browser data

google-chrome,testing,selenium,automated-tests,appium
I'm testing a web application on Chrome, Android (real device, not emulator) using Appium. Whenever I launch a test, all browser data (bookmarks, history etc.) is deleted. Is there any way to stop this from happening? I tried setting the noReset capability to true, but that didn't help. Thank you...

Does Jenkins offer a multiple build agents feature on VM like TeamCity?

java,jenkins,automated-tests,integration-testing
I've found that Teamcity offers the possibility to have multiple build agents (3 for free) that you can deploy on VMs to perform parallel testing (distribute the load) and by that have a certain gain of time of the execution of tests. Is that feature available in Jenkins as well?...

Trying to click on 1,000 spans on a web-page using a program. Is this possible?

html,spring,user-interface,testing,automated-tests
My web-page has a number of icons, each of which is in a different row of a table, which can be identified like so. There are over 1000 of these. Essentially, I just want to write a tiny script which will, in my browser, click on each one. This will...

Appium error: uncaughtException: Cannot read property 'executeAtom' of null

javascript,ios,automated-tests,appium,ios-ui-automation
I am doing iOS Mobile Application Testing using Selenium. I am using respectives Appium version 1.3.7 Node JS version 2.7.5 ios webkit debug proxy iPhone 5c Xcode version 6.1 I am using a shell script which is helping me to check the ios_webkit_debug_proxy is available or not. If not exists,...

Expected build-failure tests in CMake

c++,cmake,automated-tests,ctest
Sometimes it's good to check that certain things fail to build, e.g.: // Next line should fail to compile: can't convert const iterator to iterator. my_new_container_type::iterator it = my_new_container_type::const_iterator(); Is it possible to incorporate these types of things into CMake/CTest? I'm looking for something like this in CMakeLists.txt: add_build_failure_executable( test_iterator_conversion_build_failure...

list of test step results in groovy script

groovy,automated-tests,soapui
I'm trying to figure out a way to get a list of (names) of just the failed test steps, currently the below code is giving me all the names def TestCase = testRunner.getTestCase() def StepList = TestCase.getTestStepList() StepList.each { log.info (it.name) } Now I'm not sure how to move on...

Frame handling in Webdriver IO

javascript,testing,selenium,automated-tests,webdriver-io
I am testing a webpage that has multiple forms in it. When I use client.frame({id:client.element('#frameId')}); I don't get any error, but when I try to interact with an element within that frame I get a RuntimeError telling me the element could not be located. I have been looking out for...

How to make grunt run some tasks at a special point in time?

javascript,node.js,testing,gruntjs,automated-tests
I am using Grunt to run Jasmine tests and Nightwatch.js tests. Is it possible to make Grunt run the tests at a special point in time? For example Grunt could run the tests always when saving changed code. Or Grunt could run the tests always at 1 am in the...

Selenium grid and TeamCity integration

teamcity,automated-tests,integration,selenium-grid
I'm new to TeamCity and Selenium Grid just trying to get my head around it. I'm trying to install Selenium grid. I am a bit confused about starting Selenium Grid. So on the Selenium site it explain to run commands: Hub: java -jar selenium-server-standalone-2.44.0.jar -role hub Node: java -jar selenium-server-standalone-2.44.0.jar...

Two sets of tests in Cmake

cmake,automated-tests,ctest
I have two sets of tests (functional and unit tests) and I want to be able to specify which set to run through cmake. One set of tests are my unittests that I want to run by doing "make test". Another set of tests are my functional tests that I...

Xvfb, Jenkins, Selenium tests - Capture Screenshots of all pages

selenium,jenkins,automated-tests,capture,xvfb
I'm trying to find some clues on the following issues and not able to find good help online. I'm running Xvfb (X virtual frame buffer), firefox on a Linux machine in headless mode. Xvfb main service is up and running and DISPLAY variable is set. /usr/bin/Xvfb :99 -ac -screen 0...

How to confirm test-data from selenium webdriver is stored in the database?

database,selenium-webdriver,automated-tests
Interview questions: Suppose you fill-up the fields (eg username , password etc) from Test data Excel sheet using Apache POI. After clicking on Submit button, what happens? How do you confirm that test data from excel sheet in stored into DB? What is interface between Selenium WD and the Database?...

testing - How to approach integration tests that create new data

testing,junit,automated-tests,integration-testing
Say I have a test that asserts whether registration of a new user in the system actually succeeds: RegistrationIntegrationTest#testRegister() Now, this creates a new test user in the actual database, since I want this test to run on the actual environment. This means that the test must not be run...

Is there an easy way in xunit.net to compare two collections without regarding the items' order?

c#,automated-tests,xunit.net
In one of my tests, I want to ensure that a collection has certain items. Therefore, I want to compare this collection with the items of an expected collection not regarding the order of the items. Currently, my test code looks somewhat like this: [Fact] public void SomeTest() { //...

TestWatcher and TestNG

java,selenium,junit,automated-tests,testng
All, I use JUnit and TestWatcher along with Selenium (Java). Using TestWatcher upon failure and success, I place calls to a bug tracking tool API to lock test cases and defects. I now want to generate a report of my Selenium test runs and lock the test cases and defects....

Selenium/Webdriver tests execution time doubled after upgrading to 2.45

selenium,selenium-webdriver,webdriver,automated-tests,selenium-firefoxdriver
after the upgrade from selenium 2.44 to 2.45 the execution time is 2-3 times longer than before. I have been executing the tests with Firefox 36 in a Linux/Ubuntu and a Windows XP environment. What could be the reason behind this slower speed? Do I have to configure FirefoxDriver differently...

better way to automate a multiple searchbox using selenium

selenium,selenium-webdriver,automation,automated-tests
i have to automate search option in below url : https://qa.roofandfloor.com/ currently,I am selecting single dropdown one by one and searching properties and automating it,just wondering if there is more better/effective way to automate it. can someone help me on this design pattern. i know its mostly a theoretical issue,but...

What to do when waiting for an element is not enough?

selenium,automation,automated-tests
I am writing selenium test scripts using the industry standard of webdriver waits before interacting with elements, but I still frequently find my tests are failing, and it seems to be due to a race condition. Here's the example I have been running into lately: Go to the product catalog...

How to test a jquery and javascript program?

javascript,jquery,unit-testing,testing,automated-tests
I just developed a JS program that also uses Jquery. I need to test it programmatically which I don't know how. I'm kinda new to testing and my search results included some software testing tools like JsUnit, Selenium. How can I test my program?...

Android test project Manifest: how to automatically edit instrumentation target package?

java,android,eclipse,testing,automated-tests
I'm trying to build a project that can be used to test any Android app (I'm currently using Eclipse, btw). My problem is: The Android test project must define the target package in the instrumentation tag in the Manifest file. However I want to be able to change the application...

Difference between Factory_Girl linting and Rspec's expect to be_valid

ruby-on-rails,rspec,tdd,automated-tests,factory-girl
What is the difference between testing factories with [Factory_Girl Lint]1, and RSpec's: ... it 'has a valid factory' do expect(build(:foo)).to be_valid end ... Am I correct to assume that Factory_Girl Lint checking for schema / db level validations like null: false, and the Rspec's expect to be_valid checks for model-level...

writing test for importing contents of text file into database using python and django

python,django,automated-tests
I have to import some text files into a MySQL database. These are basically just TSV files, and each row represents an instance of a Django model. I'm new to writing tests and I'm not really sure what I need to test for in a task like this. In some...

QTP - Getting a button value

button,testing,automated-tests,qtp,utf
I have a portion of code where I pick the value in a button and use it for other purposes. Or, at least, this is what I'd like to do. The button changes value at every refresh of the page (it's a webpage). For example: at the first access...

Can we have a Unit test project dedicated only to WCF in Visual Studios 2013?

wcf,unit-testing,automated-tests
Just wanted to know whether we can have a Unit Test Project dedicated to a WCF Solution or not ? I know this might be a Generic question but I couldn't get specific answer to it even though I searched through various blogs and websites. Please suggest.

How to record a Java Web Start Application using Rational Functional Tester

java,automated-tests,rft
We are trying to register some navigation to a Java Web Start application (.jnlp). Following the instructions reported in the last post of this discussion, we were able to configure properly the application to start using the Application Configuration Tool. After executing the record session, using Insert Recording into Active...

Unit Testing Methods that make WCF Service Call?

c#,wpf,wcf,unit-testing,automated-tests
First attempt at any real unit testing. I have a WPF client application which receives data from methods in a WCF service. These method calls are made directly from my view models in the client app: public string LoadArticle() { MyServiceClient msc = new MyServiceClient(); return Article = msc.GetArticle(_UserName); }...

Bash script for testing a program

c,bash,automated-tests
This is a trivial program that reverses a string. void str_reverse(const char*, size_t, char*, size_t); int main(){ char str[256]; while(fgets(str, 256, stdin)){ if(strncasecmp(str, "quit", 4) == 0) break; size_t size_reversed = strlen(str) * sizeof(char); char* reversed = malloc(size_reversed); str_reverse(str, sizeof(str), reversed, size_reversed); printf("Orginal String : %s\n", str); printf("Reversed String :...

Maven Failsafe Plugin is always skipping integration tests

java,maven,automated-tests,integration-testing
I am attempting to configure my Maven project to have unit tests and integration tests. The unit tests are already working fine using the Maven Surefire plugin and are named according to the pattern *Test.java. After adding the Failsafe plugin, like so: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>2.18.1</version> <dependencies> <dependency> <groupId>org.apache.maven.surefire</groupId>...

Smart Unit Tests standalone

unit-testing,automated-tests,pex,parameterized-unit-test
I've been working with Smart Unit Tests (formerly Pex) for some time now. Pex had the ability to run as a standalone, command-line application which was really useful for several scenarios (e.g. extending the list of parameters of the Parameterized Unit Tests). However, in the case of Smart Unit Tests...

spockframework: check expected result after every feature

groovy,automated-tests,spock,geb
I am using spockframework and geb for test automation. I would like to execute after every feature a simple check to be sure that no error dialogs are shown, I have added the following cleanup() method: def cleanup() { expect: $('.myErrrorDialogClass').isEmpty() } The code is executed after every feature but...

Calendar Element not getting selected- Selenium Webdriver

java,selenium,xpath,selenium-webdriver,automated-tests
I am learning automation with selenium Webdriver(Java) and I wanted to practice some stuff on this webpage:- Lufthansa homepage I am having trouble selecting a particular date using date picker. Here is my code which attempts to do that: String parentWindow = driver.getWindowHandle(); String subWindow = null; driver.findElement(By.xpath(".//*[@id='ns_7_CO19VHUC6VU280AQ4LUKRK0IR7_fmOutboundDateDisplay']")).click(); //Clicking on...

How to run automated tests from TFS 2013 UI?

tfs,automated-tests
Let's say there are some unit tests that initiate a Selenium process and test a website's functionality. The unit tests are linked to test cases and can be initiated from the Test Manager. There are test agents running on several machines. Is it possible to run an automated test from...

How to know control ID based on searched InnerText/Name

visual-studio-2012,automated-tests,coded-ui-tests
public class UIRow0jqxGrid1Pane : HtmlDiv { public UIRow0jqxGrid1Pane(UITestControl searchLimitContainer) : base(searchLimitContainer) { #region Search Criteria this.SearchProperties[HtmlDiv.PropertyNames.Id] = "row0jqxGrid1";//This ID will be dynamic. Need to search based on provided InnerText this.SearchProperties[HtmlDiv.PropertyNames.Name] = null; this.FilterProperties[HtmlDiv.PropertyNames.InnerText] = "XXXX"; this.FilterProperties[HtmlDiv.PropertyNames.Title] = null; this.FilterProperties[HtmlDiv.PropertyNames.Class] = null;...

Multiple Scope value in Binding (Specflow)

scope,automated-tests,specflow,feature-selection,feature-file
I have a method which runs Before a feature like so, [BeforeFeature, Scope(Feature = "Feature1"] Method() { } I want the same method to be ran for another feature file that i've wiritten i.e. Feature2 How do i combine this "Feature2" in the scope Binding? I tried this [BeforeFeature, Scope(Feature...

Can I make _Assert write to console instead of a message box?

scripting,automated-tests,autoit
I am writing a script in AutoIt to test a windows application, and I am using the _Assert function to verify certain actions. In the documentation I found there is a parameter to say whether or not the script should end if an assertion fails, which is great because in...

CasperJS tester module output to csv instead of command line

javascript,csv,automated-tests,casperjs
Using a CasperJS test module, is there a way to output the assert outputs to a CSV instead of a command line?

Getting data out of my app code and into my rspec test

ruby-on-rails,ruby,testing,rspec,automated-tests
I'm not sure how exactly to approach this kind of test in rspec, or if it is even possible. My specific scenario is about email confirmation: 1) The user#save method uses SecureRandom to generate a string of bytes (the email confirmation code), Bcrypts it, and stores the result in the...

If ElseIf in Robot Framework

python-2.7,testing,if-statement,automated-tests,robotframework
I want get value from Keyword By use else if. example String text = "" If variable > 5 text = "one"; else if variable <5 text = "two"; else text = "three"; In Robot Framework I use code. ${txt} Set Variable ${txt}= Run Keyword If ${lenght} > 5 Some...

ClearCase Structure for Test Automation

java,automated-tests,clearcase
I am new to ClearCase, and I just want to know the best practice to set up ClearCase for test automation. I have a Java project called TestAutomationCommon. This is a library that will be shared by all automation projects. Then there is application specific projects. Each application will have...

Where can I find real ExpressJS (or any JS) application source code to read? [closed]

javascript,express,automated-tests
A great way to improve your own code is to read the code of others. I know there are many open source efforts out there but those tend to be APIs or modules that don't reflect common "real-world" implementation constraints or scenarios. Where can I find real application code--preferably ExpressJS--that...

Exclude unit tests from Code Clones analysis

visual-studio,unit-testing,refactoring,automated-tests,static-analysis
How do I exclude my unit test project from Visual Studio's Code Clones analyzer. Hence, I am more interested in my automated test scripts serving as living documentation than I am as SOLID. As a result, I am okay with some duplication across my suite of tests. Any thoughts?...

Can Selenium IDE/Builder run same test case on many pages?

javascript,selenium,jenkins,automated-tests,selenium-ide
Is there a way to run the same Selenium test case on many pages without specifically defining a list of pages? Say, for example, I have a UIMap pageset defined like this: var map = new UIMap(); map.addPageset({ name: 'pages', description: 'all pages', pathRegexp: '^thisistheroot/$' }); In the pageset, I...

protractor ElementArrayFinder .last() [object Object] has no method 'indexof'

angularjs,automated-tests,protractor,angularjs-e2e
i'm trying to run through the tutorial http://angular.github.io/protractor/#/tutorial when i try to get element using .first() or .last() method the test failed with error: TypeError Object [object Object] has no method 'indexof' here is spec.js var firstNumber = element(by.model('first')); var secondNumber = element(by.model('second')); var go = element(by.id('gobutton')); var latest =...

Selenium POM model: java.lang.NullPointerException error. Not able to enter values for webelements or select elements

java,selenium,automated-tests,pageobjects
I am implementing POM model sleneium for the first time. I am using skeleton function to initialize my WebDriver. It is as below: File pathToBinary = new File("<path>\firefox.exe"); FirefoxBinary binary = new FirefoxBinary(pathToBinary); FirefoxProfile profile = new FirefoxProfile(); profile.setPreference("network.proxy.http", "<proxyaddress>"); profile.setPreference("network.proxy.http_port", "<portnumber>"); driver = new FirefoxDriver(binary, new FirefoxProfile()); driver.manage().window().maximize(); My...

Sum of two variables in RobotFramework

python,automated-tests,robotframework
I have two variables: ${calculatedTotalPrice} = 42,42 ${productPrice1} = 43,15 I executed ${calculatedTotalPrice} Evaluate ${calculatedTotalPrice}+${productPrice1} I got 42,85,15 How can I resolve it?...

Test Fails when running MSTest on commandline but passes in VS2012

unit-testing,automated-tests,mstest
I have one test out of a suite of tests that fails when running MSTest on the commandline. However, the same suite of tests passes within VS2012 IDE. I verified that the same test project dll is being executed on both commandline and VS2012 IDE. I verified this by commenting...

Using a authentication login a a parameter in requesy header in frisby

javascript,rest,automated-tests,web-api-testing,frisby.js
I'm trying to a test that requires an authentication token login using frisby, the problem is: the response of my request is a string and not a JSON and i still havent figured out how to get it working. I've read a few examples that i found googling but they...

Compare stored values in Selenium IDE

automated-tests,selenium-ide
I am new to test automation and to Selenium IDE. With Selenium IDE, I want to store two values(integer) and compare them. Test passes if the compared result is greater than or equal to zero. So far, I only found an option to store the values and wondering if there...

Multi user file property Selenium

java,selenium,junit,webdriver,automated-tests
I made autotest on Selenium. This test I will start on JMeter for load testing for 10, 20, 50+ users. What I should do. I create a property file (configuration file) and put there URL, Login, Password. So I made a cycle and put there this code where I'll start...

Why is Coded UI Module failing to see UI Control Elements showing up in Internet Explorer browser?

unit-testing,internet-explorer,coded-ui-tests,automated-tests,ui-testing
Our Automated UI test code needs to search and find the link that contains the "p" html element with text called Customers. Finally, we need to automated uit test code to click on the aforementioned link. <div data-bind="foreachRibbonItem: items"> blah blah blah blah blah <a class="btn txt-color-white" href="#" data-bind="click: content,...

nunit/mbunit parameterized SetUp

nunit,automated-tests,fixtures,mbunit
I'd like to provide parameterized data for the setup of a test. Something like this: [TestCase("1", "2") [TestCase("a", "b") public class TestFixture { [SetUp] public void SetUp(string x, string y) { Console.WriteLine("Setup with {0}, {1}", x, y); } [Test] public void Test() {...} } But I can only manage to...

Fitnesse eclipse project root path

eclipse,testing,automated-tests,fitnesse,fitnesse-slim
I am using eclipse and I kept FitnesseRoot inside a project structure. Now, I want to have relative paths to my classfiles. Hows should I do it? For eg:I have something like !path h:/workspace/proj/WEB-INF/lib/*.jar !path h:/workspace/proj/WEB-INF/classes I want something like !path /proj/WEB-INF/lib/*.jar !path /proj/WEB-INF/classes Thanks!!...