Archive | June, 2012

Hold a small tutorial group to learn Selenium

21 Jun

Hello everyone,

I am beginner in investigating about Selenium, so I’d like to hold a small group with everyone who likes to investigate Selenium like me or who had already experience with Selenium and want to share your knowledge. If you are interested in, please register by commenting in here or sending email to me mycollection.online@yahoo.com with information as below
– Your name
– Your email
– Your experience about Selenium
– How many hours can you spend to investigate about Selenium per a week?

What you can get after we finish this investigation,
1. Learn how to work with a team and learn by yourself
2. Learn how to make presentation, write guideline in English
3. Get knowledge about Selenium in short time
4. Have new friends around the world

Let’s join together ^^

I expect our project will start from the beginning of July 2012 and ending about Nov 2012 depends on the number of registered persons. I will share detail plan after receiving your registration. Hope that we can cooperate to share knowledge about Selenium together.

Learn to share and share to know more ^^
12

Advertisements

How to write effective GUI test automation code using Selenium and Java

12 Jun

Just searching on Internet and got this document. In this presentation, you can get some useful information about how to write effective GUI test automation code using Selenium and Java

1. Introduction: What’s Selenium
2. What we achieved
3. 7 good practices using Capture Replay Tools

– GUI element repository.

– Division of data and script.
– Model the test objects.
– Establish standard functions and methods using “speaking” names.
– Central management of environment information.
– Divide common from project specific stuff. Use layering.
– Generate a useful test report
4. What’s missing in Selenium and how we closed the gap
5. Forecast

You can download in link

20 ebooks help you to improve your English skill

10 Jun

1. Dictionary Cambridge English Grammar – Check Your Vocabulary for IELTS
2. Advanced English C A E Grammar Practice
3. American Accent Training
4. Basic English Usage-Oxford
5. Cambridge – English Vocabulary in Use – Elementary
6. Cambridge – English Vocabulary in Use – Pre-int Int
7. Cambridge – English Vocabulary in Use – Upp Adv
8. English Grammar–OUP–The Oxford Guide to English Usage
9. Essential Grammar in Use Supplementary Exercises
10. Ins and Outs of Prepositions
11. Jossey-Bass – English Brainstormers
12. L. Rozakis–English Grammar for the Utterly Confused
13. Longman English Grammar Practice Intermediate Self Study Edition
14. New Grammar Practice pre-int with key
15. NTC’s American Idioms Dictionary
16. Phrasal Verb
17. Speak English LAA 1
18. The A-Z of Correct English Common Errors in English
19. WEBSTER Essential vocabulary
20. Word Formation In English
Link download in here part1, part2

Source: e-thuvien.com

[Slide] Tutorial document about advanced Selenium

9 Jun

What This Session Covers
1. Selenium’s scope
2. TestRunner techniques
3. Remote Control
4. Ajax
5. IDE
6. Extensions
7. Best practices

This document is so useful if you want to learn detail about Selenium.

Source from http://therichwebexperience.com
You can download in link

Solve problem computer is hang when starting Firefox

8 Jun

I had this problem after updating Firefox from last year, I tried many various ways such as scanning virus, removing and setup a new version of Firefox but everything is not successful.

Today I need to run Selenium IDE on Firefox, I am going to remove and setup Windows but just searching from Internet and saw a good solution from Firefox support. I am happy now because my Firefox can start well.

I use Windows XP, so this is solution I used

Configure Windows Firewall to allow Firefox access to the Internet

Windows provides a built-in firewall, which controls how programs access the Internet. If Windows Firewall doesn’t permit Firefox to make connections, Firefox generates a “Server not found” error when you try to browse to websites.

 Windows XP
Checking for Windows XP Firewall

To see if you’re running Windows Firewall:
1. Click on the Windows Start button, and select Control Panel. The Control panel window will appear.
2. Click on the Security Center link. The Security Center will appear.
3. If the Firewall header says ON, you are running Windows Firewall.
Configuring Windows XP Firewall

If you’re running Windows Firewall and having connection problems in Firefox:
1. Click on the Windows Start button, and select Control Panel. The Control panel window will appear.
2. Click on the Security Center link. The Security Center will appear.
3. If the Firewall header says ON, you are running Windows Firewall.
4. Ensure that Don’t allow exceptions is not selected.
5. Click to select the Exceptions tab.
6. Find Mozilla Firefox (or firefox.exe) in the list of programs. If it is there, click to select it. If not, skip the next step.
7. With Mozilla Firefox selected, click the Delete button. Confirm that you want to delete the entry.
8. Click the Add Program… button.
9. In the Add a Program window, click the Browse… button.
10. Navigate to the Firefox program directory (e.g. C:\Program Files\Mozilla Firefox\) and double-click on firefox.exe.
11. Click the OK button to close the Add a Program window.
12. Click the OK button to close the Windows Firewall Settings window.

 

If you are using another version OS, please refer to this link

Have fun with your Firefox ^^

[Slide] Automated Web Testing with Selenium for beginners

6 Jun

You can find useful information for this presentation.

1. What is Selenium?

