Hi Will, Thank you for your reply !The config has https as protocol and port is
443. Client auth alert dialog box requires choosing digital certificate before
we can invoke the url.Since both invoking the URL and selecting certificate
from the client auth box is happening at the same time, my tests fails with the
code below: <target name="login"> <testSpec
name="${testCaseName}"> &config; <steps>
<echo message="I am HERE"/> <invoke url="getorder.exe"
save="${outputFile}"/> <expectDialogs> <alert></alert>
</expectDialogs></target>
From: [EMAIL PROTECTED]: [email protected]; [EMAIL PROTECTED]: RE:
[Webtest] How to handle client auth ?Date: Tue, 20 May 2008 06:58:00 -0500
since you didn't include any example of what you have tried I am going to ask
if in the config you set the protocol to https and the port to 443? I also ask
if client auth alert is a username password alert or just a simple 'OK' alert
if its a username password box then in your invoke did you use the username and
password attributes? If you have tried all that I suggest, may I suggest
sending in your code that is causing a problem and point us to an external url.
Thanks,
Will
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Deepa NigamSent:
Monday, May 19, 2008 6:06 PMTo: [EMAIL PROTECTED]: [Webtest] How to handle
client auth ?
Hi, I am trying to invoke an https url which requires client authentication.
The problem is that as soon as the url is invoked the client auth alert window
pops up so I get 403 Forbidden error when running my testsCan Webtest handle
client auth ? Is there a work around. [get] Error opening connection
java.io.IOException: Server returned HTTP response code: 403 for URL
Thanks,Deepa
Change the world with e-mail. Join the i’m Initiative from Microsoft.
_________________________________________________________________
E-mail for the greater good. Join the i’m Initiative from Microsoft.
http://im.live.com/Messenger/IM/Join/Default.aspx?source=EML_WL_ GreaterGood