Hi all,

In case you still do not know how to run automated tests against your
product, here are the steps to run Selenium automated test framework in your
machines.

1. Checkout test framework from
https://wso2.org/repos/wso2/trunk/commons/qa/web-test-framework

2. Go to web_test_framework_root/commons/src/resources directory and open
framework.properties file

Update the global properties section

#Global properties

host.name=localhost
http.port=9763
https.port=9443
carbon.home=D:/wsas/wso2wsas-3.1.1
context.root=/wsas
browser.version=firefox

If you run standalone carbon product, make sure to keep context.root empty.
You can change browser type by changing browser.version (if you need to run
on IE, change browser.version to *iexplore*)

3. Go to web_test_framework_root/<product>    product = esb, wsas, is,
mashup or registry

Issue 'mvn idea:idea' to import the framework project to IDEA

OR

Issue 'mvn clean install' to run the framework directly.

At the moment, you can select the tests which are required to be run in
AllTests.java test suite. We hope to pass a system property and select test
through that in soon.


If you face any issues, please report them at
https://wso2.org/jira/browse/QA


We use self-signed certificates in carbon therefore you will get FF security
popup when logging in to management UI. You can eliminate it by specifying a
custom FF profile as mentioned in "Avoiding FF3 invalid certificate error
when running selenium tests" mail thread @arch list.


Happy testing!


Charitha Kankanamge
WSO2 Inc.
http://wso2.org
email: [email protected]
cell: +94 718 359 265
blog: http://charithaka.blogspot.com
_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to