<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Nerrvana blog</title>
	<atom:link href="http://blog.nerrvana.com/feed/?lang=en-us" rel="self" type="application/rss+xml" />
	<link>http://blog.nerrvana.com</link>
	<description></description>
	<lastBuildDate>Thu, 31 Oct 2013 10:54:02 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
		<item>
		<title>Ruby and Python webdriver bindings</title>
		<link>http://blog.nerrvana.com/2013/10/31/ruby-and-python-webdriver-bindings/</link>
		<comments>http://blog.nerrvana.com/2013/10/31/ruby-and-python-webdriver-bindings/#comments</comments>
		<pubDate>Thu, 31 Oct 2013 10:54:02 +0000</pubDate>
		<dc:creator>bear</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.nerrvana.com/?p=1741</guid>
		<description><![CDATA[From the launch date Nerrvana could run tests in PHP or Java. Some time ago we added Ruby and Python support, however we only had libraries supporting Selenium 1. We are glad to tell you that Nerrvana now supports Ruby and Python tests using Selenium 2 (webdriver). For Python we use version 2.33.0 of Selenium [...]]]></description>
			<content:encoded><![CDATA[<p>From the launch date <a href="http://www.nerrvana.com/">Nerrvana</a> could run tests in PHP or Java. Some time ago we added Ruby and Python support, however we only had libraries supporting Selenium 1.</p>
<p>We are glad to tell you that Nerrvana now supports Ruby and Python tests using Selenium 2 (webdriver).<br />
<span id="more-1741"></span><br />
For Python we use <a href="https://pypi.python.org/pypi/selenium">version 2.33.0</a> of Selenium<br />
For Ruby &#8211; <a href="http://rubygems.org/gems/selenium-webdriver">selenium-webdriver 2.33.0</a></p>
<p>We also added <a href="http://rspec.info/">Rspec</a> framework for Ruby and <a href="https://github.com/nose-devs/nose">nose</a> for Python.</p>
<p>After registration, you will see examples of tests in each language we support. If you do not have experience with Selenium, you can use our demo tests as a starting point. If you are a guru, you can still check the examples, just to get an idea of how to kick off test execution, and what parameters are used to create a driver instance.</p>
<p>Or you can check our tests included in the demo account below. All tests go to Wikipedia, search ‘Selenium’ and check if the phrase “This article is about the chemical element.” exists on search results page.</p>
<p>In our sample tests I now keep only the important things. Notice, as before, your tests will most likely not require modification to run in Nerrvana. You only need to use the remote webdriver as a driver. As we mentioned in our documentation – despite the fact that some code uses capabilities with particular browser – Nerrvana will use browsers you specified via API or UI for this test run.</p>
<p>Ruby:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1741code5'); return false;">View Code</a> RUBY</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p17415"><td class="code" id="p1741code5"><pre class="ruby" style="font-family:monospace;"><span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">&quot;rubygems&quot;</span>
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">&quot;selenium-webdriver&quot;</span>
&nbsp;
capabilities = <span style="color:#6666ff; font-weight:bold;">Selenium::WebDriver::Remote::Capabilities</span>.<span style="color:#9900CC;">chrome</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>
driver = <span style="color:#6666ff; font-weight:bold;">Selenium::WebDriver</span>.<span style="color:#9966CC; font-weight:bold;">for</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:remote</span>, <span style="color:#ff3333; font-weight:bold;">:desired_capabilities</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> capabilities<span style="color:#006600; font-weight:bold;">&#41;</span>
driver.<span style="color:#9900CC;">get</span> <span style="color:#996600;">&quot;http://en.wikipedia.org&quot;</span>
driver.<span style="color:#9900CC;">find_element</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:id</span>, <span style="color:#996600;">&quot;searchInput&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">send_keys</span> <span style="color:#996600;">&quot;Selenium&quot;</span>
driver.<span style="color:#9900CC;">find_element</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:id</span>, <span style="color:#996600;">&quot;searchInput&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">submit</span>
<span style="color:#9966CC; font-weight:bold;">if</span> driver.<span style="color:#9900CC;">find_element</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:tag_name</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#996600;">&quot;body&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">text</span>.<span style="color:#9966CC; font-weight:bold;">include</span>?<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">&quot;This article is about the chemical element.&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>
    <span style="color:#CC0066; font-weight:bold;">print</span> <span style="color:#996600;">'Test passed'</span>
<span style="color:#9966CC; font-weight:bold;">else</span>
    <span style="color:#CC0066; font-weight:bold;">print</span> <span style="color:#996600;">'Test failed'</span>
<span style="color:#9966CC; font-weight:bold;">end</span>
driver.<span style="color:#9900CC;">save_screenshot</span> <span style="color:#996600;">&quot;./screenshot.png&quot;</span>
driver.<span style="color:#9900CC;">quit</span></pre></td></tr></table></div>

<p>Python:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1741code6'); return false;">View Code</a> PYTHON</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p17416"><td class="code" id="p1741code6"><pre class="python" style="font-family:monospace;"><span style="color: #ff7700;font-weight:bold;">from</span> selenium <span style="color: #ff7700;font-weight:bold;">import</span> webdriver
<span style="color: #ff7700;font-weight:bold;">from</span> selenium.<span style="color: black;">common</span>.<span style="color: #dc143c;">exceptions</span> <span style="color: #ff7700;font-weight:bold;">import</span> NoSuchElementException
<span style="color: #ff7700;font-weight:bold;">from</span> selenium.<span style="color: black;">webdriver</span>.<span style="color: black;">common</span>.<span style="color: black;">keys</span> <span style="color: #ff7700;font-weight:bold;">import</span> Keys
&nbsp;
driver = webdriver.<span style="color: black;">Remote</span><span style="color: black;">&#40;</span>desired_capabilities=webdriver.<span style="color: black;">DesiredCapabilities</span>.<span style="color: black;">CHROME</span><span style="color: black;">&#41;</span>
driver.<span style="color: black;">get</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;http://en.wikipedia.org&quot;</span><span style="color: black;">&#41;</span>
driver.<span style="color: black;">find_element_by_id</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;searchInput&quot;</span><span style="color: black;">&#41;</span>.<span style="color: black;">send_keys</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;Selenium&quot;</span><span style="color: black;">&#41;</span>
driver.<span style="color: black;">find_element_by_id</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;searchInput&quot;</span><span style="color: black;">&#41;</span>.<span style="color: black;">submit</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
&nbsp;
<span style="color: #dc143c;">time</span>.<span style="color: black;">sleep</span><span style="color: black;">&#40;</span><span style="color: #ff4500;">1</span><span style="color: black;">&#41;</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">if</span> <span style="color: #483d8b;">&quot;This article is about the chemical element.&quot;</span> <span style="color: #ff7700;font-weight:bold;">in</span> driver.<span style="color: black;">find_element_by_tag_name</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;body&quot;</span><span style="color: black;">&#41;</span>.<span style="color: black;">text</span>:
    <span style="color: #ff7700;font-weight:bold;">print</span> <span style="color: #483d8b;">'Test passed'</span>
<span style="color: #ff7700;font-weight:bold;">else</span>:
    <span style="color: #ff7700;font-weight:bold;">print</span> <span style="color: #483d8b;">'Test failed'</span>
&nbsp;
driver.<span style="color: black;">get_screenshot_as_file</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'./screenshot.png'</span><span style="color: black;">&#41;</span>
driver.<span style="color: black;">quit</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span></pre></td></tr></table></div>

<p>Java:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1741code7'); return false;">View Code</a> JAVA</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p17417"><td class="code" id="p1741code7"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">com.thoughtworks.selenium.*</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.io.*</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.openqa.selenium.*</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.openqa.selenium.remote.*</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.net.URL</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> SimpleTest <span style="color: #009900;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000066; font-weight: bold;">void</span> simpleWebDriverTest<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        DesiredCapabilities capability <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> DesiredCapabilities<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        capability.<span style="color: #006633;">setCapability</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;browserName&quot;</span>, <span style="color: #0000ff;">&quot;firefox);
&nbsp;
        try {
            driver = new RemoteWebDriver(new URL(&quot;</span>http<span style="color: #339933;">:</span><span style="color: #666666; font-style: italic;">//localhost:4444/wd/hub&quot;), capability);</span>
            driver.<span style="color: #006633;">get</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;http://en.wikipedia.org&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
            WebElement element <span style="color: #339933;">=</span> driver.<span style="color: #006633;">findElement</span><span style="color: #009900;">&#40;</span>By.<span style="color: #006633;">id</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;searchInput&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            element.<span style="color: #006633;">sendKeys</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Selenium&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            element.<span style="color: #006633;">submit</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
            <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>driver.<span style="color: #006633;">getPageSource</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">contains</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;This article is about the chemical element.&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Asystem+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">System</span></a>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Test passed&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
                <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Asystem+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">System</span></a>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Test failed&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #009900;">&#125;</span>
&nbsp;
            driver.<span style="color: #006633;">quit</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">catch</span> <span style="color: #009900;">&#40;</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Aexception+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">Exception</span></a> e<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>driver <span style="color: #339933;">!=</span> <span style="color: #000066; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                driver.<span style="color: #006633;">quit</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #009900;">&#125;</span>
            <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Asystem+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">System</span></a>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Test failed&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #000066; font-weight: bold;">void</span> main<span style="color: #009900;">&#40;</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">String</span></a><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> args<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        SimpleTest me <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> SimpleTest<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        me.<span style="color: #006633;">simpleWebDriverTest</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>PHP:<br />
[lang_ru](Обратите внимание, что Nerrvana не подключает PHP библиотеку для Selenium автоматически. Поэтому вы можете использовать любой PHP драйвер для Selenium, включив их в свой проект. Пример ниже &#8211; для Selenium-RC драйвера)<br />
[/lang_ru][lang_en-us](note, Nerrvana does not include Selenium libraries for PHP now. So you can use any Selenium bindings you have included in your project files. Our example is for Selenium-RC binding)<br />
[/lang_en-us]</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1741code8'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p17418"><td class="code" id="p1741code8"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">require_once</span> <span style="color: #0000ff;">'Selenium.php'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$selenium</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Testing_Selenium<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;*chrome&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;http://en.wikipedia.org&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;localhost&quot;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">4444</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$selenium</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">start</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$selenium</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">open</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;http://en.wikipedia.org&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$selenium</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">type</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;searchInput&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Selenium&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$selenium</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">submit</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;searchform&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$selenium</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">waitForPageToLoad</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;30000&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$selenium</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">isTextPresent</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;This article is about the chemical element.&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">echo</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Test passed&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">echo</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Test failed&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000088;">$selenium</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">stop</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.nerrvana.com/2013/10/31/ruby-and-python-webdriver-bindings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Functional monitoring with Selenium in Nerrvana</title>
		<link>http://blog.nerrvana.com/2013/07/16/functional-monitoring-with-selenium-in-nerrvana/</link>
		<comments>http://blog.nerrvana.com/2013/07/16/functional-monitoring-with-selenium-in-nerrvana/#comments</comments>
		<pubDate>Tue, 16 Jul 2013 04:04:34 +0000</pubDate>
		<dc:creator>Igor Kryltsov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.nerrvana.com/?p=1718</guid>
		<description><![CDATA[Today I would like to introduce a feature that we have recently added, and have been testing and using it ourselves for several months. It is functional monitoring. Our system, unlike other cloud Selenium services, not only provides the browsers for on-demand testing, but also executes your Selenium code. It can run tests by schedule [...]]]></description>
			<content:encoded><![CDATA[<div style="float: left;"><img style="padding: 5px 20px 10px 0;" title="Functional monitoring with Selenium in Nerrvana" src="http://blog.nerrvana.com/wp-content/uploads/2013/03/functional_monitoring_nerrvana_360.png" alt="Functional monitoring with Selenium in Nerrvana" /></div>
<p>Today I would like to introduce a feature that we have recently added, and have been testing and using it ourselves for several months. It is functional monitoring. Our system, unlike other cloud Selenium services, not only provides the browsers for on-demand testing, but also executes your Selenium code. It can run tests by schedule defined in Nerrvana and does not require any external systems, like CI server, to kick start them.</p>
<p>I should admit, we designed Nerrvana this way not because we planned to use it for monitoring, but because at the time, when we started to build Nerrvana, there were no mature CI servers to solve this problem. As Nerrvana is already able to execute code, it was logical and relatively easy for us to add the ability to do monitoring.</p>
<p>By the way, this is not the only application that this feature made possible. For example, you can check tickets availability, or track the delivery of your goods, but we&#8217;ll write about it another time. Vladimir Levin from Yandex wrote about reasons to do functional monitoring in production (with his permission, we even <a href="http://www.deepshiftlabs.com/sel_blog/?p=2886&#038;lang=en-us" target="_blank">translated</a> his post into English).</p>
<p>Read full article in our <a href="http://www.deepshiftlabs.com/sel_blog/?p=2917&#038;lang=en-us">Selenium blog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.nerrvana.com/2013/07/16/functional-monitoring-with-selenium-in-nerrvana/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Functional monitoring at Yandex (translation)</title>
		<link>http://blog.nerrvana.com/2013/03/19/functional-monitoring-at-yandex-translation/</link>
		<comments>http://blog.nerrvana.com/2013/03/19/functional-monitoring-at-yandex-translation/#comments</comments>
		<pubDate>Tue, 19 Mar 2013 01:44:00 +0000</pubDate>
		<dc:creator>Igor Kryltsov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.nerrvana.com/?p=1711</guid>
		<description><![CDATA[We recently launched functional monitoring support in Nerrvana and we think it will be interesting for our readers to learn why Yandex uses functional monitoring. Post is translated with Mikhail Levin&#8217;s permission and its original (in Russian) is located on Habrahabr. Yandex also shared technical details of their system at Yet Another Conference 2012 – [...]]]></description>
			<content:encoded><![CDATA[<div style="float: left;"><img style="padding: 5px 20px 10px 0;" title="Functional monitoring at Yandex" src="http://blog.nerrvana.com/wp-content/uploads/2013/03/functional_monitoring_yandex.png" alt="Functional monitoring at Yandex" /></div>
<p>We recently launched functional monitoring support in Nerrvana and we think it will be interesting for our readers to learn why <a href="http://en.wikipedia.org/wiki/Yandex" target="_blank">Yandex</a> uses functional monitoring.</p>
<p>Post is translated with <a href="ru.linkedin.com/pub/mikhail-levin/2b/19a/1ab" target="_blank">Mikhail Levin&#8217;s</a> permission and its original (in Russian) is located on <a href="http://habrahabr.ru/post/170797/" target="_blank">Habrahabr</a>. Yandex also shared technical details of their system at Yet Another Conference 2012 – video and slides are available <a href="http://events.yandex.ru/events/yac/2012/talks/360/" target="_blank">here</a> (but also in Russian).</p>
<p>Here is it:</p>
<p>&#8220;Do you monitor your services in production? Whose responsibility it is in your company?</p>
<p>When we think of monitoring; server side developers, system administrators and DBAs often come to mind. They must watch the data processing queues and free disk space for the availability of individual hosts and their load.</p>
<p>Such monitoring really gives a lot of information about the service, but does not always show how the service works for an end user. Therefore, in addition to system monitoring, we, at Yandex, have created a functional monitoring system, tracking the state of the service from final interfaces &#8211; through the way the app looks and works in a browser, or how it works at the API level.</p>
<p>What is functionality monitoring in our understanding? To understand this better, let&#8217;s look at how things progressed for us.</p>
<p>Read full article in our <a href="http://www.deepshiftlabs.com/sel_blog/?p=2886&#038;lang=en-us">Selenium blog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.nerrvana.com/2013/03/19/functional-monitoring-at-yandex-translation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New versions of browsers and fresh Selenium version</title>
		<link>http://blog.nerrvana.com/2013/02/17/new-versions-of-browsers-and-fresh-selenium-version/</link>
		<comments>http://blog.nerrvana.com/2013/02/17/new-versions-of-browsers-and-fresh-selenium-version/#comments</comments>
		<pubDate>Sun, 17 Feb 2013 03:37:13 +0000</pubDate>
		<dc:creator>Igor Kryltsov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.nerrvana.com/?p=1704</guid>
		<description><![CDATA[Selenium was updated to 2.29.0. We added support for Firefox 18, Chrome 24, Opera 12.14 on Windows XP and Windows 7 and Internet Explorer 10 on Windows 7 only. Here you can see a full list of platforms supported today by Nerrvana.]]></description>
			<content:encoded><![CDATA[<p>Selenium was updated to 2.29.0. We added support for Firefox 18, Chrome 24, Opera 12.14 on Windows XP and Windows 7 and Internet Explorer 10 on Windows 7 only.</p>
<p><a href="http://blog.nerrvana.com/wp-content/uploads/2013/02/nerrvana_update_Feb_2013.png">Here</a> you can see a full list of platforms supported today by Nerrvana.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.nerrvana.com/2013/02/17/new-versions-of-browsers-and-fresh-selenium-version/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Added Python, Ruby, Perl. Updated PHP and Java.</title>
		<link>http://blog.nerrvana.com/2012/12/20/added-python-ruby-perl-updated-php-and-java/</link>
		<comments>http://blog.nerrvana.com/2012/12/20/added-python-ruby-perl-updated-php-and-java/#comments</comments>
		<pubDate>Thu, 20 Dec 2012 00:47:52 +0000</pubDate>
		<dc:creator>Igor Kryltsov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.nerrvana.com/?p=1699</guid>
		<description><![CDATA[Nerrvana updated &#8211; PHP 5.4.1 (with PHPUnit 3.6.10), Java 1.7.0, Python 2.7.3 (with nose 1.1.2, Selenium 1.0.3), Perl 5.14.2, Ruby 1.9.3p194.]]></description>
			<content:encoded><![CDATA[<p>Nerrvana updated &#8211; PHP 5.4.1 (with PHPUnit 3.6.10), Java 1.7.0, Python 2.7.3 (with nose 1.1.2, Selenium 1.0.3), Perl 5.14.2, Ruby 1.9.3p194.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.nerrvana.com/2012/12/20/added-python-ruby-perl-updated-php-and-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nerrvana now supports Windows 7</title>
		<link>http://blog.nerrvana.com/2012/11/26/nerrvana-now-supports-windows-7/</link>
		<comments>http://blog.nerrvana.com/2012/11/26/nerrvana-now-supports-windows-7/#comments</comments>
		<pubDate>Mon, 26 Nov 2012 23:30:52 +0000</pubDate>
		<dc:creator>Igor Kryltsov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.nerrvana.com/?p=1692</guid>
		<description><![CDATA[We are glad to inform our clients about Windows 7 Selenium testing support in Nerrvana. A full list of available platforms is shown below (Nerrvana UI screenshot): Our plans &#8211; we moved from CentOS to Fedora which will allow us to expand a list of browsers on Linux. Adding support for launching Selenium tests written [...]]]></description>
			<content:encoded><![CDATA[<p>We are glad to inform our clients about Windows 7 Selenium testing support in Nerrvana. A full list of available platforms is shown below (Nerrvana UI screenshot):</p>
<p><img class="aligncenter" style="-ms-interpolation-mode: bicubic;"  src="http://blog.nerrvana.com/wp-content/uploads/2012/11/windows_7_selenium_nerrvana.jpg" alt="Nerrvana now supports Windows 7" title="Nerrvana now supports Windows 7" /></p>
<p>Our plans &#8211; we moved from CentOS to Fedora which will allow us to expand a list of browsers on Linux. Adding support for launching Selenium tests written in Python and Ruby. Windows 8 is next. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.nerrvana.com/2012/11/26/nerrvana-now-supports-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Nerrvana &#8211; final notes</title>
		<link>http://blog.nerrvana.com/2012/11/22/using-nerrvana-final-notes/</link>
		<comments>http://blog.nerrvana.com/2012/11/22/using-nerrvana-final-notes/#comments</comments>
		<pubDate>Thu, 22 Nov 2012 10:26:05 +0000</pubDate>
		<dc:creator>Igor Kryltsov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.nerrvana.com/?p=1649</guid>
		<description><![CDATA[Testing the application with two database types &#8211; configuration files &#8216;as is&#8217; &#8211; future plans At this point, we’ve talked about how we test our application with Jenkins and Nerrvana. In our recount, some details have been omitted in order not to complicate the essence of the process. It&#8217;s now time to show the real [...]]]></description>
			<content:encoded><![CDATA[<div style="float: left;"><img style="padding: 5px 20px 10px 0;" title="Using Nerrvana - final notes" src="http://blog.nerrvana.com/wp-content/uploads/2012/10/final_360.png" alt="Using Nerrvana - final notes" /></div>
<p style="text-align: center;"><em>Testing the application with two database types &#8211; configuration files &#8216;as is&#8217; &#8211; future plans</em></p>
<p>At this point, we’ve talked about how we test our application with Jenkins and Nerrvana. In our recount, some details have been omitted in order not to complicate the essence of the process.</p>
<p>It&#8217;s now time to show the real configuration files.</p>
<p>Here&#8217;s the script publish.sh. As you can see there is not one section, as shown earlier, but two. One deals with unpacking and setting up the Answers application on deployment host to work with MySQL, the other with PostgreSQL.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1649code10'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p164910"><td class="code" id="p1649code10"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh</span>
&nbsp;
<span style="color: #007800;">WWW_MYSQL_DIR</span>=<span style="color: #ff0000;">'/var/www/answers/answers_mysql'</span>
<span style="color: #007800;">WWW_PGSQL_DIR</span>=<span style="color: #ff0000;">'/var/www/answers/answers_postgres'</span>
<span style="color: #007800;">DB_NAME</span>=<span style="color: #ff0000;">'answers'</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-Rf</span> <span style="color: #007800;">$WWW_PGSQL_DIR</span><span style="color: #000000; font-weight: bold;">/*</span>
<span style="color: #c20cb9; font-weight: bold;">unzip</span> <span style="color: #660033;">-o</span> prj.zip <span style="color: #660033;">-d</span> <span style="color: #007800;">$WWW_PGSQL_DIR</span>
<span style="color: #c20cb9; font-weight: bold;">mv</span> <span style="color: #007800;">$WWW_PGSQL_DIR</span><span style="color: #000000; font-weight: bold;">/</span>config<span style="color: #000000; font-weight: bold;">/</span>Settings.class.php.pgsql <span style="color: #007800;">$WWW_PGSQL_DIR</span><span style="color: #000000; font-weight: bold;">/</span>config<span style="color: #000000; font-weight: bold;">/</span>Settings.class.php
<span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #660033;">-R</span> <span style="color: #000000;">777</span> <span style="color: #007800;">$WWW_PGSQL_DIR</span>
psql <span style="color: #660033;">-U</span> postgres <span style="color: #660033;">-f</span> <span style="color: #007800;">$WWW_PGSQL_DIR</span><span style="color: #000000; font-weight: bold;">/</span>install<span style="color: #000000; font-weight: bold;">/</span>crt-pgsql.sql
psql <span style="color: #660033;">-U</span> postgres <span style="color: #660033;">-f</span> <span style="color: #007800;">$WWW_PGSQL_DIR</span><span style="color: #000000; font-weight: bold;">/</span>install<span style="color: #000000; font-weight: bold;">/</span>postgres.sql <span style="color: #007800;">$DB_NAME</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-Rf</span> <span style="color: #007800;">$WWW_MYSQL_DIR</span><span style="color: #000000; font-weight: bold;">/*</span>
<span style="color: #c20cb9; font-weight: bold;">unzip</span> <span style="color: #660033;">-o</span> prj.zip <span style="color: #660033;">-d</span> <span style="color: #007800;">$WWW_MYSQL_DIR</span>
<span style="color: #c20cb9; font-weight: bold;">mv</span> <span style="color: #007800;">$WWW_MYSQL_DIR</span><span style="color: #000000; font-weight: bold;">/</span>config<span style="color: #000000; font-weight: bold;">/</span>Settings.class.php.mysql <span style="color: #007800;">$WWW_MYSQL_DIR</span><span style="color: #000000; font-weight: bold;">/</span>config<span style="color: #000000; font-weight: bold;">/</span>Settings.class.php
<span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #660033;">-R</span> <span style="color: #000000;">777</span> <span style="color: #007800;">$WWW_MYSQL_DIR</span>
mysql <span style="color: #660033;">-v</span> <span style="color: #660033;">-u</span> root  <span style="color: #000000; font-weight: bold;">&lt;</span> <span style="color: #007800;">$WWW_MYSQL_DIR</span><span style="color: #000000; font-weight: bold;">/</span>install<span style="color: #000000; font-weight: bold;">/</span>crt-mysql.sql
mysql <span style="color: #660033;">-v</span> <span style="color: #660033;">-u</span> root  <span style="color: #000000; font-weight: bold;">&lt;</span> <span style="color: #007800;">$WWW_MYSQL_DIR</span><span style="color: #000000; font-weight: bold;">/</span>install<span style="color: #000000; font-weight: bold;">/</span>mysql.sql <span style="color: #007800;">$DB_NAME</span></pre></td></tr></table></div>

<p>Read full article in our <a href="http://www.deepshiftlabs.com/sel_blog/?p=2628&#038;lang=en-us">Selenium blog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.nerrvana.com/2012/11/22/using-nerrvana-final-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Nerrvana – Jenkins setup for Selenium testing</title>
		<link>http://blog.nerrvana.com/2012/11/16/using-nerrvana-jenkins-setup-for-selenium-testing/</link>
		<comments>http://blog.nerrvana.com/2012/11/16/using-nerrvana-jenkins-setup-for-selenium-testing/#comments</comments>
		<pubDate>Fri, 16 Nov 2012 01:58:17 +0000</pubDate>
		<dc:creator>Igor Kryltsov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.nerrvana.com/?p=1526</guid>
		<description><![CDATA[Creating the Nerrvana plugin configurationfile &#8211; walking through it &#8211; runningour tests &#8211; checking test results In the previous post, we have automated our web application deployment process and are now ready to continue improving our build and include Selenium testing into it. At this point Jenkins is able to react to the commit, prepare [...]]]></description>
			<content:encoded><![CDATA[<div style="float: left;"><img style="padding: 5px 20px 10px 0;" title="Using Nerrvana – Jenkins setup for Selenium testing" src="http://blog.nerrvana.com/wp-content/uploads/2012/08/testing_360.png" alt="Using Nerrvana – Jenkins setup for Selenium testing" /></div>
<p style="text-align: center;"><em>Creating the Nerrvana plugin configuration</br>file &#8211; walking through it &#8211; running</br>our tests &#8211; checking test results</em></p>
<p>In the <a href="http://www.deepshiftlabs.com/sel_blog/?p=2343&#038;lang=en-us">previous</a> post, we have automated our web application deployment process and are now ready to continue improving our build and include Selenium testing into it. At this point Jenkins is able to react to the commit, prepare and install our application on the deployment host. We also learned how to extract commit information from SVN, parse and save it to version.txt file.</p>
<p>Today we will launch Selenium tests in Nerrvana with our Jenkins plugin. The Nerrvana plugin is available at http://your_jenkins_instance/pluginManager/available. The plugin uses LFTP to synchronize tests between Jenkins and Nerrvana. So, please install it (yum install lftp) on the same server running Jenkins.</p>
<p>Read full article in our <a href="http://www.deepshiftlabs.com/sel_blog/?p=2257&#038;lang=en-us">Selenium blog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.nerrvana.com/2012/11/16/using-nerrvana-jenkins-setup-for-selenium-testing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running Selenium IDE tests without IDE</title>
		<link>http://blog.nerrvana.com/2012/11/14/running-selenium-ide-without-ide/</link>
		<comments>http://blog.nerrvana.com/2012/11/14/running-selenium-ide-without-ide/#comments</comments>
		<pubDate>Wed, 14 Nov 2012 02:29:09 +0000</pubDate>
		<dc:creator>Igor Kryltsov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.nerrvana.com/?p=1646</guid>
		<description><![CDATA[We are glad to introduce the Selenium IDE formatter for Nerrvana. What is Nerrvana? Nerrvana is a cloud service which allows you to run functional and cross browser Selenium tests on demand. We hope it will help those who use the Selenium IDE to create and run tests or monitoring scripts in our cloud, and [...]]]></description>
			<content:encoded><![CDATA[<div style="float: left;"><img style="padding: 5px 20px 10px 0;" title="Running Selenium IDE without IDE" src="http://blog.nerrvana.com/wp-content/uploads/2012/10/cloud_360.jpg" alt="Running Selenium IDE without IDE" /></div>
<p>We are glad to introduce the Selenium IDE formatter for Nerrvana. </p>
<p>What is Nerrvana? Nerrvana is a cloud service which allows you to run functional and cross browser Selenium tests on demand.</p>
<p>We hope it will help those who use the Selenium IDE to create and run tests or monitoring scripts in our cloud, and help you to transition from recording tests in the IDE to writing much more powerful and easy to maintain tests in Java.</p>
<p><iframe width="700" height="394" src="http://www.youtube.com/embed/ntmbLNkwYhc" frameborder="0" allowfullscreen></iframe></p>
<p style="text-align: center;"><em>Use 720p for the best quality</em></p>
<p>If there will be a demand from our clients we will extend the <a href="http://www.deepshiftlabs.com/sel_blog/?p=1930&#038;lang=en_us" target="_blank">framework</a> to create reports in the same format for tests generated by the Nerrvana Selenium IDE formatter.</p>
<p>Even though Selenium IDE tests have some limits it won’t compromise the quality of the reports you see and will minimise the time you spend to analyse them.</p>
<p>So please <a href="http://www.nerrvana.com" target="_blank">register</a> your free account and give it a try.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.nerrvana.com/2012/11/14/running-selenium-ide-without-ide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jenkins plugin released</title>
		<link>http://blog.nerrvana.com/2012/11/09/jenkins-plugin-released/</link>
		<comments>http://blog.nerrvana.com/2012/11/09/jenkins-plugin-released/#comments</comments>
		<pubDate>Fri, 09 Nov 2012 01:35:02 +0000</pubDate>
		<dc:creator>Igor Kryltsov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.nerrvana.com/?p=1659</guid>
		<description><![CDATA[We are glad to release Jenkins plugin for Nerrvana. We are using final version for a couple of months now and completely happy with it. Please visit documentation page for details. We are describing our automation process with Nerrvana and Jenkins in our Selenium blog. In the next article we will share how do we [...]]]></description>
			<content:encoded><![CDATA[<div style="float: left;"><img style="padding: 5px 20px 10px 0;" title="Jenkins plugin released" src="http://blog.nerrvana.com/wp-content/uploads/2012/11/plugin_tn_360.png" alt="Jenkins plugin released" /></div>
<p>We are glad to release Jenkins plugin for Nerrvana. We are using final version for a couple of months now and completely happy with it. Please visit <a href="http://www.nerrvana.com/docs/jenkins-plugin" target="_blank">documentation</a> page for details.</p>
<p>We are describing our automation process with Nerrvana and Jenkins in our <a href="http://www.deepshiftlabs.com/sel_blog/?p=2343&#038;lang=en-us" target="_blank">Selenium blog</a>. In the next article we will share how do we use Nerrvana Jenkins plugin. Stay tuned!</p>
<p>What is next?</p>
<p>Selenium IDE formatter for Nerrvana. Yes, it will allow you to export Selenium IDE tests in a format and structure which is fully launchable in Nerrvana as is.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.nerrvana.com/2012/11/09/jenkins-plugin-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
