Selenium With TESTNG and Eclipse IDE

Please download to get full document.

View again

of 19
30 views
PDF
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Document Description
Selenium Automation set up with TestNG and Eclipse- A Beginners Guide Authors: Eevuri Sri Harsha, Ranjani Sivagnanam Sri Harsha is working as an Associate Software Engineer (QA) for IBM Policy Atlas team under ECM. Reach out to her at eeharsha@in.ibm.com Ranjani, is working as a Staff Software Engineer (QA) for IBM Policy Atlas team under ECM. Reach out to her at ranjani.sivagnanam@in.ibm.com Abstract: This article is a guide for the beginners when they use Selenium, Testing and Eclipse IDE for
Document Share
Documents Related
Document Tags
Document Transcript
   Selenium with TESTNG and eclipse IDE- Automation Beginner’s guide   Selenium Automation set up with TestNG and Eclipse- A Beginners Guide Authors: Eevuri Sri Harsha, Ranjani Sivagnanam Sri Harsha is working as an Associate Software Engineer (QA) for IBM Policy Atlas team under ECM. Reach out to her at eeharsha@in.ibm.com  Ranjani, is working as a Staff Software Engineer (QA) for IBM Policy Atlas team under ECM. Reach out to her at ranjani.sivagnanam@in.ibm.com  Abstract:   This article is a guide for the beginners when they use Selenium, Testing and Eclipse IDE for automation testing     Selenium with TESTNG and eclipse IDE- Automation Beginner’s guide   1.   Introduction Selenium IDE/Web driver has becoming a very popular testing tool as it is an open source. This is a GUI Automation tool. This is a beginner’s guide to i nstall and use Selenium with Testing and Eclipse IDE. This gives a step by step installation guide to Kick-start an Automation journey. This document will describe one of the ways of setting up the environment automating Web Applications. Described here will be a sample test script, object repository build up using XPath or CSS, reporting configuration for the test run. 1.1 Install Firefox in Windows:   1.   Visit the Firefox download page in any browser (e.g. Microsoft Internet Explorer). The page will automatically recommend the best version(s) of Firefox for you. 2.   Firefox Download Page - Windows-> Download 32-bit-Firefox Setup 3.6.0.exe 3.   Click on the green download link to download the Firefox installer. Start the process by clicking Run. 4.   Install Firefox 3.6 by a double click on Firefox icon -> click on next buttons, install button, Launch Firefox by click on finish button. 5.   See the below screens to follow up. Figure 1   Selenium with TESTNG and eclipse IDE- Automation Beginner’s guide   Figure 2 1.2 Install DOM Inspector: 1.   Open Firefox 3.6 and go to Tools -> Add ons. 2.   In Search tab give DOM Inspector: click on install the latest version. 3.   Go to Tools-> Add ons -> Search -> give Inspect this as search term ad click on install the latest version. 4.   See the below screens to follow up. Figure 3   Selenium with TESTNG and eclipse IDE- Automation Beginner’s guide   Figure 4   1.3 Install JDK 1.7: 1.   Download Windows JDK 1.7 from http://www.oracle.com/technetwork/java/javase/downloads/index.html 2.   Install JDK 1.7 2. Selenium Introduction : The Selenium-IDE (Integrated Development Environment) is the tool you use to develop your Selenium test cases. It’s an easy -to-use Firefox plug-in and is generally the most efficient way to develop test cases. It also contains a context menu that allows you to first select a UI element from the browser’s currently displayed page and then select from a list of Selenium commands with parameters pre-defined according to the context of the selected UI element. This is not only a time-saver, but also an excellent way of learning Selenium script syntax. 2.1 Install Selenium IDE: 1.   Open Firefox 3.6 and goto Tools -> ADD ONS. 2.   In Search tab give Selenium IDE : click on install the latest version. 3.   After install Selenium IDE -> Go to Tools-> Add Ons-> Extensions sub tab -> Selenium IDE . 4.   Click on options in Selenium IDE. 5.   Identify below tabs to work on Different platform Environments and to see default settings
Search Related
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks
SAVE OUR EARTH

We need your sign to support Project to invent "SMART AND CONTROLLABLE REFLECTIVE BALLOONS" to cover the Sun and Save Our Earth.

More details...

Sign Now!

We are very appreciated for your Prompt Action!

x