Hi,

storeXPath works on the current state of the page whereas verifyText
works on the row answer from the server.

Cheers,
Marc.
-- 
Web: http://www.efficient-webtesting.com
Blog: http://mguillem.wordpress.com

Hitesh Gupta wrote:
> Hi,
> 
> I am using storeXpath to store the text present in my web page
> 
> <storeXPath xpath="/html/body/b" property="Servicename2" />
> 
> after storing the x path I am verifying that text but the issue is when
> I am verifying the text by
> <verifyText description="Verify that text is contained in the page"
> text="#{Servicename2}"/>
>  my test fails and it says that Text not found in the page.
> 
> It correctly stores the name of the text in the property but verifyText
> step fails.
> 
> Please suggest me something.
> 
> Hitesh


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

Reply via email to