Re: [Architecture] [APPFAC][FEATURE] Selenium test integration toAppfactory

2014-09-14 Thread Kasun De Silva
Hi Anuruddha,

Is the build server mentioned above for the test cases to run is a separate
one or the one we already have inside AF?

*Kasun de Silva*
Software Engineer | *WSO2 Inc.*; http://wso2.com
lean.enterprise.middleware

email   : kas...@wso2.com
mobile : +94 77 794 4260


On Sun, Sep 14, 2014 at 9:07 AM, Anuruddha Premalal anurud...@wso2.com
wrote:

 Hi Madhawa,

 Right now we are adding this support based on a configuration flag in the
 apptype.xml. But yes, we have to bring this as an improvement to add user
 option in the AF UI.

 On Fri, Sep 12, 2014 at 9:04 AM, Madhawa Bandara madh...@wso2.com wrote:

 Hi Anurudda,
 So if the test support is added per app type, tests are added to an
 application by default or a user is able to select it as an option?

 Sent from Windows phone
 --
 From: Anuruddha Premalal anurud...@wso2.com
 Sent: ‎9/‎10/‎2014 15:36
 To: architecture@wso2.org
 Subject: Re: [Architecture] [APPFAC][FEATURE] Selenium test integration
 toAppfactory

 Hi Danushka,

 Basically we need to have a  repo for tests to trigger builds separately
 (where the build server node have browser launching capabilities). Do you
 have alternative suggestions for this?

 Yes users will be able to download logs related to the test via UI; Hope
 to add this new UI features in other services tab. WDYT?

 On Wed, Sep 10, 2014 at 11:54 AM, Danushka Fernando danush...@wso2.com
 wrote:

 Hi Anuruddha


 On Wed, Sep 10, 2014 at 10:16 AM, Anuruddha Premalal anurud...@wso2.com
  wrote:

 Hi All,

 We are planning to bring selenium test support to Appfactory web apps.
 Following is the initial architecture.

 * Selenium tests will added to a web app based on a configuration flag
 on the apptype xml.
   - Test suit creation will happen in the app creation phase.
   - Idea is to create a separate git repository for the test suit.

 Why we need a seperate git repo. If we do so IMO we need to version that
 repo also in same way we version the master repo.


 * Users will able to run tests if there are any changes in the selenium
 default test suit.
   - These test will run on a build server installed on a machine with
 web browser launch support. (install ubuntu desktop package)
   - We are avoiding headless mode in selenium because of some
 javascript execution issues which can cause due this mode.

 So will the user get the report of test output. IMO it should be
 downloadable from AF ui. WDYT?


 * Tests specific user actions and test results will categorize under
 the other services tab in Appfactory.

 Your feedback is welcome.

 Regards,
 --
 *Anuruddha Premalal*
 Software Eng. | WSO2 Inc.
 Mobile : +94710461070
 Web site : www.regilandvalley.com


 ___
 Architecture mailing list
 Architecture@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

 Thanks  Regards
 Danushka Fernando
 Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729

 ___
 Architecture mailing list
 Architecture@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture




 --
 *Anuruddha Premalal*
 Software Eng. | WSO2 Inc.
 Mobile : +94710461070
 Web site : www.regilandvalley.com


 ___
 Architecture mailing list
 Architecture@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture




 --
 *Anuruddha Premalal*
 Software Eng. | WSO2 Inc.
 Mobile : +94710461070
 Web site : www.regilandvalley.com


 ___
 Architecture mailing list
 Architecture@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture


___
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture


Re: [Architecture] [APPFAC][FEATURE] Selenium test integration toAppfactory

2014-09-14 Thread Anuruddha Premalal
Hi Kasun,

We want to run selenium test in headless mode, this requires the build
server instance to be installed in an environment with browser launching
capabilities. And it doesn't mean we cannot use the same  server which we
used to build apps. We'll use this existing one as for the initial step.

WDYT?

Regards,
Anuruddha.



