hi,
I found a workaround so it seems for the non-breaking space issue. Since I cannot get the replace function to work, I tried something else. Apparently, the non-breaking space is not an issue when you do this: <clickLink description="Test the caption of the section by clicking it" label="Alert details"/> This test fails if my caption is not identical to the label the tester needs to click. What strikes me though is that the caption 'Alert Details' does NOT cause the test to fail, even though there is a difference between details and Details. Using a different caption such as Customer Alert details the test fails. So even though I seem to have worked around my non-breaking space issue, I still have this 'yes, but' feeling, since I'm now stuck with an upper and lower case issue. And that is equally important - customers will remain customers, so they will create defects if the caption is not 100% identical to their functional specifications. Gert From: [email protected] To: [email protected] Subject: [Webtest] Xpath functions Date: Tue, 2 Mar 2010 10:13:37 +0100 Hi, for the non-breaking space story, I was trying to find out whether or not I could use a function such as replace. Unfortunately, when the test is run, I get an error saying that the function cannot be found. Am I doing something wrong in my xpath: /html/body/table/tbody/tr[1]/td/ul/li[replace((a),' ','.')] Gert Hotmail: Powerful Free email with security by Microsoft. Get it now. _________________________________________________________________ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. https://signup.live.com/signup.aspx?id=60969

