Lowest Cost Cloud Load Testing Tool

Testing web sites with Selenium

Selenium provides an open source
software testing framework that is ideal for web-based applications
and sites. Developers can write the tests in the form of HTML tables
or can code them in any popular programming language. Moreover, Selenium
can be deployed on any of the modern web browsers to test web site performance.
Selenium has a Firefox extension for test case recording and editing
in IDE (Integrated Development Environment). Developers can deploy Selenium
on Macintosh, Linux or Windows.

Software Testing Tips Using
Selenium

  • For setting variables,
    it is preferable to use storedVars['x'] rather than ${x}. Although,
    ${x} is shorter, it does not identify the real value and cannot be assigned
    anything. storedVars['x'] represents stored user variables of Selenium
    and is the best to use.
  • You should adopt
    storeEval to run a Javascript code to define functions in Selenium IDE.
    You can store the result in a variable that you can make use of for
    proceeding commands.
  • Use the ‘assert’
    command rather than ‘verify.’ The ‘verify’ command in Selenium
    will allow the test case to run, but will fail at the end. In case of
    the ‘assert’ command, the test will stop.
  • You can use captureEntirePageScreenShot
    command of Selenium, as it works perfectly with IDE/HTML. You could
    use this command for critical scenarios, such as for issue debugging
    in case you schedule test suites. However, it may not work well with
    the Java programming language. In this case, you can try the capturescreenshot
    command.
  • If you wish to keep
    the test case in ‘HTML,’ you should ideally write a wrapper in .net/jsp
    for the test case.
  • When you notice
    problems occurring while recording in Firefox, disable Selenium IDE
    and enable it again. To do this, click on Tools->Add on -> Selenium
    IDE. Ensure that you restart the browser after that.
  • In case the browser
    does not get killed automatically, consider killing it manually.
  • You may need to
    use lots of xpath in your test and Firebug allows you to get xpath by
    right clicking on the element. From the context menu choose "Copy
    Xpath" and paste it. You may be required to replace "/html/body/"
    with "//".

Comments

Hi, about For setting

Hi,

about For setting variables,

it is preferable to use storedVars['x'] rather than ${x}. Although,
${x} is shorter, it does not identify the real value and cannot be assigned
anything. storedVars['x'] represents stored user variables of Selenium
and is the best to use.

Can you detail this assertion?

Why ${x} does not identify the real value? I use a lot of variables in Selenium IDE, and I don't understand why they 'did not identify'.

Why ${x} cannot be assigned anything?

Thank you in advance.

Storm on Demand - Pay Per Test

Storm on Demand Users Cost
250 $9.97
500 $19.95
1,000 $39.90
5,000 $199.50
10,000 $399.00
25,000 $997.50
50,000 $1,995.00
100,000 $3,990.00
200,000 $7,980.00

performance testing sign upIt's easy. You can be load testing in 15 minutes.

  1. Click the "Free Account" button.
  2. Enter your name & email address.
  3. Click the confirmation link in an email.
  4. Create a test scenario for your site.
  5. Run a load test.
  6. Analyze the test results.
  7. Send us a testimonial because you are amazed!

Customers love our load testing tool

“We needed an easy & cost effective way to load test our Windows Azure solution. Thanks to LoadStorm - highly recommended!” - Jonas Stawski, Microsoft MVP

"LoadStorm is a very useful tool." Alan Cheung, Manager - Technical Services, Dow Jones Publishing Company

"It has been a pleasure to work with LoadStorm." - Mike Compton, V.P. of I.T., Hearst Business Media

"Load-testing in the cloud was a great solution and LoadStorm a dream partner. " - Julie Hansen, COO, Publisher, The Business Insider

"There was no risk because I knew what the tool would provide before spending a dime. LoadStorm is a great tool." - Richard Ertman, QA/Release Manager, PETA

"I am definitely a fan of LoadStorm. I like its ease-of-use and the way in which the solution scales." - Darin Creason, Sr. Software Engineer, TransCore Corp

Want a Live Demo? Have Questions?

Please feel free to contact us:

(970) 389-1899

We are eager to help you with LoadStorm in any way that you need.