Would have to be a rather sharp tool imho... can't really draw a line in the
updates that need to be done. I've started migration to 3.0 anyway, guess
it'll take a day or two to update the scripts.

The problems encountered so far:
- lots of xpath expressions need to be surrounded by a normalize-space()
function
- the name-space fn must be dropped fn:count(), fn:string-length() become
count(), string-lenght(),...
- if normalize-space() doesn't solve it try wt:cleanText() instead

Other incompatibilities found so far:
- a verifyXPath targeting an input tag compares with the value attribute in
2.6, while it's the content in 3.0
- a verifyXPath targeting a TR tag results in the content of the child td
tags separated by spaces, no more in 3.0




Ahmed Ashour wrote:
> 
> ...
> I mean, if you think this can be automatically done, we can help to make a
> small tool for that.
> 
> Yours,
> Ahmed
> ________________________________
> From: A Vander <[email protected]>
> To: [email protected]
> Sent: Friday, March 27, 2009 12:58:23 PM
> Subject: Re: [Webtest] JavaScript error loading page
> http://myWebSite/myPage.htm: null
> 
> 
> Thank you for your answer John.
> 
> Main reason I'm not keen is that I maintain two test-suites with +2500
> steps... and I'm not looking forward to  update lots of xpath expressions
> because the xpath parser has changed. 
> 
> 
>     
> 

-- 
View this message in context: 
http://www.nabble.com/JavaScript-error-loading-page-http%3A--myWebSite-myPage.htm%3A-null-tp22720850p22755627.html
Sent from the WebTest mailing list archive at Nabble.com.

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

Reply via email to