Intro To Selenium

Post on 25-May-2015

704 views 1 download

description

A slideshow about the selenium architecture

Transcript of Intro To Selenium

Selenium Architecture

Manish ChakravartyThoughtWorks Studios

23/05/09

© ThoughtWorks 2009

Introduction to Selenium Architecture

© ThoughtWorks 2009

Selenium Core <-> Selenium Server

© ThoughtWorks 2009

- Preparation of FF and IE for testing

- Selenium uses AJAX to pull command from Selenium Server

Selenium Server <-> Selenium Driver

© ThoughtWorks 2009

- Communication over HTTP

- Commands are posted to /selenium-server/driver

- The posted command has to agree – “do”, “is”, “get”

Modes

- “pifirefox”

- “piexplore”

- “iehta”

- “chrome”

© ThoughtWorks 2008

Proxy Injection Mode

© ThoughtWorks 2009

Server

Core(JS)

Web Browser

Web Server

ProxyServer

Proxy Injection Mode

© ThoughtWorks 2009

Limitations and Other Alternatives

© ThoughtWorks 2009

- Slow

- Restriction on parameters being passed

- Not easily extendable - You can writer your own use extensions though

Thanks!

Q&A

http://groups.google.com/group/indian-selenium-users-group

© ThoughtWorks 2008