Hi Malithi,

You can use TestNG data provider along with @factory annotation to re-run
the same test with different parameters. We used this combination to run
the same tests in Admin/Tenant mode [1].

Test Framework 4.2.8 does support tenant mode test execution but you have
to change the automation.properties file and re-execute the tests. However
TAF 4.3.0 version support for this OOB where you don't need to reinitiate
the tests.

[1]
https://docs.wso2.com/display/TA430/Writing+a+Test+Case+for+Multiple+User+Modes

Thanks,
Krishantha.





On Mon, Oct 20, 2014 at 6:39 PM, Malithi Edirisinghe <[email protected]>
wrote:

> Hi all,
>
> I'm working on $subject. During the discussions I had with my team members
> found that we have to automate the Open Id flow for various combination of
> parameters defined below.
>
> User - (Admin/Login User/Tenant User)
> User Consent - (Approve/Approve Always/Skip)
> Association Type - (DB Store/Replication Store/Crypto Store)
> Claims - (With/Without)
> Consumer Type - (Smart Mode/Dumb Mode)
>
> I'm planning to use parameterized tests supported by TestNG for this
> implementation, where the same test can be run over and over again for
> different parameter values [1]. Further I noted that the WSO2 Test
> Automation Framework 4.3.0 supports running tests for multiple user modes
> [2]. I would also like to know whether we have such support with 4.2.8
>
> Kindly expect your thoughts on this.
>
> [1] http://www.tutorialspoint.com/testng/testng_parameterized_test.htm
> [2]
> https://docs.wso2.com/display/TA430/Writing+a+Test+Case+for+Multiple+User+Modes
>
> Thanks,
> Malithi.
> --
>
> *Malithi Edirisinghe*
> Senior Software Engineer
> WSO2 Inc.
>
> Mobile : +94 (0) 718176807
> [email protected]
>



-- 
Krishantha Samaraweera
Senior Technical Lead - Test Automation
Mobile: +94 77 7759918
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to