Thanks Krishantha. I'll look into it.

Hemika Kodikara
Software Engineer
WSO2 Inc.
lean . enterprise . middleware
http://wso2.com

Mobile : +94777688882

On Tue, Jan 6, 2015 at 12:34 AM, Krishantha Samaraweera <[email protected]
> wrote:

> Hi Hemika,
>
> Please refer to G-Reg permission tests at [1] you can find test cases
> cover exact requirements. Note that you can define users and roles along
> with required permission in automation.xml and get them populated to carbon
> server before starting any test suite.
>
> [1]
> https://github.com/wso2-dev/product-greg/tree/master/modules/integration/tests-integration/tests-permissions/src/test/java/org/wso2/carbon/registry/permission/test
>
> Thanks,
> Krishantha.
>
> On Tue, Jan 6, 2015 at 12:05 AM, Hemika Kodikara <[email protected]> wrote:
>
>> Hi Krishantha,
>>
>> Would you be able to help me on this.
>>
>> Thanks,
>> Hemika
>>
>> Hemika Kodikara
>> Software Engineer
>> WSO2 Inc.
>> lean . enterprise . middleware
>> http://wso2.com
>>
>> Mobile : +94777688882
>>
>> On Mon, Jan 5, 2015 at 11:55 PM, Hemika Kodikara <[email protected]> wrote:
>>
>>> Hi All,
>>>
>>> I have a need to write an automated test case where I can create
>>> multiple roles and users. Each role would have different set of permissions
>>> from the permission tree. Users would be assign to these roles.
>>>
>>> The main purpose is to test the user authorization implementation in MB.
>>>
>>> Is there a way to do this without using the UI ? i.e without using
>>> selenium webdriver.
>>>
>>> If someone can provide me with an example of the implementation it would
>>> be great.
>>>
>>> Please advice.
>>>
>>> Thanks,
>>> Hemika
>>>
>>> Hemika Kodikara
>>> Software Engineer
>>> WSO2 Inc.
>>> lean . enterprise . middleware
>>> http://wso2.com
>>>
>>> Mobile : +94777688882
>>>
>>
>>
>
>
> --
> Krishantha Samaraweera
> Senior Technical Lead - Test Automation
> Mobile: +94 77 7759918
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middlewear.
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to