5 messages in com.canoo.lists.webtest[Webtest] Login test Error| From | Sent On | Attachments |
|---|---|---|
| Jayasudha Selvaraj | 22 Oct 2007 09:55 | |
| Marc Guillemot | 23 Oct 2007 04:53 | |
| Jayasudha Selvaraj | 23 Oct 2007 05:26 | |
| Paul King | 23 Oct 2007 05:31 | |
| Marc Guillemot | 29 Oct 2007 12:48 |
| Subject: | [Webtest] Login test Error![]() |
|---|---|
| From: | Jayasudha Selvaraj (Ja...@optrak.co.uk) |
| Date: | 10/22/2007 09:55:51 AM |
| List: | com.canoo.lists.webtest |
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




