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

Jump to navigation Jump to search
No edit summary
Line 34: Line 34:
*The Selenium IDE can generate Python code for individual SIDE commands by exporting a "script" to Python that contains only one or a few commands. The exporter does not require a fully operational script. An single SIDE command may be translated to one or more Python functions. For example, the verifyXYZ IDE commands are generally translated to a get_xyz( ) passed to an assertion function.
*The Selenium IDE can generate Python code for individual SIDE commands by exporting a "script" to Python that contains only one or a few commands. The exporter does not require a fully operational script. An single SIDE command may be translated to one or more Python functions. For example, the verifyXYZ IDE commands are generally translated to a get_xyz( ) passed to an assertion function.


==== Shared Libraries ====
==== Shared Libraries ====
Shared libraries of functions and locators for AMO pages are available to help centralize code and simplify python scripts.


<br>  
Code libraries for AMO&nbsp;pages are available to help centralize code and simplify python scripts. &nbsp;They contain functions to execute features and locators for page elements.<br>
 
<br>


=== Setting Up Selenium RC  ===
=== Setting Up Selenium RC  ===
1,072

edits

Navigation menu