QA SoftVision Team/WebQA Automation: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 1: Line 1:
<div style="clear:both; margin-bottom:20px;"><div style="width:20%; height:105px; float:left; padding: 2px; border: 4px solid rgb(40, 40, 40); background: #dddddd; -moz-border-radius: 10px; text-align:center; margin-top:15px; margin-right:15px;">
*Welcome to the the WebQA Team wiki page!
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Welcome to the '''the WebQA Team ''' wiki page.<br>
*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.
</div><div style="width:72%; float:right; padding: 11px; background: #ffffff; -moz-border-radius: 10px; text-align:left; margin-top:15px; margin-left:0px;">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. </div> </div> <div style="clear:both; margin-bottom:20px;"></div>
 
= Management and Communication  =
 
= Communication  =


=== Project Updates  ===
=== Project Updates  ===
{| class="fullwidth-table"
{| class="fullwidth-table"
|-
|-
Line 13: Line 15:
|-
|-
| Teodosia Pop  
| Teodosia Pop  
| teodosia.pop@softvision.ro
| teodosia.pop@softvision.ro  
| teodosia
| teodosia  
| AMO 90%, Socorro 10%
| AMO 90%, Socorro 10%
|-
|-
| Florin Strugariu
| Florin Strugariu  
| florin.strugariu@softvision.ro
| florin.strugariu@softvision.ro  
| Bebe
| Bebe  
| AMO 90%, Socorro 10%
| AMO 90%, Socorro 10%
|-
|-
| Alin Trif
| Alin Trif  
| alin.trif@softvision.ro
| alin.trif@softvision.ro  
| AlinT
| AlinT  
| AMO 50%, Socorro 50%
| AMO 50%, Socorro 50%
|}
|}
*List of [https://wiki.mozilla.org/QA/Execution/Web_Testing#Team_Members_and_Assignments Team Members]  
*List of [https://wiki.mozilla.org/QA/Execution/Web_Testing#Team_Members_and_Assignments Team Members]  
*[https://wiki.mozilla.org/QA/Execution/Web_Testing/Etherpads Weekly Scrum Pads]
*[https://wiki.mozilla.org/QA/Execution/Web_Testing/Etherpads Weekly Scrum Pads]
Line 83: Line 86:
=== Python  ===
=== Python  ===


* Install [http://www.python.org/ftp/python/2.6.6/ Python 2.6 (32-bit version)] and include the folder path (''C:\Python26'') into the System Variables: ''System Properties-&gt;Environment Variables-&gt;System Variables-&gt; Path''.
*Install [http://www.python.org/ftp/python/2.6.6/ Python 2.6 (32-bit version)] and include the folder path (''C:\Python26'') into the System Variables: ''System Properties-&gt;Environment Variables-&gt;System Variables-&gt; Path''.  
* [http://code.google.com/p/selenium/source/browse/trunk/selenium/src/py/selenium.py?r=8154 Download the selenium.py file] and save it into the Python folder's location (''C:\Python26'').
*[http://code.google.com/p/selenium/source/browse/trunk/selenium/src/py/selenium.py?r=8154 Download the selenium.py file] and save it into the Python folder's location (''C:\Python26'').
 
=== Pip Install  ===
 
*Download the last pip version from [http://pypi.python.org/pypi/pip#downloads here] and uncompress it.
*Install the [http://pypi.python.org/pypi/setuptools#files 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 [http://www.eclipse.org/downloads/ Eclipse].
 
==== Configure Ecplise for Python  ====


=== Pip Install ===
*Launch Eclipse.
* Download the last pip version from [http://pypi.python.org/pypi/pip#downloads  here] and uncompress it.
* Install the [http://pypi.python.org/pypi/setuptools#files 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 ===
*Download PyDev from within Eclipse&nbsp;:
* Install the latest version of the Java Runtime Environment.
**Go to ''Help → Install New Software''
* Download and install [http://www.eclipse.org/downloads/ Eclipse].
**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 Ecplise for Python ====
*Configure PyDev:
* Launch Eclipse.
**Python must be installed to configure PyDev.
**Go to ''Window → Preferences''. In the ''Preferences'' window, expand ''PyDe''v and select ''Interpreter-Python''.
**Click ''New...' and type ''Python32''for 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.


* Download PyDev from within Eclipse :
*Switch to the Python perspective:  
** Go to ''Help Install New Software''
**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''.
** 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:
==== Configure Eclipse for PEP8 ====
** Python must be installed to configure PyDev.
** Go to ''Window → Preferences''. In the ''Preferences'' window, expand ''PyDe''v and select ''Interpreter-Python''.
** Click ''New...' and type ''Python32'' for 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:
*Select ''Run-External Tools-External Tools Configurations...''  
** 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''.
*Select ''Program'' root node.  
==== Configure Eclipse for PEP8 ====
*Press ''New launch configuration button''.  
* Select ''Run-External Tools-External Tools Configurations...''  
*Enter ''Name'' for your launch configuration.  
* Select ''Program'' root node.  
*Fill following fields:  
* Press ''New launch configuration button''.  
**Location - ''C:\Python26\Scripts\pep8.exe''  
* Enter ''Name'' for your launch configuration.
**''Working directory'' - ''${container_loc}''  
** Fill following fields:
**''Arguments'' - ''${resource_name}''  
** Location - ''C:\Python26\Scripts\pep8.exe''
*Go to ''Common'' tab and make sure that ''Allocate Console'' checkbox is checked.
** ''Working directory'' - ''${container_loc}''
** ''Arguments'' - ''${resource_name}''
* Go to ''Common'' tab and make sure that ''Allocate Console'' checkbox is checked.


== Tasks  ==
== Tasks  ==
Confirmed users
407

edits

Navigation menu