hey Gurpreet,thanks for info. Today I tried running the test locally, but got into problem. I followed instructions on the git hub page and tried running tests. but got some errors. below is stack trace. Let me know where I am going wrong in this.Other thing is I checked out the community app codebase and followed steps given to install and run app locally. when I run grunt serve It launches the browser but web app does not come up. Let me know what I am missing...below is the command I ran and tests got errors while running tests. I am keeping little low on my health today. If we can get into a call or something would be good to sort out these initial setup issues. let me know what time would be feasible for you to help me out set these things up.Regardssairamdesai:mifosx-ui-selenium-webdriver-tests (master, sdesai) $ mvn clean test
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building org.mifosplatform.angularui.tests:mifosx-ui-selenium-webdriver-tests 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ mifosx-ui-selenium-webdriver-tests ---
[INFO] Deleting /Users/thoughtworker/mifosx/mifosx-ui-selenium-webdriver-tests/target
[INFO]
[INFO] --- build-helper-maven-plugin:1.7:add-source (add-source) @ mifosx-ui-selenium-webdriver-tests ---
[INFO] Source directory: /Users/thoughtworker/mifosx/mifosx-ui-selenium-webdriver-tests/src/main/groovy added.
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ mifosx-ui-selenium-webdriver-tests ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/thoughtworker/mifosx/mifosx-ui-selenium-webdriver-tests/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ mifosx-ui-selenium-webdriver-tests ---
[INFO] Changes detected - recompiling the module!
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- build-helper-maven-plugin:1.7:add-test-source (add-test-source) @ mifosx-ui-selenium-webdriver-tests ---
[INFO] Test Source directory: /Users/thoughtworker/mifosx/mifosx-ui-selenium-webdriver-tests/src/test/groovy added.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ mifosx-ui-selenium-webdriver-tests ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ mifosx-ui-selenium-webdriver-tests ---
[INFO] Changes detected - recompiling the module!
[INFO] Using Groovy-Eclipse compiler to compile both Java and Groovy files
[INFO]
[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ mifosx-ui-selenium-webdriver-tests ---
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/maven-surefire-common/2.16/maven-surefire-common-2.16.pom (6 KB at 10.9 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-annotations/3.2/maven-plugin-annotations-3.2.pom (2 KB at 88.1 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-tools/3.2/maven-plugin-tools-3.2.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-tools/3.2/maven-plugin-tools-3.2.pom (17 KB at 58.9 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-api/2.16/surefire-api-2.16.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-api/2.16/surefire-api-2.16.pom (3 KB at 117.8 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-booter/2.16/surefire-booter-2.16.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-booter/2.16/surefire-booter-2.16.pom (3 KB at 131.6 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/reporting/maven-reporting-api/2.0.9/maven-reporting-api-2.0.9.pom (2 KB at 92.6 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/reporting/maven-reporting/2.0.9/maven-reporting-2.0.9.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/reporting/maven-reporting/2.0.9/maven-reporting-2.0.9.pom (2 KB at 72.1 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-toolchain/2.0.9/maven-toolchain-2.0.9.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven-toolchain/2.0.9/maven-toolchain-2.0.9.pom (4 KB at 178.7 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-booter/2.16/surefire-booter-2.16.jar
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-api/2.16/surefire-api-2.16.jar
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/reporting/maven-reporting-api/2.0.9/maven-reporting-api-2.0.9.jar (10 KB at 300.0 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-annotations/3.2/maven-plugin-annotations-3.2.jar (15 KB at 327.2 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-booter/2.16/surefire-booter-2.16.jar (39 KB at 634.3 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-api/2.16/surefire-api-2.16.jar (146 KB at 498.1 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/maven-surefire-common/2.16/maven-surefire-common-2.16.jar (259 KB at 369.0 KB/sec)
[INFO] Surefire report directory: /Users/thoughtworker/mifosx/mifosx-ui-selenium-webdriver-tests/target/surefire-reports
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit4/2.16/surefire-junit4-2.16.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit4/2.16/surefire-junit4-2.16.pom (3 KB at 115.8 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-providers/2.16/surefire-providers-2.16.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-providers/2.16/surefire-providers-2.16.pom (3 KB at 59.5 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit4/2.16/surefire-junit4-2.16.jar
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit4/2.16/surefire-junit4-2.16.jar (63 KB at 756.9 KB/sec)
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.mifosplatform.angularui.specs.ConfigurationValuesReplacerSpecification
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.402 sec <<< FAILURE! - in org.mifosplatform.angularui.specs.ConfigurationValuesReplacerSpecification
should replace api url definition(org.mifosplatform.angularui.specs.ConfigurationValuesReplacerSpecification) Time elapsed: 0.089 sec <<< ERROR!
java.lang.UnsupportedClassVersionError: org/mifosplatform/angularui/tests/utils/ConfigurationValuesReplacer : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at org.mifosplatform.angularui.specs.ConfigurationValuesReplacerSpecification.should replace api url definition(ConfigurationValuesReplacerSpecification.groovy:26)
Should replace api url and tenant(org.mifosplatform.angularui.specs.ConfigurationValuesReplacerSpecification) Time elapsed: 0 sec <<< ERROR!
java.lang.UnsupportedClassVersionError: org/mifosplatform/angularui/tests/utils/ConfigurationValuesReplacer
at org.mifosplatform.angularui.specs.ConfigurationValuesReplacerSpecification.Should replace api url and tenant(ConfigurationValuesReplacerSpecification.groovy:51)
Running org.mifosplatform.angularui.specs.LoginSpecification
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.353 sec <<< FAILURE! - in org.mifosplatform.angularui.specs.LoginSpecification
org.mifosplatform.angularui.specs.LoginSpecification Time elapsed: 0.353 sec <<< ERROR!
java.lang.RuntimeException: Could not create new instance of class org.jboss.arquillian.test.impl.EventTestRunnerAdaptor
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2446)
at java.lang.Class.getConstructor0(Class.java:2756)
at java.lang.Class.getDeclaredConstructor(Class.java:2021)
at org.jboss.arquillian.core.impl.loadable.SecurityActions$1.run(SecurityActions.java:182)
at org.jboss.arquillian.core.impl.loadable.SecurityActions$1.run(SecurityActions.java:179)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.arquillian.core.impl.loadable.SecurityActions.getConstructor(SecurityActions.java:178)
at org.jboss.arquillian.core.impl.loadable.SecurityActions.newInstance(SecurityActions.java:152)
at org.jboss.arquillian.core.impl.loadable.ServiceRegistryLoader.createServiceInstance(ServiceRegistryLoader.java:103)
at org.jboss.arquillian.core.impl.loadable.ServiceRegistryLoader.all(ServiceRegistryLoader.java:55)
at org.jboss.arquillian.core.impl.loadable.ServiceRegistryLoader.onlyOne(ServiceRegistryLoader.java:67)
at org.jboss.arquillian.container.impl.client.container.ContainerRegistryCreator.createRegistry(ContainerRegistryCreator.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
at org.jboss.arquillian.core.impl.ManagerImpl.bindAndFire(ManagerImpl.java:236)
at org.jboss.arquillian.core.impl.InstanceImpl.set(InstanceImpl.java:74)
at org.jboss.arquillian.config.impl.extension.ConfigurationRegistrar.loadConfiguration(ConfigurationRegistrar.java:71)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
at org.jboss.arquillian.core.impl.ManagerImpl.start(ManagerImpl.java:261)
at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.<init>(EventTestRunnerAdaptor.java:56)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.jboss.arquillian.test.spi.SecurityActions.newInstance(SecurityActions.java:156)
at org.jboss.arquillian.test.spi.SecurityActions.newInstance(SecurityActions.java:111)
at org.jboss.arquillian.test.spi.SecurityActions.newInstance(SecurityActions.java:97)
at org.jboss.arquillian.test.spi.TestRunnerAdaptorBuilder.build(TestRunnerAdaptorBuilder.java:52)
at org.jboss.arquillian.spock.ArquillianSputnik.run(ArquillianSputnik.java:88)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
Results :
Tests in error:
ConfigurationValuesReplacerSpecification.should replace api url definition:26 ? UnsupportedClassVersion
ConfigurationValuesReplacerSpecification.Should replace api url and tenant:51 UnsupportedClassVersion
JUnit4Provider.invoke:124->executeTestSet:153->execute:264 ? Runtime Could not...
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.849s
[INFO] Finished at: Mon May 05 11:42:08 PDT 2014
[INFO] Final Memory: 13M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on project mifosx-ui-selenium-webdriver-tests: There are test failures.
[ERROR]
[ERROR] Please refer to /Users/thoughtworker/mifosx/mifosx-ui-selenium-webdriver-tests/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
On Sat, May 3, 2014 at 2:00 AM, Gurpreet Luthra <glu...@thoughtworks.com> wrote:You can start off with Michael's repo. It does test the community app. No need to create fresh. I suggested fresh only if the automation tests were too old, since they were written I think 4-6 months ago.. and the community app has undergone major development since then. You take the call.I would recommend using Selenium (with Page Object Model).. because I think its easier for the MifosX community to pick up a Java tool, rather than learn Ruby.The tech stack for MifosX community UI app is Angular.JS. It talks to backend over REST. The backend is Java. For the backend we wrote some integration tests to hit the REST endpoints using RESTAssured. You can use those as reference for use cases to test via UI.RegardsGurpreet
On 2 May 2014 23:10, Sairam Desai <sde...@thoughtworks.com> wrote:Hey thanks for the details given let me checkout the code. Gurpreet I did not get recreating webdriver tests for community app? the Michael's repo is for community app right? I am happy to help out with starting a fresh, What technology stack the community app built in? I am ruby guy is it fine if I use Capybara rspec/cucumber tests? I have recently setup on page object model in Capybara... its working out great.Give me lil more context on why we want to recreate tests.Regards,Sairam
On Fri, May 2, 2014 at 8:15 AM, Gurpreet Luthra <glu...@thoughtworks.com> wrote:
In that case I'd suggest someone should recreate selenium-webdriver based tests for the community UI app... by forking Michaels repo, or starting fresh. Sairam - do you want to give it a shot.. and push an initial prototype to your repo? You can pair with someone if you like.The demo server is also already up and running, but setting up your own might not take much time. The MifosX setup is quite easy.RegardsGurpreetOn 2 May 2014 18:20, Subramanya S N <subra...@confluxtechnologies.com> wrote:Hi Gurpreet,Wrt Selenium scripts Michael Vorburger added much work on that, also some volentours are also working on the selenium, here are some of the links which will be usefull.
Micheal's project (Selenium Webdriver tests) which started work around automation for the community-app can be found at https://github.com/vorburger/mifosx-ui-selenium-webdriver-tests (some of the documentation like the steps for connecting to a local MifosX platform server etc are now outdated) . The latest community App is located at https://github.com/openMF/community-app.
Regards,
Subramanya--On Fri, May 2, 2014 at 5:08 PM, Gurpreet Luthra <glu...@thoughtworks.com> wrote:
Sairam,You can definitely help MifosX with their selenium stuff. Please drop an email to MifosX mailing list, introducing yourself, and ask for details on Selenium.Subramanya from MifosX (subra...@confluxtechnologies.com) wrote the first cut for selenium. I have cc'ed him for inputs and details on the repo.
Subramanya: Can you please let us know where the Selenium Automation code is checked in?RegardsGurpreetOn 1 May 2014 22:04, Sairam Desai <sde...@thoughtworks.com> wrote:Hey,I am on beach right now, and I am in US(SFO). If I can be of help remotely let me know. I am QA knows SeleniumRegards,Sairam--Regards,Sairam Desai|ThoughtWorks|Quality Analyst|()|Regards,
Subramanya.--Regards,Sairam Desai|ThoughtWorks|Quality Analyst|()|--Regards,Sairam Desai|ThoughtWorks|Quality Analyst|()|
------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
Mifos-developer mailing list
mifos-d...@lists.sourceforge.net
Unsubscribe or change settings at:
https://lists.sourceforge.net/lists/listinfo/mifos-developer
Hey Vishwas,I did not see the browser console log got generated... it keeps waiting to load then fails to connect to localhost 9000.on commandRunning "watch" taskWaiting...Warning: EMFILE, too many open files
I also saw at the end the app dies with below log(node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral.
(node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral.
(node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral.
util.js:35
var str = String(f).replace(formatRegExp, function(x) {
^
RangeError: Maximum call stack size exceeded
Is there something missing on my machine.
Aloha,
personally I second classic Java based WebDriver (as outlined in my protopye). There is a host of useful add ons available on top.
Having said that, the rule in the marvelous land of open source however of course is that whoever of you actually gets down first to code out and contribute real running test suites gets to decide what you use!
Re. AngularJS locators for (Java) WebDriver, do note https://github.com/paul-hammant/ngWebDriver.. FYI Paul was in touch on private email with some of us a few months ago, offering to help if needed.
Best,
Michael
I second Gothai.As I mentioned in my earlier email, unless we are "more comfortable" using JavaScript than Java (which does not seem to be the case), I do not see a reason for going with WebDriverJS + Jasmine + Protractor stack.
I recommend Behavior Driven Tests because they give us great clarity about what we are testing. I agree that it is a layer on top of the automation framework, but I think it is worth the effort. BDT has helped me greatly in getting tests reviewed by BAs, developers and co-testers. I have used Cucumber and I think it is the most mature and well-documented BDT framework.
So, my recommendation would be Automation Framework in Java + WebDriver (Java Port) + Cucumber (Java)Thanks
Sreedevi
On Fri, May 9, 2014 at 2:17 AM, Gothai Karthik <gothais...@gmail.com> wrote:Hi All,
I am new to Protractor and I am ready to learn.
My suggestion would be unless if there is a strong business need for having behavioural driven test suite, we can just go for simple selenium webdriver framework.
I have used cucumber and it is a good BD test framework which has strong community support.
Thanks,
GothaiOn 8 May 2014 10:28, "Surya Sreedevi Vedula" <sree...@thoughtworks.com> wrote:For those new to Protractor, Protractor uses WebDriver JS and is bundled with Jasmine. So, when we go down the path of Protractor, we will be in the land of Javascript Promises and Jasmine's BDD style of tests. What Protractor truly offers "on its own" is an easier way of "locating" Angular JS elements. (http://engineering.wingify.com/posts/e2e-testing-with-webdriverjs-jasmine/)Hi All,I used Protractor for a little while and this is what I feel about it.
So, for me, Protractor = WebDriverJS + Jasmine + Easy AngularJS element location
and this is what I feel about it's candidature in our project1) At the risk of repeating myself, Protractor only offers easier ways to identify AngularJS elements. But, if we have "Good Locators" for our UI elements, Protractor may not be required at all. And we always have our CSS and XPath to fall back on.
If our intention is to build tests which are agnostic of the application's tech stack, as Gurpreet suggested, we may not want to tie ourselves down to the AngularJS framework.2) WebDriverJS is only a JavaScript port of WebDriver and does the same thing as it's Java counterpart. The deciding factor is the language that we would like to use for automation. If we are comfortable coding in JavaScript, we should go for WebDriverJS and If it is Java, we should go for WebDriver.
3) Lastly, If we want to have BDD style tests, we could always use Cucumber or any other popular framework which achieves the same purpose as Jasmine does.Having said that, I am comfortable coding in Javascript. I have never worked with Jasmine though. But, I am ready for learning it. And I feel UI automation suite could be built with just using WebDriverJS + Jasmine avoiding Protractor. There by, we can either push for good locators or get help from our good old CSS and XPath locators.
Please let me know what you think.Thanks
Sreedevi
Hi everyone,Great to be part of this team!Can we have a quick call sometime to help understand:1. What are the different forms of testing (automation) going on (unit / integration / functional / etc.)?2. What are the objectives / goals / vision from the functional automation suite? What investigations / spikes are currently underway? What timelines / milestones are we working towards for certain objectives to be fulfilled?I am hesitant to make recommendations before knowing the end-product-under-test, but for a java-based product, cucumber-jvm is pretty robust and easy to use with webdriver and also to interact with web services. I have a sample test automation project (https://github.com/anandbagmar/cuke-jvm-sample). You can take a look at that. I will update this framework to work with the demo mifosx app in parallel and share the test with you all.
Regards,
Anand Bagmar
Quality Analyst
+91-99237-51935
anand....@thoughtworks.com
Blog: http://essenceoftesting.blogspot.com, Twitter: @BagmarAnand
Yahoo: anandpb, MSN: aba...@hotmail.com, Skype: abagmar, Google Talk: anandb, aba...@gmail.com
On Tue, May 13, 2014 at 2:25 PM, Pranathi Birudugadda <pranathi.b...@thoughtworks.com> wrote:
Hello All,Quick update on what had happened so far. Jagori has started working on selenium tests for community app which can be found here
I have looped her in. She will be providing us with further details.On Tue, May 13, 2014 at 2:11 PM, Robert Jakech <robe...@thoughtworks.com> wrote:Anybody on this thread who could bring me up to speed, would be appreciated.Hi Everybody.My name is Robert. I am happy to join the pack to help on MifosX. I have worked with Mifos as a specialist before I joined TW, mainly focusing on Uganda/East Africa. I joined TW as a QA, and would love to volunteer in the QA on MifosX.
Regards.
Robert
Regards,Hoping to be part of the call tomorrow between 11:30am-12:30 pmBut whatever,it is I would definitely like to hear first Anand's suggestions on the test automation framework to be used along with the timeline finalization and goals.Hi All,As of now I had added tests for client creation and validating preview part (on few fields) using Selenium webDriver and Java.
Also,Pranathi had added few tests for groups under this which I am yet to merge.
Jagori
On Tue, May 13, 2014 at 6:55 PM, Pranathi Birudugadda <pranathi.b...@thoughtworks.com> wrote:
Hello All,Quick update on what had happened so far. Jagori has started working on selenium tests for community app which can be found here
I have looped her in. She will be providing us with further details.
On Tue, May 13, 2014 at 2:11 PM, Robert Jakech <robe...@thoughtworks.com> wrote:
Anybody on this thread who could bring me up to speed, would be appreciated.Hi Everybody.My name is Robert. I am happy to join the pack to help on MifosX. I have worked with Mifos as a specialist before I joined TW, mainly focusing on Uganda/East Africa. I joined TW as a QA, and would love to volunteer in the QA on MifosX.
Regards.
Robert
I have cloned the git copy but need help in setting up the database.Hi there.Any of you has successfully set up the Mifos X database?
Kindly help.
Regards.
On Fri, May 16, 2014 at 3:46 PM, Pranathi Birudugadda <pranathi.b...@thoughtworks.com> wrote:
Hello Fellow ThoughtWorkers,You can use the following time sheet codes to fill the hours spent on Mifosx
Hello All,Quick update on what had happened so far. Jagori has started working on selenium tests for community app which can be found here
I have looped her in. She will be providing us with further details.
On Tue, May 13, 2014 at 2:11 PM, Robert Jakech <robe...@thoughtworks.com> wrote:
Anybody on this thread who could bring me up to speed, would be appreciated.Hi Everybody.My name is Robert. I am happy to join the pack to help on MifosX. I have worked with Mifos as a specialist before I joined TW, mainly focusing on Uganda/East Africa. I joined TW as a QA, and would love to volunteer in the QA on MifosX.
Regards.
Robert
Anand is also working on coming up with an understanding of the overall architecture and the role community-app plays in the big picture and the different forms of testing already in place.2) Cucumber.JS + Selenium-WebDriver (NPM Module)Hi All,A quick update on what some of us are working.
Anand and I are doing spiking around two technical choices.
1) Cucumber-JVM + WebDriver
We will be publishing the results of our spiking and recommendations in a strategy document.Please let us know if any one else made progress on the project.Thanks
Sreedevi.
Hi all,I have consolidated the learning from both the approaches in the attached Test Strategy document. The document also lists the recommendation from Sreedevi and me.Vishwas, Gurpreet - can we have a call with you to give you a demo of the recommended framework, and also talk about next steps? Please do let me know what day and time works and I will setup a gotomeeting for all.Thank you.
Regards,
Quality Analyst
Anand Bagmarabout.me/anand.bagmar
+91-99237-51935
anand....@thoughtworks.com
Blog: http://essenceoftesting.blogspot.com, Twitter: @BagmarAnand
Yahoo: anandpb, MSN: aba...@hotmail.com, Skype: abagmar, Google Talk: anandb, aba...@gmail.com
On Tue, Jun 3, 2014 at 10:40 AM, Surya Sreedevi Vedula <sree...@thoughtworks.com> wrote:
Hi All,The below are my findings with using WebDriverJS + Cucumber.JSPros:1) Having tests in the same tech stack as development makes Continuous Integration and Continuous Deployment easy.
Cons:1) WebDriverJS (selenium-webdriver to be precise) is based on JavaScript Promises. Promises are cryptic for newbies to JavaScript and it is a difficult learning curve.2) General JavaScript Programming could also be difficult to learn, with the many differences that JavaScript has from other Object oriented languages like Java.Would like to hear about any progress any one else made on the test framework.
Thanks
Sreedevi
On Wed, May 21, 2014 at 4:14 PM, Surya Sreedevi Vedula <sree...@thoughtworks.com> wrote:
Hi All,
A quick update on what some of us are working.
Anand and I are doing spiking around two technical choices.
1) Cucumber-JVM + WebDriver
2) Cucumber.JS + Selenium-WebDriver (NPM Module)
Anand is also working on coming up with an understanding of the overall architecture and the role community-app plays in the big picture and the different forms of testing already in place.We will be publishing the results of our spiking and recommendations in a strategy document.Please let us know if any one else made progress on the project.Thanks
Sreedevi.
Anand Bagmar
about.me/anand.bagmar
|
Hi All,The below are my findings with using WebDriverJS + Cucumber.JSPros:1) Having tests in the same tech stack as development makes Continuous Integration and Continuous Deployment easy.
Cons:1) WebDriverJS (selenium-webdriver to be precise) is based on JavaScript Promises. Promises are cryptic for newbies to JavaScript and it is a difficult learning curve.2) General JavaScript Programming could also be difficult to learn, with the many differences that JavaScript has from other Object oriented languages like Java.Would like to hear about any progress any one else made on the test framework.
Thanks
Sreedevi
On Wed, May 21, 2014 at 4:14 PM, Surya Sreedevi Vedula <sree...@thoughtworks.com> wrote:
Hi All,
A quick update on what some of us are working.
Anand and I are doing spiking around two technical choices.
1) Cucumber-JVM + WebDriver
2) Cucumber.JS + Selenium-WebDriver (NPM Module)
Anand is also working on coming up with an understanding of the overall architecture and the role community-app plays in the big picture and the different forms of testing already in place.We will be publishing the results of our spiking and recommendations in a strategy document.Please let us know if any one else made progress on the project.Thanks
Sreedevi.
Hi,Yes, the time slot you propose works for me, but a few others may not be able to attend (Surya / Robert). That said, I have setup a GoToMeeting for tomorrow, Friday, 6th June at 11.am IST. Below are the details for the same. If we think next week is better in that case, do let me know and we will reschedule the same.Looking forward to talk with you then. For those not able to attend, I can record the session and share the recording with all ... if that is ok.1. Please join my meeting, 06-Jun-2014 at 11:00 am IST.
https://www4.gotomeeting.com/join/393275815
2. Use your microphone and speakers (VoIP) - a headset is recommended. Or, call in using your telephone.
Argentina (toll-free): 0 800 266 1382
Australia (toll-free): 1 800 193 385
Belgium (toll-free): 0 800 26116
Brazil (toll-free): 0 800 047 4906
Canada (toll-free): 1 888 455 1389
China (toll-free): 4008 811084
Germany (toll-free): 0 800 723 5270
United Kingdom (toll-free): 0 808 168 0229
Indonesia (toll-free): 007 803 011 0395
India (toll-free): 000 800 100 7855
Thailand (toll-free): 001 800 658 131
Taiwan (toll-free): 0 800 666 854
United States: +1 (224) 649-0001
United States (toll-free): 1 877 309 2073
Uruguay (toll-free): 000 413 598 4110
South Africa (toll-free): 0 800 983 867
Access Code: 393-275-815
Audio PIN: Shown after joining the meeting
Meeting ID: 393-275-815
Thanks.
Regards,
Quality Analyst
Anand Bagmarabout.me/anand.bagmar
+91-99237-51935
anand....@thoughtworks.com
Blog: http://essenceoftesting.blogspot.com, Twitter: @BagmarAnand
Yahoo: anandpb, MSN: aba...@hotmail.com, Skype: abagmar, Google Talk: anandb, aba...@gmail.com
I have updated the strategy doc (v2) - the recommendation + Next Steps, based on my call with Vishwas. Please let me know if you need any other info.Vishwas - please update as appropriate.Thanks.
Regards,
Quality Analyst
Anand Bagmarabout.me/anand.bagmar
+91-99237-51935
anand....@thoughtworks.com
Blog: http://essenceoftesting.blogspot.com, Twitter: @BagmarAnand
Yahoo: anandpb, MSN: aba...@hotmail.com, Skype: abagmar, Google Talk: anandb, aba...@gmail.com
Anand Bagmar
about.me/anand.bagmar
|
Anand Bagmar
about.me/anand.bagmar
|