Hello,

The credentials specific doesn't work, please advise.

Also, it is preferred to send your whole webtest XML case.

Yours,
Ahmed

________________________________
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thursday, November 13, 2008 11:47:35 AM
Subject: [Webtest] how to verify this context


Hi !
 
there is an JPetStore5 sample on the net. When login success, there will be an 
welocome (username)! on the page. I want to know how to verify the welcome 
context.
 I used the verifyXpath, the xpath can locate the part of webpage which 
contains the context but there is two spare lines and several space in front of 
it, so the compare result is false. 
I also tried storeResponseCode, but it seems I always cant get the right 
property.
How can I do this verify ? 
the url  to JPetStore5 : 
http://www.jwebhosting.net/servlets/jpetstore5/shop/index.shtml
my verifycode:  <verifyXPath xpath="//[EMAIL 
PROTECTED]&quot;WelcomeContent&quot;]" text="Welcome Lee! "/>
 and 
<storeResponseCode property="authenticated"></storeResponseCode>
  <verifyProperty name="authenticated" value="true"></verifyProperty>
                      
userID: Leeeee
password: leeeee
 
thanks!


      

Reply via email to