Web Browser Automation With Selenium IDE
Web Browser Automation With Selenium IDE
3 Resources
4 Demonstration
Selenium IDE Basics
OR
Integrated
Development
Environment
Selenium GUI
Integrated
Development
Environment
● create
● debug
● run
Selenium GUI
Integrated
Development
Environment
● create
● debug
● run
HTML Scripts
aka
Test Cases
Controls
Speed Slider
Record
Button
Play Buttons
Selenium Window Elements
Selenium Window Elements
Command Table
Selenium Window Elements
Command Table
Command Editor
Selenium Window Elements
Command Table
Command Editor
Information
Tabs
Selenium Edit Interface
Command Table
Command Editor
Selenium Edit Interface
Table View
Selenium Edit Interface
Script Components
Selenium Edit Interface
Script Components
1. Commands
Selenium Edit Interface
Script Components
1. Commands
Selenium Edit Interface
Script Components
1. Commands
(Browser Actions)
Selenium Edit Interface
Script Components
1. Commands
(Browser Actions)
2. Targets
Selenium Edit Interface
Script Components
1. Commands
(Browser Actions)
2. Targets
Selenium Edit Interface
Script Components
1. Commands
(Browser Actions)
2. Targets
(Page Objects)
Selenium Edit Interface
Script Components
1. Commands
(Browser Actions)
2. Targets
(Page Objects)
3. Values
Selenium Edit Interface
Script Components
1. Commands
(Browser Actions)
2. Targets
(Page Objects)
3. Values
Selenium Edit Interface
Script Components
1. Commands
(Browser Actions)
2. Targets
(Page Objects)
3. Values
(Menus, Text)
Selenium Edit Interface
Source View
Script Components
1. Commands
(Browser Actions)
2. Targets
(Page Objects)
3. Values
(Menus, Text)
Source View
Script Components
1. Commands
(Browser Actions)
2. Targets
(Page Objects)
3. Values
(Menus, Text)
HTML Table
Script Components
1. Commands
(Browser Actions)
2. Targets
(Page Objects)
3. Values
(Menus, Text)
HTML Table
Script Components
1. Commands
(Browser Actions)
2. Targets
(Page Objects)
3. Values
(Menus, Text)
HTML Table
Script Components
1. Commands
(Browser Actions)
2. Targets
(Page Objects)
3. Values
(Menus, Text)
HTML Table
Script Components
1. Commands
(Browser Actions)
2. Targets
(Page Objects)
3. Values
(Menus, Text)
Command Syntax
| open | http://www.wikipedia.org | |
Command Syntax
| open | http://www.wikipedia.org | |
| type | //div[@id='p-search']/form/fieldset/input | |
Command Syntax
| open | http://www.wikipedia.org | |
| type | //div[@id='p-search']/form/fieldset/input | T |
Command Syntax
| open | http://www.wikipedia.org | |
| type | //div[@id='p-search']/form/fieldset/input | Te |
Command Syntax
| open | http://www.wikipedia.org | |
| open | http://www.wikipedia.org | |
| open | http://www.wikipedia.org | |
| open | http://www.wikipedia.org | |
| clickAndWait | name=go | |
Command Syntax
1 Interface Focus
2 Administrative Automation
3 Full Automation
Interface Focus
Dashboard Housekeeping
| click | id=item-title | |
| click | id=item-date | |
| click | id=item-description | |
| click | id=item-coverage | |
| click | id=item-note | |
Administrative
Automation
Dashboard Databot
10,000+ Objects
| click | css=image[alt=”add”] | |
| setCursorPosition | //div[@id='main']/div/div[2]/div/input | 24 |
Full
Automation
10,000+ Objects
Test
Suite
The last two commands Publish the record & Close the tab.
The next script in the suite runs on the next tab until there
are either no more scripts or no more tabs.
Full
Automation
Selenium Documentation
http://seleniumhq.org/docs/02_selenium_ide.html
Google Groups
Selenium Users & Selenium Developers
http://saucelabs.com/
Useful Firefox Plugins
Firebug: dynamically view page source for debugging
Further Inquiry