Unable to read property file Getting filenot found exception | Selenium Forum
A
Avijeet Posted on 10/04/2019

Unable to read property file while  executing test .

 

Steps followed:

 

1. Created 3 sourcefolder file. src/test/java, src/main/java and src/resources/java.

2. created 2 package for baseclass and test under src/test/java and created propety file under resource folder.

3. While running test file not found error is throwing .

 

Do i need to add any jar file to read property file.

Error:

[RemoteTestNG] detected TestNG version 6.14.3
java.io.FileNotFoundException: C:\Users\UX015804\workspace\IDN_PPDS\src\test\resource\configue\projectconfigue.properties (The system cannot find the path specified)

 

 

 


A
Avijeet Replied on 10/04/2019

Attached the zip file for more details.


A
Avijeet Replied on 11/04/2019

It's working fine now. Hence can be closed.