QA/Execution/Web Testing/SUMO/Selenium: Difference between revisions

From MozillaWiki
< QA‎ | Execution‎ | Web Testing‎ | SUMO
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
Overview: This aims to help facilitate both QA and Development in running and writing Selenium-based testcases to help better-test SUMO.
Overview: This aims to help facilitate both QA and Development in running and writing Selenium-based testcases to help better-test SUMO.


= Testcase location =
Testcase location
[http://viewvc.svn.mozilla.org/vc/projects/sumo/trunk/tests/frontend/ http://viewvc.svn.mozilla.org/vc/projects/sumo/trunk/tests/frontend/]<p>
[http://viewvc.svn.mozilla.org/vc/projects/sumo/trunk/tests/frontend/ http://viewvc.svn.mozilla.org/vc/projects/sumo/trunk/tests/frontend/]<p>


== How to run these tests '''*individually*''' using the Selenium IDE ==
How to run these tests '''*individually*''' using the Selenium IDE
1. Download the Selenium IDE from [https://addons.mozilla.org/en-US/firefox/addon/2079 https://addons.mozilla.org/en-US/firefox/addon/2079]<br>
1. Download the Selenium IDE from [https://addons.mozilla.org/en-US/firefox/addon/2079 https://addons.mozilla.org/en-US/firefox/addon/2079]<br>
2. Install it<br>
2. Install it<br>
Line 12: Line 12:
6. Click Play!
6. Click Play!


=== Testcases needed ===
= Testcases needed =
* SHOWFOR functionality
* SHOWFOR functionality
* Breadcrumbs
* Breadcrumbs
Line 18: Line 18:
** So we can better test submitting article feedback/new forum posts while logged out
** So we can better test submitting article feedback/new forum posts while logged out


==== Current test coverage ====
== Current test coverage ==
 
*[http://viewvc.svn.mozilla.org/vc/projects/sumo/trunk/tests/frontend/ask-a-question.html?revision=24088 Ask a question]
*[http://viewvc.svn.mozilla.org/vc/projects/sumo/trunk/tests/frontend/ask-a-question.html?revision=24088 Ask a question]
** Page title
** Page title

Revision as of 15:17, 3 April 2009

Overview: This aims to help facilitate both QA and Development in running and writing Selenium-based testcases to help better-test SUMO.

Testcase location

http://viewvc.svn.mozilla.org/vc/projects/sumo/trunk/tests/frontend/

How to run these tests *individually* using the Selenium IDE 1. Download the Selenium IDE from https://addons.mozilla.org/en-US/firefox/addon/2079
2. Install it
3. Launch Selenium (Tools->Selenium IDE), and choose File | Open
4. Give it the individual test location and choose OK/Open>
5. Ensure the base URL is appropriate (staging vs. production) -- the testcases should all be written as relative, so they'll work in both
6. Click Play!

Testcases needed

  • SHOWFOR functionality
  • Breadcrumbs
  • Turning on/off the Captcha
    • So we can better test submitting article feedback/new forum posts while logged out

Current test coverage