On Sun, Sep 14, 2014 at 10:12 PM, Kasun De Silva kas...@wso2.com wrote:

 Hi Anuruddha,

 Is the build server mentioned above for the test cases to run is a
 separate one or the one we already have inside AF?

 *Kasun de Silva*
 Software Engineer | *WSO2 Inc.*; http://wso2.com
 lean.enterprise.middleware

 email   : kas...@wso2.com
 mobile : +94 77 794 4260


 On Sun, Sep 14, 2014 at 9:07 AM, Anuruddha Premalal anurud...@wso2.com
 wrote:

 Hi Madhawa,

 Right now we are adding this support based on a configuration flag in the
 apptype.xml. But yes, we have to bring this as an improvement to add user
 option in the AF UI.

 On Fri, Sep 12, 2014 at 9:04 AM, Madhawa Bandara madh...@wso2.com
 wrote:

 Hi Anurudda,
 So if the test support is added per app type, tests are added to an
 application by default or a user is able to select it as an option?

 Sent from Windows phone
 --
 From: Anuruddha Premalal anurud...@wso2.com
 Sent: ‎9/‎10/‎2014 15:36
 To: architecture@wso2.org
 Subject: Re: [Architecture] [APPFAC][FEATURE] Selenium test integration
 toAppfactory

 Hi Danushka,

 Basically we need to have a  repo for tests to trigger builds separately
 (where the build server node have browser launching capabilities). Do you
 have alternative suggestions for this?

 Yes users will be able to download logs related to the test via UI; Hope
 to add this new UI features in other services tab. WDYT?

 On Wed, Sep 10, 2014 at 11:54 AM, Danushka Fernando danush...@wso2.com
 wrote:

 Hi Anuruddha


 On Wed, Sep 10, 2014 at 10:16 AM, Anuruddha Premalal 
 anurud...@wso2.com wrote:

 Hi All,

 We are planning to bring selenium test support to Appfactory web apps.
 Following is the initial architecture.

 * Selenium tests will added to a web app based on a configuration flag
 on the apptype xml.
   - Test suit creation will happen in the app creation phase.
   - Idea is to create a separate git repository for the test suit.

 Why we need a seperate git repo. If we do so IMO we need to version
 that repo also in same way we version the master repo.


 * Users will able to run tests if there are any changes in the
 selenium default test suit.
   - These test will run on a build server installed on a machine with
 web browser launch support. (install ubuntu desktop package)
   - We are avoiding headless mode in selenium because of some
 javascript execution issues which can cause due this mode.

 So will the user get the report of test output. IMO it should be
 downloadable from AF ui. WDYT?


 * Tests specific user actions and test results will categorize under
 the other services tab in Appfactory.

 Your feedback is welcome.

 Regards,
 --
 *Anuruddha Premalal*
 Software Eng. | WSO2 Inc.
 Mobile : +94710461070
 Web site : www.regilandvalley.com


 ___
 Architecture mailing list
 Architecture@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

 Thanks  Regards
 Danushka Fernando
 Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729

 ___
 Architecture mailing list
 Architecture@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture




 --
 *Anuruddha Premalal*
 Software Eng. | WSO2 Inc.
 Mobile : +94710461070
 Web site : www.regilandvalley.com


 ___
 Architecture mailing list
 Architecture@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture




 --
 *Anuruddha Premalal*
 Software Eng. | WSO2 Inc.
 Mobile : +94710461070
 Web site : www.regilandvalley.com


 ___
 Architecture mailing list
 Architecture@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture



 ___
 Architecture mailing list
 Architecture@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture




-- 
*Anuruddha Premalal*
Software Eng. | WSO2 Inc.
Mobile : +94710461070
Web site : www.regilandvalley.com
___
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture


Re: [Architecture] [APPFAC][FEATURE] Selenium test integration toAppfactory

2014-09-14 Thread Kasun De Silva
Yes IMO that's a better plan for the initial setup, since I have tried
using a separate build server for some other feature of AF and it needs lot
of effort. So better to go with the same build server which we use to build
apps for now.

Regards,
Kasun

*Kasun de Silva*
Software Engineer | *WSO2 Inc.*; http://wso2.com
lean.enterprise.middleware

email   : kas...@wso2.com
mobile : +94 77 794 4260


