11 messages in com.canoo.lists.webtestRE: [Webtest] Error while executing i...
FromSent OnAttachments
Frank D'Souza17 Feb 2005 03:02 
Dierk Koenig18 Feb 2005 01:50 
Frank D'Souza18 Feb 2005 04:56 
Dierk Koenig18 Feb 2005 05:31 
Edward O'Flynn18 Feb 2005 06:00 
Dierk Koenig18 Feb 2005 06:24 
Frank D'Souza20 Feb 2005 21:37 
Frank D'Souza20 Feb 2005 22:16 
Dierk Koenig21 Feb 2005 02:34 
Frank D'Souza21 Feb 2005 02:45 
Dierk Koenig21 Feb 2005 04:22 
Subject:RE: [Webtest] Error while executing invoke command...
From:Dierk Koenig (dier@canoo.com)
Date:02/18/2005 05:31:05 AM
List:com.canoo.lists.webtest

Can you tell the difference from the modules where the invoke works and where it doesn't?

Mittie

-----Original Message----- From: webt@lists.canoo.com [mailto:webt@lists.canoo.com]On Behalf Of Frank D'Souza Sent: Freitag, 18. Februar 2005 13:57 To: webt@gate2.canoo.com Subject: Re: [Webtest] Error while executing invoke command...

Hi Mittie,

Thank you for the update. The same invoke command works for few modules. I have tried without colon and getting blank page.

Regards Frank

Dierk Koenig wrote:

Hi Frank,

it seems your url ist not correctly url-encoded. Query params like the value of the LDAP param contain the colon character which may confuse the httpunit that comes with your version (1.5).

cheers Mittie

-----Original Message----- From: webt@lists.canoo.com [mailto:webt@lists.canoo.com]On Behalf Of Frank D'Souza Sent: Donnerstag, 17. Februar 2005 12:03 To: webt@gate2.canoo.com Subject: [Webtest] Error while executing invoke command...

Hi All,

I am using canoo webtest from November 2004. Ant version 1.6.1 and canoo webtest version is 1.5.

I have all the parameters in property file. While executing the below (ResetPassword.xml) test xml - <invoke stepid ="Invoke the URL behind the Reset Password button."

url="amserver/login?module=LDAP&amp;goto=https://${config.host}:80

80/jsp/SAMSPasswordReset.jsp&amp;uid=${cc.verifyUserName}&amp;action=info;"

save="${responseFileId}" />

unable to continue from this step and all the step from the above is failing.

If I manually execute this which works fine. While executing I observed the following :

a) amserver/login?module=LDAP&amp;goto=https://${config.host}:8080/js p/SAMSPasswordReset.jsp - executes this step ignoring uid=${cc.verifyUserName}&amp;action=info; b) Because of the above step, the HTML will be blank and script is failed.

Required: Any shortcuts to perform this action.

Input from the different property file : 1) config.host 2) verifyUserName 3) firstName and lastName .. etc..

This is my XML file <setinputfield stepid="Verify User Name Value." name="uid" value="${cc.verifyUserName}"/> <invoke stepid ="Invoke the URL behind the Reset Password button."

url="amserver/login?module=LDAP&amp;goto=https://${config.host}:80

80/jsp/SAMSPasswordReset.jsp&amp;uid=${cc.verifyUserName}&amp;action=info;"

save="${responseFileId}" /> <verifytext stepid="Verify Security Credential Information page" text="Security Credential Information"/> <verifytext stepid="Verify User's First and Last Name." text="${cc.firstName} ${cc.lastName}"/> <verifytext stepid="Verify the security question." text="${cc.securityQuestion}"/> <verifytext stepid="Verify the security answer." text="${cc.securityAnswer}"/> <verifytext stepid="Verify the user is active." text="Active"/> <invoke stepid="Invoke the URL behind the Reset Password button."

url="amserver/login?module=LDAP&amp;goto=https://${config.host}:80

80/jsp/SAMSPasswordReset.jsp&amp;uid=${cc.verifyUserName}&amp;action=reset;"

save="${responseFileId}" /> <verifytext stepid="Verify password reset was successful." text="Password Reset is successful for user ${cc.verifyUserName}."/> <verifytext stepid="Verify inform user message." text="Please inform the user of their new password"/>

Kindly suggest.