Hi Manjula,
You can use platform section in automation.xml to specify all product
cluster information. If you are using any third party tools, then you can
define your own xml configuration in the same file and retrieve via
automationContext API. Guide at [1] would be helpful.
e.g
<platform>
<!--
cluster instance details to be used to platform test execution
-->
<productGroup name="BPS" clusteringEnabled="false" default="true">
<instance name="bpsServerInstance0001" type="standalone"
nonBlockingTransportEnabled="false">
<hosts>
<host type="default">localhost</host>
</hosts>
<ports>
<port type="http">9763</port>
<port type="https">9443</port>
</ports>
<properties>
</properties>
</instance>
</productGroup>
</platform>
[1]
http://wso2.com/library/articles/2014/05/automation-of-custom-environments-with-wso2-test-automation-framework/
Thanks,
Krishantha.
On Thu, Sep 25, 2014 at 6:05 PM, Manjula Rathnayake <[email protected]>
wrote:
> Hi Krishantha,
>
> In AF we have around 15 servers running to provide AF setup. So when we
> run test cases, we need to define these backend server URLs in a
> configuration/property file. So we are looking for best practices etc.
> Currently we have stored these values in automation.xml.
>
> thank you.
>
> On Thu, Sep 25, 2014 at 4:49 PM, Krishantha Samaraweera <
> [email protected]> wrote:
>
>> Hi Amalka,
>>
>> Can you elaborate more on the requirement. What are the host names you
>> are referring here?
>>
>> Thanks,
>> Krishantha.
>>
>> On Thu, Sep 25, 2014 at 9:02 AM, Amalka Subasinghe <[email protected]>
>> wrote:
>>
>>> Hi,
>>>
>>> For App Factory we need to $subject. What is the best way to do this?
>>>
>>> Thanks
>>> Amalka
>>>
>>
>>
>>
>> --
>> 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
>>
>>
>
>
> --
> Manjula Rathnayaka
> Software Engineer
> WSO2, Inc.
> Mobile:+94 77 743 1987
>
--
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