This...

<a>Mes alertes de détection</a>

is "ouch".
In a perfect world ;) this should have been coded as "Mes alertes de 
d&eacute;tection"
I know this doesn't help a lot... just wanted to mention...
Such coding is the cause for some poeple seeing strange empty squares or other 
funny characters in their browsers...

Cheers,


Thomas Klein
Senior Associate, QA | SapientNitro

________________________________
From: [email protected] [[email protected]] On Behalf 
Of Gert Pauwels [[email protected]]
Sent: Tuesday, June 15, 2010 17:02
To: [email protected]
Subject: RE: [Webtest] Tests in French


is this sufficient:

<li><a href="javascript: void(0);" id="menu-item.my_work.path">Mon travail</a> 
<ul><li><a 
href="screen/view.do?screen=EIM_InvestigatorHomePage&clearReplacementsContainer=true&clearLocks=true&csrftkn=1190777609<UrlBlockedError.aspx>"
 onclick="return cursorWait(this)" 
id="menu-item.my_work.path:menu-item.home.path">Page d'accueil</a></li><li><a 
href="javascript: void(0);" 
id="menu-item.my_work.path:menu-item.my_alerts.path">Mes alertes de 
détection</a> <ul><li><a 
href="screen/view.do?screen=EIM_Alert_MyAlerts&clearLocks=true&csrftkn=1190777609<UrlBlockedError.aspx>"
 onclick="return cursorWait(this)" 
id="menu-item.my_work.path:menu-item.my_alerts.path:menu-item.my_alerts.path">Mes
 alertes de détection</a></li>

Gert

> From: [email protected]
> To: [email protected]
> Subject: Re: [Webtest] Tests in French
> Date: Tue, 15 Jun 2010 16:50:34 +0200
>
> Hi,
>
> > <!-- Check the position and the text of top-level menu item-->
> > <clickLink xpath="//div/ul/li[contains(@id,
> > 'menu')]...@{level1position}]/a[text()='@{level1}']"/>
>
> here you will have a problem when level1 contains a quote because in
> this case the XPath expression won't be valid anymore. If " is unlikely
> to appear, you should be able to use
>
> <clickLink xpath='//div/ul/li[contains(@id,
> "menu")]...@{level1position}]/a[text()="@{level1}"]'/>
>
> In this case you will have troubles when level1 contains a " and you
> won't have any problems when it contains a '.
>
> >
> > And while the last one above succeeds, the following does not:
> > <checkMenuItem level1="Rapports" level1position="5"
> > level2="Alertes détection" level2position="1"/>
>
> this is a special feature of WebTest: it detects that "Alertes
> détection" has been badly translated and doesn't really sound French ;-)
>
> > I am *assuming* that this is due to the accented characters, but I
> > cannot confirm that.
>
> It shouldn't. Can you provide the HTML code of the <a> tag?
>
> Cheers,
> Marc.
> --
> Blog: http://mguillem.wordpress.com
>
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest

________________________________
Hotmail: Powerful Free email with security by Microsoft. Get it 
now.<https://signup.live.com/signup.aspx?id=60969>

Reply via email to