– Test tool for web applications
– Runs in any mainstream browser
– Supports tests in many languages
– Selenese (pure HTML, no backend required)
– Java, C#, Perl, Python, Ruby
– Record/playback (Selenium IDE)
– Open Source with corporate backing
– Lives at selenium.openqa.org

2. Demo

– Record a test in Selenium IDE
– Show same test written in Java

You can download in link

Source from Erik Doernenburg, ThoughtWorks

List of ebooks about selenium you should read

5 Jun

1. Selenium 1.0 Testing Tools: Beginners Guide

The Selenium Testing Tools Beginner’s guide shows developers and testers how to create automated tests using a browser. You’ll be able to create tests using Selenium IDE, Selenium Remote Control and Selenium 2 as well. A chapter is completely dedicated to Selenium 2. We will then see how our tests use element locators such as css, xpath, DOM to find elements on the page.

Once all the tests have been created we will have a look at how we can speed up the execution of our tests using Selenium Grid.

A beginner’s guide to writing Selenium tests using different aspects of the Framework to give you confidence in your web application

Test your web applications with multiple browsers using the Selenium Framework to ensure the quality of web applications

2.  The 2nd edition of “Selenium Simplified

“Selenium Simplified” takes you through the process of installing and learning to use all the basic tools needed to write automated tests using Java as the programming language. Written in a tutorial style, this book helps you learn to code even if you haven’t programmed before. No time is wasted on the theory of automation or padding about the tools. This book focuses on the practical knowledge needed to automate tests for production systems.After reading this book you will be able to: -Write tests in Java – even if you haven’t coded before reading this book-Install and maintain all the free development and testing tools covered within: Eclipse, JUnit, Selenium, Hudson, Subversion, Xpather, Selenium-IDE-Write automated tests scripts using Java and Selenium-RC-Create abstraction layers to make your automated tests maintainable and readable-Run your automated tests under continuous integration-Use multiple browsers to execute your tests-Understand the most utilised commands in the Selenium API-Test Ajax based web applications-Use Xpath and CSS Selectors in your tests-Understand how to optimise and refactor your tests-Use JUnit for data driven testing.

3. Java Power Tools

All true craftsmen need the best tools to do their finest work, and programmers are no different. Java Power Tools delivers 30 open source tools designed to improve the development practices of Java developers in any size team or organization. Each chapter includes a series of short articles about one particular tool — whether it’s for build systems, version control, or other aspects of the development process — giving you the equivalent of 30 short reference books in one package. No matter which development method your team chooses, whether it’s Agile, RUP, XP, SCRUM, or one of many others available, Java Power Tools provides practical techniques and tools to help you optimize the process. The book discusses key Java development problem areas and best practices, and focuses on open source tools that can help increase productivity in each area of the development cycle, including: Build tools including Ant and Maven 2 Version control tools such as CVS and Subversion, the two most prominent open source tools Quality metrics tools that measure different aspects of code quality, including CheckStyle, PMD, FindBugs and Jupiter Technical documentation tools that can help you generate good technical documentation without spending too much effort writing and maintaining it Unit Testing tools including JUnit 4, TestNG, and the open source coverage tool Cobertura Integration, Load and Performance Testing to integrate performance tests into unit tests, load-test your application, and automatically test web services, Swing interfaces and web interfaces Issue management tools including Bugzilla and Trac Continuous Integration tools such as Continuum, Cruise Control, LuntBuild and Hudson If you area Java developer, these tools can help improve your development practices, and make your life easier in the process. Lead developers, software architects and people interested in the wider picture will be able to gather from these pages some useful ideas about improving your project infrastructure and best practices.

 

 

 

[Selenium] The Magic of Testing – Presentation

5 Jun

This presentation includes

1. What is Selenium
2. Why Selenium
3. Testing using record/playback and scripting tool
4. Selenium Grid
5. Benefits
6. The Problem
7. Conclusion

Source: http://www.uet.edu.pk/

Download in link

How to setup and run Java Test tool (junit, emma) for beginners

5 Jun

Searching on Internet and find a useful slide for beginners with Java Test Tool

JUnit is a testing harness for unit test

Emma is a code coverage tool

You can find how to setup and run these test tool in this slide.

It is simple and easy to apply. Enjoy it by yourself

You can download in link

Download Selenium Tutorial Document for Beginner

4 Jun

This document includes below

1 Note to the Reader–Docs Being Revised for Selenium 2.0! 3
2 Introduction
3 Selenium-IDE
4 SeleniumWebDriver
5 WebDriver: Advanced Usage
6 Selenium 1 (Selenium RC)
7 Test Design Considerations
8 Selenium-Grid
9 User-Extensions
10 SeleniumWebDriver Cheat Sheet
11 How to Install the Android Driver 139
12 .NET client driver configuration 141
13 Importing Sel2.0 Project into Eclipse using Maven 145
14 Importing Sel2.0 Project into IntelliJ Using Maven 147
15 Selenium 1.0 Java Client Driver Configuration
16 Python Client Driver Configuration 179
17 Locating Techniques
18 Migrating From Selenium RC to SeleniumWebDriver 185

You can download in here