Quick Start
The following process shows how we can quick start automation with Jalenium
Downloading Jalenium API from the following sourceforge site.
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.
Last updated
Was this helpful?