Menu

Test cases repository

Help
2010-07-27
2013-05-28
  • InvalidCast

    InvalidCast - 2010-07-27

    i'm currently implementing UI testing with QAliber for one of the project of my company
    my question is about versioning.

    let's say for example that in version 1.0 of our app, you click on a button and then some work is done.
    in v 2.0, we add a confirmation popup just after the click, before doing the work, to be sure that user really want to do it

    let's also say i have created a special test case for that.
    i put the assembly which the test case is in the "user assemblies" folder.

    so in tests for v1, we do not have to handle the popup, that do not exist, but in v2 we have to. so testing the same functionality (clicking the button and check work is done) will not be implemented the same way.

    1) i notice that QAliber test builder does not handle well sub directories for "user assemblies": they are not detected.
    so, how can i handle multiple versions of same assemblies, that have same names?

    2) in fact, i would like to avoid copying my test case assembly to "user assemblies" folder.
    i would like to be able to call test builder passing to it the repository path, something like that:

    QAliber Test Builder.exe "scenario.scn" -repo="path_to_the_repository"

    or only

    QAliber Test Builder.exe "scenario.scn"

    and test builder would consider the directory of the scenario to resolve unknown assemblies ("AssemblyResolve" event handled in "main" method of the test builder)

    because we're planning to put scenarios and our test case assemblies on SVN:
    - i write test cases assemblies
    - the automated build of our project put on svn new test cases version
    - another person update its local copy of the svn location where test cases are
    - this person creates scenarios based on our custom test cases, which are bases actions of our app (let's say a "login" test case with 2 properties "user", "password", that handle login popup)
    - scenarios are then committed to svn
    - they will be used during next automated build

    the real problem is that:
    - "user assemblies" is teated per windows user (wether by user application config file or "my documents" sub directory)
    - "user assemblies" directories do not detect sub directories

    that is to say that if you want to use 2 version of the same custom test case assembly, you at least have to use 2 different windows user

    i can manage to do what i want by either:
    - editing source code
    - create a launcher for test builder and by reflection: 1) set "TestCasesAssemblyDir" settings to the path i want and then  2) calling "main" method of the test builder

    but if i think i will not be the only one facing this problem

    maybe can someone provide me some good piece of advice?

    thanks

     
  • Anonymous

    Anonymous - 2010-10-01

    anybody can help?

     
  • Homfri

    Homfri - 2010-10-03

    We will release the a test agent soon. it will receive the arguments you need.

     

Log in to post a comment.