Ok, I solved it with xpath, thx all for the help

Van: David Jehoul [mailto:[email protected]]
Verzonden: donderdag 15 oktober 2009 17:02
Aan: Niels Stevens
Onderwerp: RE: [Webtest] Exitsting link not found

Niels,

That is the problem; those whitespaces.
I solve those problems by using the href attribute of the clickLink command. 
When that is not possible, you can always use the xpath attribute, in 
combination with the xpath contains() or the normalize-space() function.

David

-----Original Message-----
From: Niels Stevens [mailto:[email protected]]
Sent: donderdag 15 oktober 2009 15:43
To: [email protected]; David Jehoul
Subject: RE: [Webtest] Exitsting link not found

Yes, checked in source, and I use firebug anyway. It does however contain a lot 
of whitespace on both sides.

Groeten,

Niels Stevens
Jr. Developer
________________________________

[cid:[email protected]]
Making eBusiness profitable

T: +32 (0)11/565.012
F: +32 (0)11/201.884

website: www.softlution.com
________________________________

Van: [email protected] [mailto:[email protected]] 
Namens David Jehoul
Verzonden: donderdag 15 oktober 2009 14:37
Aan: [email protected]; Niels Stevens
Onderwerp: RE: [Webtest] Exitsting link not found

Niels,

If you check the sourcefile of the web page, does the link only contain 
"Toestel M3903" or are there other additional characters that are not visible 
on the page?

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Niels Stevens
Sent: donderdag 15 oktober 2009 13:29
To: [email protected]
Cc: Dirk van Zonhoven
Subject: [Webtest] Exitsting link not found

Hi,

While executing a webtest on a certain page I get an error on this step: 
<clickLink label="Toestel M3903" />. I know this link exists, and the weird 
thing is that in the errormessage below the test report in the section 
"available links" there is the following entry: label "Toestel M3903" with url 
https://zakelijk.kpn.com/...etc... (among many others). Any ideas on how to 
solve this would be appreciated.




No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.421 / Virus Database: 270.14.18/2437 - Release Date: 10/15/09 
03:57:00

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.421 / Virus Database: 270.14.20/2439 - Release Date: 10/15/09 
20:39:00

<<inline: image001.jpg>>

Reply via email to