I don't get the Clou!  I am trying to get a datadriven test. This
contains 4 Logins driven by an xls. Last week this version worked. 

 

As an error I get a nullpointerexception on the line <dataDriven>. The
file ist in right place, I tested it by removing the xls and I got
another failure. So my problem is, that Username and Password are not
evaluated from xsl-file. 

 

Thankfull for any help.

 

 

Greetings Dennis

 

 

 

 

<?xml version="1.0"?>

<!DOCTYPE project SYSTEM "../dtd/Project.dtd">

<project name="logintest" default="logintest">

 

            

<target name="logintest">

            <webtest name="logintest mit fehlerfaellen">

                        <steps>

                                    <dataDriven
tableContainer="data/logindaten.xls">

                                                <webtest name="login mit
${Username} pw: ${Password}"> 

                                                           <echo
message="${Username}" />

                                                           <invoke
url="http:mypage.com"/>                                  

                                                           <loginUser
user="${Username}" password="${Password}"
description="Fehlerueberpruefung"/>

                                                           <logoutUser
/> 

                                               </webtest>

                                    </dataDriven>

                        </steps>           

            </webtest>

</target>

</project>

Reply via email to