Category Selenium
Home

Selenium

30 Apr

MavenPlugin Download

Step-1 Open Google Search for Maven Plugin Eclipse Click on link “Eclipse.org/m2e/” Step-2 Copy Below Links from M2Eclicpse page “http://download.eclipse.org/technology/m2e/release” Step-3 Open Eclipse —-Goto Help menu Select “Install New Software” Step-4 Paste the copied url in the text box “work with” Click on add button Step-5 Enter a name in the ”Add Repository” window that […]

READ MORE
30 Apr

Maven Intorduction

Apache Maven Is Powerful Java project management and build management tool. That means we can manage java project builds very easily using maven. Maven can helps you to minimize your project and build management time and efforts. Why To Use Maven In Selenium Project? As Maven Is build management tool, It will helps you to […]

READ MORE
30 Apr

DOWNLOAD Apachi POI

Apache provides a library POI using which read and write of an excel can be performed in Selenium WebDriver. Using it the read and write operation of both xls and xlsx file formats can be done. So first you need to download the Apache POI and configure it (jar files) in your eclipse. Implement the […]

READ MORE
30 Apr

Apache POI Intorduction

Apache POI is a popular API that allows programmers to create, modify, and display MS Office files using Java programs. It is an open source library developed and distributed by Apache Software Foundation to design or modify Microsoft Office files using Java program. It contains classes and methods to decode the user input data or […]

READ MORE
30 Apr

TestNg Installation

Installing TestNG in Eclipse —————————————– • Launch Eclipse. • On the menu bar, click Help. • Choose the “Install New Software…” option. Step-1 :- Step-2 :- • Open Google • Search for “Download TestNG” • Click On the Link Step-3 :- Copy the selected url part (should not even include the space or dot) – […]

READ MORE
30 Apr

TestNG Intorduction

TestNG(Next Generation) is an open source testing framework written in Java and inspired from JUnit and NUnit, it is not only inherited existing functionality from Junit as well as introducing some new innovative functionality that make it powerful, easy to use, reliable, maintainable and testable codes. .TestNG means Next Generation. TestNG is similar to JUnit but it is much more powerful […]

READ MORE
30 Apr

Perform Operations on WebElements

      Perform Operations on WebElements  click() Purpose: This is used to click on webelements like link,button,radio group,checkbox,images…etc. sendKeys() Purpose: This is used to sending inputs into text fields and text areas.And also used to select value from the drop down box. clear() Purpose: This is used to clear the input from existing data. getText() Purpose: This is used […]

READ MORE
30 Apr

Webdriver Methods

get() Purpose: Its Opens Specified Url in the Browser Window //Launch Browser System.setProperty(“webdriver.chrome.driver”,”D:\\Onlineqaclasses\\chromedriver_win32\\chromedriver.exe”); //ChromeDriver driver=new ChromeDriver(); System.setProperty(“webdriver.ie.driver”,”D:\\Onlineqaclasses\\IEDriverServer_Win32_2.53.0\\IEDriverServer.exe”); InternetExplorerDriver driver=new InternetExplorerDriver(); //Using get() driver.get(“http://www.onlineqaclasses.com”);  getCurrentUrl() Purpose: Its Returns title of the Browser //Launch Browser FirefoxDriver driver=new FirefoxDriver(); //Using get() driver.get(“http://www.onlineqaclasses.com”); //Using getCurrentUrl() String url=driver.getCurrentUrl(); System.out.println(“Current page url is—> “+url); getTitle() Purpose: Gets the title of the […]

READ MORE
30 Apr

What is Webdriver

Selenium WebDriver Is open source software testing tool which supports many different browsers. It Is also supporting many different software programming languages like Python, Ruby, C#, Java, PHP and Perl so that you can create your test cases using your preferred language. Current days, Most popular language Is Java to prepare your software application automation […]

READ MORE
30 Apr

Download Eclipse and Create Project,Package,class

Step-1 Open Google Search For “Download Eclipse” Click on “http://eclipse.org/Downloads/” Step-2 • If your System is 32 bit click on 32 bit otherwise click on 64 bit Step-3 Click on “Download” Latest version of Eclipse Step-4 “eclipse-jee-mars-1 win32.zip” Zip file can be seen once downloaded, in the downloads folder Step-5 Select Zip file —Right Click, […]

READ MORE