SkipException. But If you wants to report execution status (Skipped or Executed) In excel file then once more you have to modify SuiteOneBase.java and SuiteTwoBase.java files.
- Paste SuiteOneBase.java File on com.stta.SuiteOne Package.
- Paste SuiteTwoBase.java File on com.stta.SuiteTwo Package.
Run Test Suite To Report Execution Status
Note : Before running test suite, Please make sure that your all .xls files are closed. If any file Is open then you will get an error during test suite execution.
Now we are all set for running test suite. Run your both test suites using testng.xml file In eclipse. When eclipse completes execution, open TestSuiteList.xls file and verify that execution status Is updated or not against both test suites. You will see result as shown bellow.
As you can see In above Image, “SuiteOne” has been marked as “Executed” and “SuiteTwo” has been marked as “Skipped” using our selenium webdriver data driven automation framework.
15 thoughts on “Selenium Automation Framework : Reporting Suite Execution Status In Excel”
I am able see the results exactly what you are saying… but not able to the code logic which you provided in TestOneBaseOne.java, Read_XLS.java, SuitBase.java etc….
Any suggestion to understand these code logic?? You will help is highly appreciable.
For me, both the suite "SuiteONe" and "SuiteTwo" are executed even though SuiteOne is marked as "N" in TestSuiteList.xls file.
Also the column "Skipped/Executed" is not updated.
have you downloaded Download Step 12.zip and updated all files? Give me your email ID so we can chat to resolve Issue.
Any update on my query? I am waiting ……could not proceed to the next step…..
Cannot open TestSuiteList.xls fie from com.stta.ExcelFiles folder. Everything further is pending because of that. Please help!
Hi Aravind, can you re-upload the doc of Step12.zip. The link throws an error and I am not able to download it.
Thanks/Sourav
This Skipped/Executed functional not working as describe
I am observing the same issue. Both test suites are being run and excel file is not getting updated.
I am observing the same issue.
Hi Aravind, can u pls explain me the code logic of class files.. i am not able to understand utility class code logic functions..?
Hi Aravind, can you pls explain the code logic like how does it find location of the respective Excel files??..
This Skipped/Executed functional not working as describe
after run TestSuiteList.xls file captured
Getting teh following error
org.apache.poi.poifs.filesystem.NotOLE2FileException: Invalid header signature; read 0x0000000000000000, expected 0xE11AB1A1E011CFD0 – Your file appears not to be a valid OLE2 document
at org.apache.poi.poifs.storage.HeaderBlock.(HeaderBlock.java:181)
Everything worked up until this step… where to from here ?
Getting the following error
org.apache.poi.poifs.filesystem.NotOLE2FileException: Invalid header signature; read 0x0000000000000000, expected 0xE11AB1A1E011CFD0 – Your file appears not to be a valid OLE2 document
at org.apache.poi.poifs.storage.HeaderBlock.(HeaderBlock.java:181)
could you please help . When opening the TestSuite file it seems corrupted.
I tried setting the maven filtering to false.but still doesnt work