Thursday, 31 October 2013
Selenium-RC
Selenium-RC
is the solution for tests that need more than simple browser actions
and linear
execution.
Selenium-RC
uses the full power of programming languages to create more complex
tests like
reading
and writing files, querying a database, emailing test results.
You can use Selenium-RC whenever your test requires logic not
supported by Selenium-
IDE.
What
logic could this be? For example, Selenium-IDE does not directly
support:
• condition
statements
• iteration
• logging
and reporting of test results
• error
handling, particularly unexpected errors
• database
testing
• test
case grouping
• re-execution
of failed tests
• test
case dependency
• screenshot
capture of test failures
Although
these tasks are not supported by Selenium directly, all of them can
be achieved by
using
programming techniques with a language-specific Selenium-RC client
library.
Platforms
Supported by Selenium RC
• Browsers
– Firefox,
IE, Safari and Opera etc..
• Operating
Systems
– Windows,
OS X, Linux, and Solaris
• Programming
Languages
– C#,
Java, Perl, PHP, Python, and Ruby
• Testing
Frameworks
– Bromine,
JUnit & TenstNG (Java), NUnit (.Net), RSpec & Test:Unit
(Ruby), Unittest (Python)
Selenium IDE
Selenium Integrated Development Environment (IDE) is the simplest framework in the Selenium suite and is the easiest one to learn. It is a Firefox plugin that you can install as easily as you can with other plugins. However, because of its simplicity, Selenium IDE should only be used as a prototyping tool. If you want to create more advanced test cases, you will need to use either Selenium RC or WebDriver.
Selenium Integrated Development Environment (IDE) is the simplest framework in the Selenium suite and is the easiest one to learn. It is a Firefox plugin
that you can install as easily as you can with other plugins. However,
because of its simplicity, Selenium IDE should only be used as a prototyping tool. If you want to create more advanced test cases, you will need to use either Selenium RC or WebDriver.
Read more at http://www.guru99.com/introduction-to-selenium.html#708KkSqlp86jVwYr.99
Read more at http://www.guru99.com/introduction-to-selenium.html#708KkSqlp86jVwYr.99
Selenium Integrated Development Environment (IDE) is the simplest framework in the Selenium suite and is the easiest one to learn. It is a Firefox plugin
that you can install as easily as you can with other plugins. However,
because of its simplicity, Selenium IDE should only be used as a prototyping tool. If you want to create more advanced test cases, you will need to use either Selenium RC or WebDriver.
Read more at http://www.guru99.com/introduction-to-selenium.html#708KkSqlp86jVwYr.99
Read more at http://www.guru99.com/introduction-to-selenium.html#708KkSqlp86jVwYr.99
Selenium Integrated Development Environment (IDE) is the simplest framework in the Selenium suite and is the easiest one to learn. It is a Firefox plugin
that you can install as easily as you can with other plugins. However,
because of its simplicity, Selenium IDE should only be used as a prototyping tool. If you want to create more advanced test cases, you will need to use either Selenium RC or WebDriver.
Read more at http://www.guru99.com/introduction-to-selenium.html#708KkSqlp86jVwYr.99
Read more at http://www.guru99.com/introduction-to-selenium.html#708KkSqlp86jVwYr.99
Selenium Integrated Development Environment (IDE) is the simplest framework in the Selenium suite and is the easiest one to learn. It is a Firefox plugin
that you can install as easily as you can with other plugins. However,
because of its simplicity, Selenium IDE should only be used as a prototyping tool. If you want to create more advanced test cases, you will need to use either Selenium RC or WebDriver.
Read more at http://www.guru99.com/introduction-to-selenium.html#708KkSqlp86jVwYr.99
Read more at http://www.guru99.com/introduction-to-selenium.html#708KkSqlp86jVwYr.99
Selenium Integrated Development Environment (IDE) is the simplest framework in the Selenium suite and is the easiest one to learn. It is a Firefox plugin
that you can install as easily as you can with other plugins. However,
because of its simplicity, Selenium IDE should only be used as a prototyping tool. If you want to create more advanced test cases, you will need to use either Selenium RC or WebDriver.
Read more at http://www.guru99.com/introduction-to-selenium.html#708KkSqlp86jVwYr.99
Read more at http://www.guru99.com/introduction-to-selenium.html#708KkSqlp86jVwYr.99
Selenium Integrated Development Environment (IDE) is the simplest framework in the Selenium suite and is the easiest one to learn. It is a Firefox plugin
that you can install as easily as you can with other plugins. However,
because of its simplicity, Selenium IDE should only be used as a prototyping tool. If you want to create more advanced test cases, you will need to use either Selenium RC or WebDriver.
Read more at http://www.guru99.com/introduction-to-selenium.html#708KkSqlp86jVwYr.99
Read more at http://www.guru99.com/introduction-to-selenium.html#708KkSqlp86jVwYr.99
Selenium Integrated Development Environment (IDE) is the simplest framework in the Selenium suite and is the easiest one to learn. It is a Firefox plugin
that you can install as easily as you can with other plugins. However,
because of its simplicity, Selenium IDE should only be used as a prototyping tool. If you want to create more advanced test cases, you will need to use either Selenium RC or WebDriver.
Read more at http://www.guru99.com/introduction-to-selenium.html#708KkSqlp86jVwYr.99
Read more at http://www.guru99.com/introduction-to-selenium.html#708KkSqlp86jVwYr.99
Selenium
Selenium
is a web application test automation tool which provides many
features and a wide
range
of support which makes it an instant choice for automating most of
the web applications.
Selenium
provides the automation engineer the choice of running the automation
scripts in a
wide
range of browsers and with the language support it has, on wide range
of operating systems too.
But
there are certain things the automation engineer needs to be aware of
before he jumps into understanding
selenium. The automation engineer needs to have a basic knowledge of
the following
things:
1.
HTML
2.
XML
3.
Xpath
4.
Document Object Model(DOM)
5.
JavaScript (only a basic knowledge on how events are triggered etc.)
6.
Any one of the following language to build a full-fledged test suite
– Perl, Python, Ruby,
Java,
C#, PHP.
7.
Basic object oriented programming concepts.
History
of Selenium
• In
2004 invented by Jason R. Huggins and team.
• Original
name is JavaScript Functional Tester [JSFT]
• Open
source browser based integration test framework built originally by
Thoughtworks.
• 100%
JavaScript and HTML
• Web
testing tool
• That
supports testing Web 2.0 applications
• Supports
for Cross-Browser Testing(ON Multiple Browsers)
• And
multiple Operating Systems
• Cross
browser – IE 6/7, Firefox .8+, Opera, Safari 2.0+
Wednesday, 30 October 2013
To Automate or Not to Automate? That is the Question!
Is automation always advantageous? When should one decide to automate test cases?
It is not always advantageous to automate test cases. There are times when manual testing may be more appropriate. For instance, if the application’s user interface will change considerably in the near future, then any automation would need to be rewritten. Also, sometimes there simply is not enough time to build test automation. For the short term, manual testing may be more effective. If an application has a very tight deadline, there is currently no test automation available, and it’s imperative that the testing get done within that time frame, then manual testing is the best solution.
However, automation has specific advantages for improving the long-term efficiency of a software team’s testing processes. Test automation supports:
• Frequent regression testing
• Rapid feedback to developers during the development process
• Virtually unlimited iterations of test case execution
• Customized reporting of application defects
• Support for Agile and extreme development methodologies
• Disciplined documentation of test cases
• Finding defects missed by manual testing
It is not always advantageous to automate test cases. There are times when manual testing may be more appropriate. For instance, if the application’s user interface will change considerably in the near future, then any automation would need to be rewritten. Also, sometimes there simply is not enough time to build test automation. For the short term, manual testing may be more effective. If an application has a very tight deadline, there is currently no test automation available, and it’s imperative that the testing get done within that time frame, then manual testing is the best solution.
However, automation has specific advantages for improving the long-term efficiency of a software team’s testing processes. Test automation supports:
• Frequent regression testing
• Rapid feedback to developers during the development process
• Virtually unlimited iterations of test case execution
• Customized reporting of application defects
• Support for Agile and extreme development methodologies
• Disciplined documentation of test cases
• Finding defects missed by manual testing
Subscribe to:
Posts (Atom)