On Mon, Sep 15, 2014 at 9:26 AM, Anuruddha Premalal anurud...@wso2.com
wrote:

 Hi Kasun,

 We want to run selenium test in headless mode, this requires the build
 server instance to be installed in an environment with browser launching
 capabilities. And it doesn't mean we cannot use the same  server which we
 used to build apps. We'll use this existing one as for the initial step.

 WDYT?

 Regards,
 Anuruddha.



 On Sun, Sep 14, 2014 at 10:12 PM, Kasun De Silva kas...@wso2.com wrote:

 Hi Anuruddha,

 Is the build server mentioned above for the test cases to run is a
 separate one or the one we already have inside AF?

 *Kasun de Silva*
 Software Engineer | *WSO2 Inc.*; http://wso2.com
 lean.enterprise.middleware

 email   : kas...@wso2.com
 mobile : +94 77 794 4260


 On Sun, Sep 14, 2014 at 9:07 AM, Anuruddha Premalal anurud...@wso2.com
 wrote:

 Hi Madhawa,

 Right now we are adding this support based on a configuration flag in
 the apptype.xml. But yes, we have to bring this as an improvement to add
 user option in the AF UI.

 On Fri, Sep 12, 2014 at 9:04 AM, Madhawa Bandara madh...@wso2.com
 wrote:

 Hi Anurudda,
 So if the test support is added per app type, tests are added to an
 application by default or a user is able to select it as an option?

 Sent from Windows phone
 --
 From: Anuruddha Premalal anurud...@wso2.com
 Sent: ‎9/‎10/‎2014 15:36
 To: architecture@wso2.org
 Subject: Re: [Architecture] [APPFAC][FEATURE] Selenium test
 integration toAppfactory

 Hi Danushka,

 Basically we need to have a  repo for tests to trigger builds
 separately (where the build server node have browser launching
 capabilities). Do you have alternative suggestions for this?

 Yes users will be able to download logs related to the test via UI;
 Hope to add this new UI features in other services tab. WDYT?

 On Wed, Sep 10, 2014 at 11:54 AM, Danushka Fernando danush...@wso2.com
  wrote:

 Hi Anuruddha


 On Wed, Sep 10, 2014 at 10:16 AM, Anuruddha Premalal 
 anurud...@wso2.com wrote:

 Hi All,

 We are planning to bring selenium test support to Appfactory web
 apps. Following is the initial architecture.

 * Selenium tests will added to a web app based on a configuration
 flag on the apptype xml.
   - Test suit creation will happen in the app creation phase.
   - Idea is to create a separate git repository for the test suit.

 Why we need a seperate git repo. If we do so IMO we need to version
 that repo also in same way we version the master repo.


 * Users will able to run tests if there are any changes in the
 selenium default test suit.
   - These test will run on a build server installed on a machine with
 web browser launch support. (install ubuntu desktop package)
   - We are avoiding headless mode in selenium because of some
 javascript execution issues which can cause due this mode.

 So will the user get the report of test output. IMO it should be
 downloadable from AF ui. WDYT?


 * Tests specific user actions and test results will categorize under
 the other services tab in Appfactory.

 Your feedback is welcome.

 Regards,
 --
 *Anuruddha Premalal*
 Software Eng. | WSO2 Inc.
 Mobile : +94710461070
 Web site : www.regilandvalley.com


 ___
 Architecture mailing list
 Architecture@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

 Thanks  Regards
 Danushka Fernando
 Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729

 ___
 Architecture mailing list
 Architecture@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture




 --
 *Anuruddha Premalal*
 Software Eng. | WSO2 Inc.
 Mobile : +94710461070
 Web site : www.regilandvalley.com


 ___
 Architecture mailing list
 Architecture@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture




 --
 *Anuruddha Premalal*
 Software Eng. | WSO2 Inc.
 Mobile : +94710461070
 Web site : www.regilandvalley.com


 ___
 Architecture mailing list
 Architecture@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture



 ___
 Architecture mailing list
 Architecture@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture




 --
 *Anuruddha Premalal*
 Software Eng. | WSO2 Inc.
 Mobile : +94710461070
 Web site : www.regilandvalley.com


 ___
 Architecture mailing list
 Architecture@wso2.org
 https

Re: [Architecture] [APPFAC][FEATURE] Selenium test integration toAppfactory

2014-09-13 Thread Anuruddha Premalal
Hi Madhawa,

Right now we are adding this support based on a configuration flag in the
apptype.xml. But yes, we have to bring this as an improvement to add user
option in the AF UI.

