QA SoftVision Team/WebQA Automation: Difference between revisions
Jump to navigation
Jump to search
Teodosia.pop (talk | contribs) No edit summary |
Teodosia.pop (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
[[Image:WebQAlogo.jpg|thumb|left|200px]] | |||
*Welcome to the the WebQA Team wiki page! | *Welcome to the the WebQA Team wiki page! | ||
*This page is considered a ramp up page and gives a centralization of our tasks. Please contact one of us before changing the content of the page. | *This page is considered a ramp up page and gives a centralization of our tasks. Please contact one of us before changing the content of the page. | ||
<br> | |||
<br> | |||
<br> | |||
<br> | |||
= Communication = | = Communication = |
Revision as of 11:21, 29 September 2011
- Welcome to the the WebQA Team wiki page!
- This page is considered a ramp up page and gives a centralization of our tasks. Please contact one of us before changing the content of the page.
Communication
Project Updates
Name | Email Address | IRC nick | Project Assignments |
Teodosia Pop | teodosia.pop@softvision.ro | teodosia | AMO 90%, Socorro 10% |
Florin Strugariu | florin.strugariu@softvision.ro | Bebe | AMO 90%, Socorro 10% |
Alin Trif | alin.trif@softvision.ro | AlinT | AMO 50%, Socorro 50% |
- List of Team Members
- Weekly Scrum Pads
Meetings
- Weekly Waverly Meetings
Tuesdays, 8am PT / 4pm GMT Dial in: 1-800-707-2533 (pin 369) Conf #245
- Bi-monthly status meetings
Every other Friday, 9am PDT Dial in: 1-800-707-2533 (pin 369) Conf# 303 irc.mozilla.org #mozwebqa for backchannel
IRC
- #mozwebqa on irc.mozilla.org (use SSL)
Mailing Lists
- mozilla.dev-quality mailing list hosted on Google
- mozwebqa@mozilla.org
WebQA
First Steps
- Read this before you begin:
- Here are the GitHub locations for AMO, Socorro, SUMO, and Input:
- Each project’s GitHub repository has a README.md that will you help you set up an environment and get tests running for that particular project.
- We also have some general test-writing guidelines that should be followed.
- As you begin writing checks, please adhere as closely as possible to the Style Guide.
Setup the Work Environment on Win7
Git
- Install GitHub on your local machine http://help.github.com/win-set-up-git/
- Create a fork of the Mozilla github repository on your git repo for the AMO project.
- Clone the the above fork locally, on your machine.
Python
- Install Python 2.6 (32-bit version) and include the folder path (C:\Python26) into the System Variables: System Properties->Environment Variables->System Variables-> Path.
- Download the selenium.py file and save it into the Python folder's location (C:\Python26).
Pip Install
- Download the last pip version from here and uncompress it.
- Install the 32-bit version of Python using the provided .exe installer.
- In cmd, go to the uncompressed pip directory and run python setup.py install
- Add your C:\Python26\Scripts to the System Variables path.
- Now you can use the command pip install package on Win.
- In cmd run pip install pep8.
Java and Eclipse
- Install the latest version of the Java Runtime Environment.
- Download and install Eclipse.
Configure Ecplise for Python
- Launch Eclipse.
- Download PyDev from within Eclipse :
- Go to Help → Install New Software
- Enter http://pydev.org/updates in the Work with: field.
- After several seconds, two options should appear. Select the PyDev for Eclipse option. Do not select the PyDev Mylyn Integration flag.
- Click "Next" and "OK" to continue installing PyDev.
- Select "I accept the terms of the license agreement", then click Finish. The installer will begin to download the plug-in.
- Note: When you see the Selection Needed dialog box, you must manually check the box before pressing okay. If you do not, it appears that the installation is continuing, but it is not. You must uninstall PyDev, then reinstall.
- A security warning may appear asking whether you trust the software being installed- click Ok, then ensure the correct items are selected and click Yes. The instillation process will continue.
- When the installation is complete, you will be asked if you want to restart Eclipse. Select Yes. You may see a Subclipse Usage dialog, just uncheck the box and continue.
- Configure PyDev:
- Python must be installed to configure PyDev.
- Go to Window → Preferences. In the Preferences window, expand PyDev and select Interpreter-Python.
- Click New...' and type Python32for the Interpreter name. For the Interpreter executable, browse to your copy of Python (C:\Program Files\Python26\python.exe), and press Open.
- Click OK and the Selection Needed Window will appear.
- Select all but the PySrc and python26.zip and click OK as many times as necessary to exit the preferences. The default selection should be fine.
- The Interpreter is now set up so that the code you write can be interpreted for the computer to run. You are now ready to start running code.
- Switch to the Python perspective:
- Go to Window → Open Perspective → Other and choose PyDev, then click OK. If you look at the upper right corner you will see that the perspective has changed from Java to PyDev.
Configure Eclipse for PEP8
- Select Run-External Tools-External Tools Configurations...
- Select Program root node.
- Press New launch configuration button.
- Enter Name for your launch configuration.
- Fill following fields:
- Location - C:\Python26\Scripts\pep8.exe
- Working directory - ${container_loc}
- Arguments - ${resource_name}
- Go to Common tab and make sure that Allocate Console checkbox is checked.
Tasks
- Our main task is to convert the manual tests for AMO in Litmus into automated tests, but we also do code review and merge pull requests.
- We receive our tasks in Pivotal Tracker.