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 255183 - unable create selenium test under web project
Summary: unable create selenium test under web project
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Selenium (show other bugs)
Version: 8.1
Hardware: All All
: P2 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-10 14:07 UTC by Masaki Katakai
Modified: 2015-09-12 03:05 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot - error at wizard (29.81 KB, image/jpeg)
2015-09-10 14:07 UTC, Masaki Katakai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2015-09-10 14:07:13 UTC
Created attachment 156061 [details]
screenshot - error at wizard

Product Version: NetBeans IDE Dev (Build 201509090002)

http://wiki.netbeans.org/NewAndNoteworthyNB81 says
creating selenium tests is supported on

Maven Java Application, Web application, EJB Module, Enterprise Application Client

However I can not create it on Web application.


1. create a web project by Java Web -> Web Application
2. create a selenium test case by Selenium Tests -> Selenium Test Case

Wizard always says

"No source folders in project; perhaps it has been deleted"

and unable to create it. Refer the screenshot in attachment.
Comment 1 Theofanis Oikonomou 2015-09-11 12:05:38 UTC
Changeset: c032140d312b
Author:    Theofanis Oikonomou <theofanis@netbeans.org>
Date:      2015-09-11 14:03
Message:
Comment 2 Theofanis Oikonomou 2015-09-11 12:10:11 UTC
(In reply to Masaki Katakai from comment #0)
> http://wiki.netbeans.org/NewAndNoteworthyNB81 says
> creating selenium tests is supported on
> 
> Maven Java Application, Web application, EJB Module, Enterprise Application
> Client
> 

selenium support should only be active for maven projects. That said it is a mistake that "Selenium Tests" category was even offered in an ant project and the fix hides this category for ant projects. Thank you for reporting.

Tomas and Tomas on cc as I touched maven and web.clientproject modules. I hope it is ok :)
Comment 3 Tomas Mysik 2015-09-11 13:05:51 UTC
No problem. Thanks.
Comment 4 Masaki Katakai 2015-09-11 13:39:10 UTC
(In reply to Theofanis Oikonomou from comment #2)

> selenium support should only be active for maven projects. That said it is a
> mistake that "Selenium Tests" category was even offered in an ant project
> and the fix hides this category for ant projects. Thank you for reporting.

Oh! This means Java Application, Web application, EJB Module, Enterprise Application Client under Maven project. It was my misreading.

But anyway, thank you very much for the quick fix!
Comment 5 Quality Engineering 2015-09-12 03:05:24 UTC
Integrated into 'main-silver', will be available in build *201509120002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/c032140d312b
User: Theofanis Oikonomou <theofanis@netbeans.org>
Log: Task #255183 - unable create selenium test under web project