Intro To Selenium

9
Selenium Architecture Manish Chakravarty ThoughtWorks Studios 23/05/09 © ThoughtWorks 2009

description

A slideshow about the selenium architecture

Transcript of Intro To Selenium

Page 1: Intro To Selenium

Selenium Architecture

Manish ChakravartyThoughtWorks Studios

23/05/09

© ThoughtWorks 2009

Page 2: Intro To Selenium

Introduction to Selenium Architecture

© ThoughtWorks 2009

Page 3: Intro To Selenium

Selenium Core <-> Selenium Server

© ThoughtWorks 2009

- Preparation of FF and IE for testing

- Selenium uses AJAX to pull command from Selenium Server

Page 4: Intro To Selenium

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”

Page 5: Intro To Selenium

Modes

- “pifirefox”

- “piexplore”

- “iehta”

- “chrome”

© ThoughtWorks 2008

Page 6: Intro To Selenium

Proxy Injection Mode

© ThoughtWorks 2009

Server

Core(JS)

Web Browser

Web Server

ProxyServer

Page 7: Intro To Selenium

Proxy Injection Mode

© ThoughtWorks 2009

Page 8: Intro To Selenium

Limitations and Other Alternatives

© ThoughtWorks 2009

- Slow

- Restriction on parameters being passed

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

Page 9: Intro To Selenium

Thanks!

Q&A

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

© ThoughtWorks 2008