Menu

How to use <test-suite> & <test-script>

Help
wanted
2008-07-04
2013-04-25
  • wanted

    wanted - 2008-07-04

    Hello.

    I want to connect many scripts..
    So i created 4 scripts..

    and below is the complete script that I have written.

    ***************************************************************************
    <jm:testcase xmlns:jm="jelly:jameleon">
    <jm:test-suite xmlns:jm="jelly:jameleon" name="JI Test Suite">

        <jm:test-script
            script="script1.xml"
        />

        <jm:test-script
            script="script2.xml"
        />

        <jm:test-script
            script="script3.xml"
        />

        <jm:test-script
            script="script4.xml"
        />

    </jm:test-suite>

    </jm:testcase>

    ***************************************************************************

    Now when I run the above script, it is not running..

    I dont know Why..

    This is the first time I am working with <test-suite> and <test-script> so i dont know how to use them..
    Can you please correct me with the same..
    Also please send me some sample scripts
    Thanks.

     
    • Stephane Elie

      Stephane Elie - 2008-07-04

      Hi b_wanted,

      You need the path to the script and <testcase> tag is not applicable in a test suite.

      Try this:
      <test-suite xmlns="jelly:jameleon">
          <test-script script="scripts/script1.xml"/>
          <test-script script="scripts/script2.xml"/>
          <test-script script="scripts/script3.xml"/>
          <test-script script="scripts/script4.xml"/>
      </test-suite>

      And let me know if this works.  I haven't used the test-suite for a while now.

      Regards,
      Stephane

       
      • wanted

        wanted - 2008-07-04

        Hi Stephane..
        Thanks a lot.. it worked..
        Thanks

         

Log in to post a comment.