[CLOSED] Tools for Unit testing

  1. #1

    [CLOSED] Tools for Unit testing

    Hi all,

    We produce large line of business applications using coolite. Best practices state that we always must produce "testable code" (code that can be unit tested).

    Which tools can I use to test my coolite code ? I would like to use a tool to mimic users's actions such as mouse clicks and so on .... like a macro recorder ...

    Could someone help me ?

    Thank you very much !
    Marcos
    Last edited by Daniil; Jul 31, 2012 at 8:57 AM. Reason: [CLOSED]
  2. #2

    RE: Tools for Unit testing

    Hi,

    I am not familiar with UI test systems but try the Selenium
    http://seleniumhq.org/
    http://seleniumhq.org/projects/ide/
  3. #3

    RE: Tools for Unit testing

    AFAIK there is a problem with testing ExtJs, because ExtJS uses dynamic generated Ids.

    Therefore it is not possible to write tests with selenium which uses the Ids to identify controls.

    Maybe this problem is solved since ExtJS 3.x. I do not know but would be happy too for any comments/experiences.


    Regards,

    Martin
  4. #4
    Quote Originally Posted by macap View Post
    AFAIK there is a problem with testing ExtJs, because ExtJS uses dynamic generated Ids.
    Well, ids are auto-generated if they are not set up explicitly. So, setting up ids explicitly could be a solution, I think.
  5. #5
    I have the same problem with testing tools. How can I configure ext.net to generate static ids?
  6. #6
    Hi,

    Please review this comment.

    Quote Originally Posted by Daniil View Post
    Well, ids are auto-generated if they are not set up explicitly. So, setting up ids explicitly could be a solution, I think.

Similar Threads

  1. [CLOSED] EXT.NET GUI testing tools?
    By agonzalez in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jul 27, 2012, 8:56 AM
  2. [CLOSED] Automated Testing
    By SymSure in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 20, 2011, 7:56 PM
  3. [CLOSED] Unit testing (with NUnit)
    By pil0t in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Jun 18, 2010, 12:54 PM
  4. v1.0 Testing
    By geoffrey.mcgill in forum Open Discussions
    Replies: 75
    Last Post: Apr 05, 2010, 5:39 AM
  5. Coolite and Unit-Tests (Selenium)
    By macap in forum 1.x Help
    Replies: 0
    Last Post: Oct 21, 2009, 9:19 AM

Posting Permissions