Execution getting stopped at BeforeMethod | Selenium Training|Java|WebDriver|TestNG|Frameworks|Videos

Selenium Training Forum

Execution getting stopped at BeforeMethod

A
Amrutha Pai Post on 22/01/2019

Hi,

Execution stopping at line System.out.println("done!!!!!"); with "Source not found" exception.

Its not returning to @Test from @BeforeTest

Below is the piece of code:

@BeforeMethod
public void initTest()
{
rep= ExtentManager.getInstance(prop.getProperty("reportPath"));
test=rep.createTest(testName);
System.out.println("Extent report object created");
ds.setExtentTest(test);
System.out.println("done!!!!!");
}

A
Amrutha Pai Reply on 23/01/2019

I am getting "Source not Found" exception at multiple points while debugging in DriverScript of Hybrid framework.

I am not able to figure out what the issue is. Is this related to some missing getters/setters?

D

Instructor

demo Reply on 23/01/2019

Please share your project in a compressed zip file.

A
Amrutha Pai Reply on 29/01/2019

Sharing the project

D

Instructor

demo Reply on 04/02/2019

Source not Found while debugging occurs when the pointer has moved to a jar file.

Additionally, i need the dependent files as well in order to check this project.

A
Amrutha Pai Reply on 11/02/2019

I found the issue.thanks