2018 up to now | 2017 | 2016 | 2015 | 2014 | 2013 | 2012

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