Logo QF-Test

Finding valuable answers
in the Mailing List Archive.

 

Free Trial  Download  Buy

Thomas Max, QF-Test training and support

Use the full-text search on our web site to find helpful tips on the mailing list.

Thomas Max, 
Sr. Software Engineer & Trainer, QFS

2017 up to now  | 2016 | 2015 | 2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007

(older archive entries before 2007 are not shown here, but included in the onsite-search)

Mailing List - Entries of 2014


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[QF-Test] How to nicely iterate all DomNode such as Table Collection


  • Subject: [QF-Test] How to nicely iterate all DomNode such as Table Collection
  • From: Gwenael Plantefeve <gwen0504@?.com>
  • Date: Tue, 25 Feb 2014 10:58:42 +0000 (GMT)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=j9u/a+NDh8/RBbAuGiVQ8JqMyX+SP6C53L7Nag8QaBYUXz127BkdzJNUwuKFuc/oYdgxyP8ayTPmSn5ozE2ywAa+Y50ltxppZxESHHHIdXURaKdYnsg0lm+82oWsw8ysTkBzs07v46b9sa9kbj36vkdkU7V+wYq0aen15apweEE=;

Hi,

In Web testing, I have the following Web page structure:
...
<div class="list">
    <div class="item">value1</div>
    <div class="item">value2</div>
    <div class="item">value3</div>
    <div class="item">value4</div>
</div>
...

I would like to iterate all div elements with same class name (here class="item").
And do some asserts on value of each div element.

What is the best way to handle this?

Thanks in advance for your help

Gwen

Videos Downloads Documentation Buy Free Trial