On Fri, Sep 12, 2014 at 9:04 AM, Madhawa Bandara madh...@wso2.com wrote:

 Hi Anurudda,
 So if the test support is added per app type, tests are added to an
 application by default or a user is able to select it as an option?

 Sent from Windows phone
 --
 From: Anuruddha Premalal anurud...@wso2.com
 Sent: ‎9/‎10/‎2014 15:36
 To: architecture@wso2.org
 Subject: Re: [Architecture] [APPFAC][FEATURE] Selenium test integration
 toAppfactory

 Hi Danushka,

 Basically we need to have a  repo for tests to trigger builds separately
 (where the build server node have browser launching capabilities). Do you
 have alternative suggestions for this?

 Yes users will be able to download logs related to the test via UI; Hope
 to add this new UI features in other services tab. WDYT?

 On Wed, Sep 10, 2014 at 11:54 AM, Danushka Fernando danush...@wso2.com
 wrote:

 Hi Anuruddha


 On Wed, Sep 10, 2014 at 10:16 AM, Anuruddha Premalal anurud...@wso2.com
 wrote:

 Hi All,

 We are planning to bring selenium test support to Appfactory web apps.
 Following is the initial architecture.

 * Selenium tests will added to a web app based on a configuration flag
 on the apptype xml.
   - Test suit creation will happen in the app creation phase.
   - Idea is to create a separate git repository for the test suit.

 Why we need a seperate git repo. If we do so IMO we need to version that
 repo also in same way we version the master repo.


 * Users will able to run tests if there are any changes in the selenium
 default test suit.
   - These test will run on a build server installed on a machine with
 web browser launch support. (install ubuntu desktop package)
   - We are avoiding headless mode in selenium because of some javascript
 execution issues which can cause due this mode.

 So will the user get the report of test output. IMO it should be
 downloadable from AF ui. WDYT?


 * Tests specific user actions and test results will categorize under the
 other services tab in Appfactory.

 Your feedback is welcome.

 Regards,
 --
 *Anuruddha Premalal*
 Software Eng. | WSO2 Inc.
 Mobile : +94710461070
 Web site : www.regilandvalley.com


 ___
 Architecture mailing list
 Architecture@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

 Thanks  Regards
 Danushka Fernando
 Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729

 ___
 Architecture mailing list
 Architecture@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture




 --
 *Anuruddha Premalal*
 Software Eng. | WSO2 Inc.
 Mobile : +94710461070
 Web site : www.regilandvalley.com


 ___
 Architecture mailing list
 Architecture@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture




-- 
*Anuruddha Premalal*
Software Eng. | WSO2 Inc.
Mobile : +94710461070
Web site : www.regilandvalley.com
___
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture


Re: [Architecture] [APPFAC][FEATURE] Selenium test integration toAppfactory

2014-09-11 Thread Madhawa Bandara
Hi Anurudda,
So if the test support is added per app type, tests are added to an application 
by default or a user is able to select it as an option? 

Sent from Windows phone 

-Original Message-
From: Anuruddha Premalal anurud...@wso2.com
Sent: ‎9/‎10/‎2014 15:36
To: architecture@wso2.org architecture@wso2.org
Subject: Re: [Architecture] [APPFAC][FEATURE] Selenium test integration 
toAppfactory

Hi Danushka,


Basically we need to have a  repo for tests to trigger builds separately (where 
the build server node have browser launching capabilities). Do you have 
alternative suggestions for this?


Yes users will be able to download logs related to the test via UI; Hope to add 
this new UI features in other services tab. WDYT?


On Wed, Sep 10, 2014 at 11:54 AM, Danushka Fernando danush...@wso2.com wrote:

Hi Anuruddha



On Wed, Sep 10, 2014 at 10:16 AM, Anuruddha Premalal anurud...@wso2.com wrote:

Hi All,


We are planning to bring selenium test support to Appfactory web apps. 
Following is the initial architecture.


* Selenium tests will added to a web app based on a configuration flag on the 
apptype xml.
  - Test suit creation will happen in the app creation phase.
  - Idea is to create a separate git repository for the test suit.
Why we need a seperate git repo. If we do so IMO we need to version that repo 
also in same way we version the master repo. 


* Users will able to run tests if there are any changes in the selenium default 
test suit.
  - These test will run on a build server installed on a machine with web 
browser launch support. (install ubuntu desktop package)
  - We are avoiding headless mode in selenium because of some javascript 
execution issues which can cause due this mode.
So will the user get the report of test output. IMO it should be downloadable 
from AF ui. WDYT? 


* Tests specific user actions and test results will categorize under the other 
services tab in Appfactory.


Your feedback is welcome.


Regards,
-- 

Anuruddha Premalal

Software Eng. | WSO2 Inc.
Mobile : +94710461070
Web site : www.regilandvalley.com



___
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture


Thanks  Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729

___
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture







-- 

Anuruddha Premalal

Software Eng. | WSO2 Inc.
Mobile : +94710461070
Web site : www.regilandvalley.com___
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture