List Icon
Archiv Mailingliste

2019 bis Juli 2022  2018  | 2017 2016 2015 | 2014 | 2013

Die Mailingliste ist seit Juli 2022 geschlossen, dient aber weiterhin als Informationsarchiv zu QF-Test.
Wenn Sie über Neuerungen zu QF-Test informiert bleiben wollen, können Sie einfach unseren Newsletter abonnieren:
Newsletter abonnieren

[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;; 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=;


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>

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