<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Wed, 22 May 2013 00:37:27 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Codeception Blog: The Locator Class]]></title>
      <guid>http://www.phpdeveloper.org/news/18526</guid>
      <link>http://www.phpdeveloper.org/news/18526</link>
      <description><![CDATA[<p>
The Codeception blog (a BDD testing tool) has a new post on <a href="http://codeception.com/09-24-2012/locator.html">using their Locator class</a> to create more complex tests based on XPath or CSS selectors.
</p>
<blockquote>
In the latest Codeception 1.1.4 new Locator class was introduced. Basically it should simplify your life in writing complex XPath or CSS locators. Right now it has minimal, yet useful functionality.
</blockquote>
<p>
The post shows how to combine more than one item for location with either a tag, CSS-based or XPath-based selector. It also shows how to use the "tabindex" method to simulate the movement through a page using the "Tab" key. Finally, there's a quick piece of code showing how to locate an item based on the "href" value. For more information on using Codeception, check out <a href="http://codeception.com/doc">their documentation</a> or the project's <a href="http://codeception.com">main site</a>.
</p>]]></description>
      <pubDate>Thu, 27 Sep 2012 09:50:34 -0500</pubDate>
    </item>
  </channel>
</rss>
