Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

Vietnam National University, Hanoi University of Engineering and Technology

Proposal
Web HTML5 testing with Selenium

Student: Partners:

Do Duc Binh Nguyen Ly Nam Do Vu Tuan

I. Introduction:
- The main purpose is creating or modifying a tool that support for test automatically websites that based on HTML5. - Selenium is open source and it is a set of different software tools that supporting test automation. - Modifying Selenium to suitable for test automation Web HTML5 is a way to complete the thesis.

II. Problems:
1. Software tools in Selenium: Selenium Grid. Selenium IDE Selenium 1 Selenium 2 2. Test Design Considerations: - The purpose to read this path is overview about type of test, location strategies that are used in Selenium. Focus on how it works after research about components in Selenium 1 and Selenium 2. Type of tests: - Testing static content - Testing links - Function tests - Testing dynamic elements - Ajax test Location strategies: - Choosing a location strategy: + The elements ID + The elements name attribute + An XPath statement + By a links text + Document Object Model (DOM) - Locating Dynamic Elements: + The document shows some example by command or functions in Selenium but I can understand clearly because I do not demo them. - Location Ajax Elements

UI mapping Stores all the locators for a test suite in one place for easy modification when identifier or paths to UI elements change in the AUT?? 3. How Selenium-Grid works? - In Selenium Grid, we have 2 important components that are: Selenium Hub and Selenium Remote Control. - In general, Selenium Tests are sent to Selenium Hub. Selenium Remote Control registers itself to Hub and as soon as a suitable Selenium Remote Control available, the Hub will serve the request. The Selenium Remote Control affects to the Browsers and we have web application under test.

The issues: - How Selenium Hub and Selenium Remote Control work exactly? - Writing Selenium by Java, what can TestNG and JUnit help? 4. How Selenium RC works? - Selenium RC has 2 components: + The Selenium Server: launches and kills browsers, interprets and runs the Selenese commands passed from the test program, and acts as an HTTP proxy, intercepting and verifying HTTP messages passed between the browsers and the AUT + Client libraries: provide the interface between each programming language and the Selenium RC Server.

5.

6.

7.

8.

Issues: - Focus on details of installation and how to use Selenium RC? Selenium 2.0 and WebDriver: - How to set up a Selenium WebDriver Project in different programming languages? - What is WebDriver Drivers? - Commands and Operation in Selenium 2.0? - What is WebDriver Backed Selenium RC? How to use Selenium IDE: - The details of command? - Executing Selenium IDE abilities. Modify Selenium 2.0 to test automatically with HTML5 - Focus on Selenium 2.0 WebDriver and details type of tests, location strategies. - Research the differences between HTML5 structure and older versions. Modify Selenium 2.0 to test HTML5 Research about the limitation of Remote Control Server and find the way to resolve this problem.

III. Detail the work with deadlines:


Deadline 22 2 2012 29 2 2012 5 3 2012 Content Understand how Selenium Grid works and type of tests, location strategies that are used in Selenium. Research in general about JUnit and TestNG Understand how Selenium 1 works and its details, components.

17 3 2012 24 3 2012 14 4 - 2012 29 4 2012 18 5 2012

Understand about Selenium 2 and difference about Selenium 1 and Selenium 2 Use components and check result of Selenium IDE Modify Selenium 2 to test automatically HTML5 Modify and resolve limitation problem in Remote Control Server Complete program and write thesis report.

You might also like