Selenium

TestNG – Test Automation with Selenium

by seetaram on January 15, 2012

TestNG framework can be used for automation testing with Selenium (web application automation testing tool). Then, definitely a question will popup in our mind “why this framework is needed?” Is it possible to execute Selenium tests without frameworks like JUnit or TestNG. Answer is “Yes”, it is possible to execute Selenium tests without using these […]

{ 29 comments }

Annotation: Annotation defines a type and it can be applied to several Java elements such as Java methods, classes, etc.  Annotation adds meta-data facility to Java elements.  Some examples of Java built-in annotations are: @Override @Deprecated @SuppressWarnings Each annotation will instruct the compiler to do something. For example, @Override tells the compiler to check whether […]

{ 11 comments }

Setting up TestNG with Eclipse

by seetaram on January 9, 2012

This post will explain about installation of TestNG plug-in with Eclipse (Indigo) There is no need to download any Jar file or exe file for installation.  We need to just utilize the “Install New Software” option available in the Eclipse. Steps for installation: 1. Click Help –> Install New Software 2. Type “http://beust.com/eclipse” in the […]

{ 55 comments }

TestNG – Next Generation Testing Framework

by seetaram on January 8, 2012

TestNG is a testing framework that is used for unit testing and also with Selenium for Test Automation. What is the need for a testing framework? How it facilitates unit / automated UI testing? What are the functionalities that a framework like JUnit / TestNG provides? If I am new to Selenium, TestNG / JUnit, […]

{ 0 comments }

Selenium – Access Database using JDBC

by seetaram on November 26, 2011

There might be some test scenarios in which the Application Under Test (AUT) will be sending SMS to a mobile.  Then, how do you validate whether the SMS sent or not? In some other test scenario such as “Forgot Password”, the password that is newly generated might have sent to user’s email address. In both […]

{ 3 comments }

Learn Selenium – Some useful tips

by seetaram on September 23, 2011

Selenium is a Test Automation tool for Web Applications. Unlike QTP, TestComplete, or any other market leading commercial automation tools Selenium does not have a good IDE (Integrated Development Environment) for development of automation scripts. Unless having a good knowledge of a programming language such as Java or C#, it is very difficult to understand […]

{ 10 comments }

In Software Testing we need to verify the output of test case against a predefined set of Test Data. Selenium provides various Selenese commands to achieve this.  Let us try to explore some of the situations we come across in Test Automation. Verify whether an object is visible (such as a button, link, etc) Verify […]

{ 15 comments }

Selenium – Creating XML Reports

by seetaram on July 7, 2011

XML is the abbreviation for Extensible Markup Language.  XML is used in many aspects of software development, data storage, to communicate between different applications, data sharing, etc.  In Test Automation if the reports are generated in XML format that can be utilized to generate customized HTML reports and also can be imported into Spreadsheet like […]

{ 0 comments }

If you think about Test Automation, what are the basic actions comes into mind? Clicking on a button, selecting some value from a dropdown, typing in some value into an edit box, clicking on a link, checking a checkbox, clicking on a radio button. Below are some of the actions we can list: Click Select […]

{ 4 comments }

Selenium identifies the objects on a web page by its HTML properties such as id, name, and xpath.  To understand this, open a browser and navigate to some web site and then click on View – > Page Source.  Below picture shows how the page source looks: Here, I have taken the example of “www.sqaforums.com” […]

{ 13 comments }

  • Page 1 of 4
  • 1
  • 2
  • 3
  • 4

Do you want to get updates on the recent articles written? Please subscribe to RSS feed or Email