This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 250934 - Cannot create Selenium Test Case in Ant based web application
Summary: Cannot create Selenium Test Case in Ant based web application
Status: NEW
Alias: None
Product: utilities
Classification: Unclassified
Component: Selenium (show other bugs)
Version: 8.1
Hardware: PC Linux
: P2 normal (vote)
Assignee: Theofanis Oikonomou
Depends on:
Reported: 2015-03-05 16:06 UTC by Jiri Kovalsky
Modified: 2015-03-06 16:10 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2015-03-05 16:06:58 UTC
Product Version: NetBeans IDE Dev (Build 201503050001)
Java: 1.8.0_40; Java HotSpot(TM) 64-Bit Server VM 25.40-b25
Runtime: Java(TM) SE Runtime Environment 1.8.0_40-b25
System: Linux version 3.13.0-24-generic running on amd64; UTF-8; en_US (nb)

It is not possible to create Selenium test case in Ant based web application probably because New File wizard requires src/test folder under project root. This works fine in Maven based web applications, because the wizard creates that folder behind the scenes.

Steps to reproduce:
1. Have some web application server registered under "Servers" node in "Services" view.
2. Invoke "File > New Project..." from main menu.
3. Select "Java Web" category and "Web Application" project type.
4. Push "Next >" button twice and then "Finish".
5. Right click "Source Packages" node and invoke "New > Other..." from its popup menu.
6. Select "Selenium Tests" category and "Selenium Test Case" file type.
7. Push "Next >" button.

Expected: The New File wizard advances to the next step allowing to specify name and location of Selenium test.
Actual: Red "No source folders in project; perhaps it has been deleted?" warning is displayed and "Next >" button is disabled.