Hi,

it would surely be a bit easier to help you if you could tell us what error
you encounter...

Cheers,
Marc.


Jayasudha Selvaraj wrote:
> 
> Hi,
> 
>   I am trying to test the login of my portal using webtest, it doesn't
> succeed. Its just a simple check for username and password but don't
> know why it displays error. I'm using the scripts as given in user
> manual (using the same webTest.xml. ) The script for login page test  is
> as follows:
> 
> <?xml version="1.0"?>
> 
>  
> 
> <!DOCTYPE project SYSTEM "../dtd/Project.dtd">
> 
>  
> 
> <project name="demo.googleWebTest" default="test">
> 
>  
> 
>                 <target name="test">
> 
>  
> 
>                                 <webtest name="Home page test">
> 
>                          <invoke url="www.mylogin.com" username="aaaa"
> password="1234" />
> 
>                                 </webtest>
> 
>  
> 
>                 </target>
> 
> </project>
> 
> I have directly given the username and password but it shows error. The
> username and password are right (actual data not given here). 
> 
> I have also tried giving it as.,
> 
> <invoke description="het home page" url="www.mylogin.com"/>
> 
> <setInputField name="_58_login" value="aaaa"/>
> 
> <setInputField description="Set password field _58_password: 1234"
> name="_58_password" value="1234"/>
> 
> <clickButton label="Sign In"/>
> 
>  
> 
>  I also tried checking my email login, even that doesn't work. Is there
> any problem with the script? Test cases work for field names but not for
> username and password. Any clues....?
> 
>  
> 
> Help Appreciated
> 
>  
> 
> Thanks in advance
> 
>  
> 
> -Jai
> 
>  
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Login-test-Error-tf4672409.html#a13362563
Sent from the WebTest mailing list archive at Nabble.com.

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to