Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I am not sure whether my advice will help you but anyway. </p> <p>The first tool that comes to my mind would be <a href="http://docs.seleniumhq.org/" rel="nofollow">Selenium</a>. The good news (based on stack you are currently using) is that you can use <code>JavaScript</code> for writing test. Here is an example which searches for the term “Cheese” on <code>Google</code> and then outputs the result page’s title to the console:</p> <pre><code>var driver = new webdriver.Builder().build(); driver.get('http://www.google.com'); var element = driver.findElement(webdriver.By.name('q')); element.sendKeys('Cheese!'); element.submit(); driver.getTitle().then(function(title) { console.log('Page title is: ' + title); }); driver.wait(function() { return driver.getTitle().then(function(title) { return title.toLowerCase().lastIndexOf('cheese!', 0) === 0; }); }, 3000); driver.getTitle().then(function(title) { console.log('Page title is: ' + title); }); driver.quit(); </code></pre> <p>I think that with Selenium 2 there is possibility to 'open' more instances of browser - that would mean you will be able to test side effects / interaction among them.</p> <p>As alternative you could also take a look at <a href="https://github.com/windmill/windmill/wiki/_pages" rel="nofollow">WindMill</a> project, <a href="https://github.com/tigbro/uitest.js" rel="nofollow">UItest.js</a> or commercial product <a href="http://www.thoughtworks-studios.com/twist-agile-testing" rel="nofollow">Twist</a> that uses Selenium or (also mentioned by Spudley) <a href="http://sahi.co.in/" rel="nofollow">Sahi</a> as a <a href="http://www.thoughtworks-studios.com/twist/2.3/help/meet_twist_drivers.html" rel="nofollow">driver</a> for tests.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload