List Icon
Mailing list Archive

2019 up to July 2022 | 20182017  |  2016  2015 2014 | 2013

The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
If you want to stay informed about news about QF-Test, you can simply subscribe to our newsletter:
Subscribe to Newsletter  

[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