📒
Jalenium
  • Jalenium - Selenium Java Made Easy
  • Quick Start
  • Jalenium Commands - Initializing the browser
  • Jalenium Commands - Go to a web URL
  • Jalenium Commands - Click on element
  • Jalenium Commands - Intelligent Click
  • Jalenium Commands - Pseudo Click
  • Jalenium Commands - Type
  • Jalenium Commands - Intelligent Type
  • Jalenium Commands - Forward Navigation
  • Jalenium Commands - Back Navigation
  • Jalenium Commands - Refresh
  • Jalenium Commands - Close Browser
  • Jalenium Commands - Select Drop Down
  • Jalenium Commands - Get Text
  • Jalenium Commands - Take Screenshot
  • Jalenium Commands Take Page Screen Shot
  • Jalenium Commands - Take Element Screen Shot
  • Jalenium - Drag and Drop
  • Jalenium - Get Pseudo Element Syles
  • Jalenium Commands - Scroll to page end
  • Jalenium Commands - Scroll to the top
  • Jalenium Commands - Scroll to the element
  • Jalenium Commands - Wait For Element Present
Powered by GitBook
On this page

Was this helpful?

Quick Start

The following process shows how we can quick start automation with Jalenium

PreviousJalenium - Selenium Java Made EasyNextJalenium Commands - Initializing the browser

Last updated 5 years ago

Was this helpful?

  1. Downloading Jalenium API from the following sourceforge site.

  2. Add the Jalenium JAR file to your Maven Selenium Java project via Build path -> Libraries

3. Create a Java class and add a TestNG test method to the class.

4. Add the following test which is sample test scenario for logging into demo bank application of Guru 99.

@Test

	public void testLogin() throws InterruptedException
	{
	    new Jalenium();
	    
	    Jalenium.Go( "http://demo.guru99.com/V4/");
	    Jalenium.InteligentType("uid", "mngr257744");
	    Jalenium.InteligentType("password", "dezanEb");
	    Jalenium.InteligentClick("LOGIN");
      Jalenium.AssertElementText("xpath=//tr[@class='heading3']/td", "Manger Id : mngr257744");
	    Jalenium.CloseBrowser();
	}
	

5. Run the test as a TestNG test and you will notice that Jalenium API calls will perform the login in scenario.

Integrating Jalenium JAR to the Selenium Automation Project