10 messages in com.canoo.lists.webtestRE: [Webtest] Testing random values o...
FromSent OnAttachments
Deepa Nigam22 Apr 2008 10:46 
dav22 Apr 2008 11:08 
Deepa Nigam22 Apr 2008 11:12 
dav22 Apr 2008 11:15 
Forsberg, Mike22 Apr 2008 11:15 
Deepa Nigam22 Apr 2008 14:50 
George Policello22 Apr 2008 15:46 
Deepa Nigam22 Apr 2008 22:10 
Forsberg, Mike23 Apr 2008 07:00 
Deepa Nigam23 Apr 2008 11:30 
Subject:RE: [Webtest] Testing random values on the page
From:dav (da@nnx.com)
Date:04/22/2008 11:15:32 AM
List:com.canoo.lists.webtest

And did you consider storeXPath or storeRegEx ?

david. --

Le mardi 22 avril 2008 à 11:12 -0700, Deepa Nigam a écrit :

But I am not trying to click on the link, trying to test the value. There is no id associated to these random values. <td class="info-value-rightborder"><div

class="fixedwidth-medium">65</div></td>

Link1 Link2 Link3 65 val2 val3

Subject: Re: [Webtest] Testing random values on the page From: da@nnx.com To: deep@hotmail.com CC: webt@lists.canoo.com Date: Tue, 22 Apr 2008 20:08:34 +0200

Hello,

ClickLink (http://webtest.canoo.com/webtest/manual/clickLink.html) don't answer to your need ?

david. --

Le mardi 22 avril 2008 à 10:47 -0700, Deepa Nigam a écrit :

Hi,

I have an application which has multiple links and each link has a value associated

For example:

Reference # is a link with value 65. I want to test if this value that is generated randomly is on this page or not ? If the value is on this page then click on viewReport link for that row. Which Canoo element can I use for this feature. How to test the value associated to the link Reference #?

Here is the html Code for that

<td class="info-header">

<a href="#" onClick="sortby('Reference')"

Reference #</a>

</td> <td class="info-header">

<div class="sortarrow">

<a href="#" onClick="sortby('Date Submitted')" >DateSubmitted</a>

&nbsp;

<img src="common/images/sortarrow.gif"/>

</div>

</td> <td class="info-value-center-rightborder">

<a href="viewreport.v">View&nbsp;Report</a>

</td> </tr>

<tr class="even">

<td class="info-value-rightborder"><div class="fixedwidth-medium">65</div></td> <td class="info-value-center-rightborder"> 04/22/2008, 12:51 AM </td>

______________________________________________________________________

Back to work after baby– how do you know when you’re ready?

______________________________________________________________________ Express yourself wherever you are. Mobilize!