Showing posts with label IDE. Show all posts
Showing posts with label IDE. Show all posts

Monday, January 19, 2015

Selenium: Class 1006 - Kapil Sharma

Selenium and IDE Overview:

Selenium is a portable software testing framework for web
applications. Selenium provides a record/playback tool for authoring
tests without learning a test scripting language (Selenium-IDE). 

It also provides a test domain-specific language (Selenese) to write
tests in a number of popular programming languages, including Java,
C#, Groovy, Perl, PHP, Python and Ruby.

The tests can then be run against most modern web browsers. 
Selenium deploys on Windows, Linux, and Macintosh platforms. 
It is open-source software, released under the Apache 2.0 license, and
can be downloaded and used without charge.

Selenium was originally developed by Jason Huggins in 2004 as an
internal tool at ThoughtWorks. 

Huggins was later joined by other programmers and testers
at ThoughtWorks, before Paul Hammant joined the team and steered
the development of the second mode of operation that would later

become 'Selenium Remote Control' (RC).

Installing Selenium IDE:

Selenium IDE is a complete integrated development environment (IDE) for 
Selenium tests. It is implemented as a Firefox Add-On, and allows recording, 
editing, and debugging tests.




Running a Simple Test:

First open the selenium-IDE on Firefox browser than click on “File –
New Test Case - A new Untitled case created - Right click on that TC" 
and select its ‘Properties’ and rename it according to your
requirements.

Under File option enters the ‘URL’ addresses of web page whose UI
testing user wants to do. And click on start (red dot) this is start and

stop function of selenium. And TC executed save the TC in xyz.html.


Quick Tour of Selenium IDE - Simple Features:

Command, Target and Value are the main feature of the selenium IDE.

Selenium Commands Overview:


Saturday, May 31, 2014

Selenium: Class 1005 - Kapil Sharma

Selenium: Class 1005 (Selenium-WebDriver A.K.A Selenium 2.0)

Language: Java, C#, Ruby, Python, JavaScript.

Client Version: 2.42

Java based Selenium Web Driver: Url: http://selenium.googlecode.com/git/docs/api/java/index.html

The Selenium Web driver JAR file size user needs to download is 23.6 MB. 

And after download this external .jar they need to add them in Eclipse IDE external JAR location.

Its same as adding Android SDK or any other external libraries in the eclipse ide. Don't worry if you don't know how to add external .jar files in ide. 

I will soon share a CBT on youtube channel, so follow the same and you are able to do it in quick time :) 

Here is the screen-shot of extracted / unzipped selenium web driver .jar. 






Tuesday, March 18, 2014

Selenium: Class 1003 - Kapil Sharma


In this class we learn how to use Selenium IDE.

I shared the very basic test steps how to record user actions on this tool. 


Follow the 1-6 steps in-printed on the screen-shot, so that any one easily use this test automation tool. 


Monday, February 24, 2014

Selenium: Class 1001 - Kapil Sharma

What is Selenium?
It's a open source test automation tool, used by many IT-MNC through out the globe for auto-QA.

From where to get it or download from?

Go to the shared site. And select 'Selenium IDE'. Make sure you are using Firefox Mozilla internet browser.
http://docs.seleniumhq.org/download/

Which version we should download?

Latest stable release is version 2.5.0, release on 01/01/2014

Where to proceed after installing the Selenium IDE tool. 
Start with the documentation section and read some basic information about this tool.

Step-By-Step: Screen-shots: 














Sunday, December 09, 2012

Java’s Unit Testing Framework basic layout in Eclipse IDE



  1.) Create the class that you will want to test.
        For example: Class name = Bug

  2.) Build the test class - with the needed imports and extensions for   
        JUnit.

   2.1) We extend from junit.framework.TestCase.
   2.2)We name the test methods with the prefix “test”.

  3.) Code the actual test cases.
   3.1) We validate conditions using one of the several assert methods.
   
   import junit.framework.*; //JUnit compulsory component added)//
   
   public class TestFailure extends TestCase 

  {

   public void testSquareRootException() 
  {
   try 
  {
  SquareRoot.sqrt(-4, 1);
  fail("Should raise an exception");
  }
  catch (Exception success) { … }
  }

Navigating Portfolio Management Services (PMS): Evaluation, Strategy, and Return Dynamics.

  What is Portfolio Management Services (PMS)? Portfolio Management Services (PMS) are customized, professional investment solutions designe...