Sir , after adding external libraries , i still get skips/ fails....
pls refer snapshot
Sir,
some libraries are missing. Have set variable_path to users/.m2
Could try downloading by using pom.xml.
Sir, am unable to locate pom.xml in this particular project.
i got all errors fixed....
All libraries are in place now.
Still, 19 tests are skipped pass-5
do you see the cross marks. delete those jar files.
add poi api jar files via add external jars.
Fixed the errors sir...
Now ...i have Suite
suiteA:RunMode-Y
TestCases sheet :RunMode-Y
TestCase_A sheet :RunMode-Y
& Assert statement in TestCase_A is :
String expected_title="XYZ";
String actual_title="XYZ"; // selenium from the app
try{
Assert.assertEquals(expected_title, actual_title);
}catch(Throwable t){
// code to report the error in testng
ErrorUtil.addVerificationFailure(t);
// report the error in xls files
fail=true;
return;
}
============================================================================
[b:2ifcqfhm]Doubt [/b:2ifcqfhm][b:2ifcqfhm]: TestCaseA- execution skips. Why is that so sir ?
Testcase_A should be passing sir .What's reason its skipping ??[/b:2ifcqfhm]
[quote="chaitra108@gmail.com":jtl1v42y]Fixed the errors sir...
Now ...i have Suite
suiteA:RunMode-Y
TestCases sheet :RunMode-Y
TestCase_A sheet :RunMode-Y
& Assert statement in TestCase_A is :
String expected_title="XYZ";
String actual_title="XYZ"; // selenium from the app
try{
Assert.assertEquals(expected_title, actual_title);
}catch(Throwable t){
// code to report the error in testng
ErrorUtil.addVerificationFailure(t);
// report the error in xls files
fail=true;
return;
}
============================================================================
[b:jtl1v42y]Doubt [/b:jtl1v42y][b:jtl1v42y]: TestCaseA- execution skips. Why is that so sir ?
Testcase_A should be passing sir .What's reason its skipping ??[/b:jtl1v42y][/quote:jtl1v42y]
see if "expected_title" and "actual_tile" match?
They match . So, assert equals returns true & no exception is generated...
The test should pass right...?