Hi All,

New feature was introduced to the WSO2 Test Framework to capture the web
browser screen in a test failure situation.
New  listener  was introduce  to wso2/carbon-platform-integration-utils
(4.3.0 SNAPSHOT) and it can be only used with UI test modules.

   - Following configuration need to be added  to  the TestNG suite xml
   file to make this feature available on UI test modules

<listeners>
        <listener
class-name="org.wso2.carbon.automation.engine.testlisteners.TestSuiteListener"/>
        <listener
class-name="org.wso2.carbon.automation.engine.testlisteners.TestTransformerListener"/>
        *<listener
class-name="org.wso2.carbon.integration.common.extensions.selenium.uimgt.UIManagementListener"/>*
</listeners>


   - All captured  Screens are stored in {basedir}
   */target/capturedscreens/failedtests/ *location with test case name and
   timestamp.


Thanks and Best Regards,

Saneth Dharmakeerthi
Senior Software Engineer
WSO2, Inc.
Mobile: +94772325511
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to