Home > Selenium (Page 3)

Protractor: Add data in excel sheet using exceljs in node

Prerequisite:To perform write operation on excel sheet we need node application and exceljs library installed. Below is the code for different write action on excel file. Add sheet to new excel file [crayon-673aba6fa065d700082089/] Add row in new sheet [crayon-673aba6fa0662428801446/] Edit Existing Excel File [crayon-673aba6fa0664317251905/]

This Article is TAGGED in , , , , . Read more

Read PDF File using Protractor

Pre-requisite: To read pdf file, first we need to install pdf2json library. Step to install pdf2json Prerequisite : System should have nodejs Installed. Open COMMAND prompt and go to directory . Write npm i pdf2json  and press enter. Once library is installed you will see below screen   Below is the code which shows how to read PDF

This Article is TAGGED in , , , , . Read more

Protractor is better than Selenium for Angular Applications.

The selection between selenium or protractor is based on what type of web application we are automating. If your application is angular based then it is feasible to select protractor. In this post you will learn why to use protractor for web based application. Protractor runs on top of selenium webdriver

This Article is TAGGED in , , . Read more

Identify dynamic link or webElement using Protractor

If the text of link/webElement is continuously changing then we call it as dynamic link or web element. We have two scenarios, first scenario is text of link may completely change second scenario is text of link may partially change. If it is partially changing we can use locator partailLinkText

This Article is TAGGED in , , . Read more

How to decide automation tool for testing

Identify best automation tool which suited for your project by focusing on these aspects. A) Management point of view B) Technology of the Application C) Expertise available. Try to follow step by step and at the end you will get your answer that which tool is best fit to automate the application. Identify in which

This Article is TAGGED in , , , . Read more