API(Application Programming Interface)

API stands for Application Programming Interface.It defines a set of rules and protocols that allows different software applications to interact and communicate with each other. The protocols, methods, and data formats that developers can use to access and utilize the features of a certain piece of software or service are defined by the APIs. Without … Read more

How to Launch Browser in Selenium

How to Launch Chrome Browser In Selenium First Method import io.github.bonigarcia.wdm.WebDriverManager; import org.openqa.selenium.WebDriver; import org.openqa.selenium.edge.EdgeDriver; public class LaunchBrowser { public static void main(String[] args){ System.setProperty(“webdriver.chrome.driver”,”C:\\Users\\nitis\\Downloads\\chromedriver\\chromedriver.exe”); WebDriver driver=new ChromeDriver(); } } Second method import io.github.bonigarcia.wdm.WebDriverManager; import org.openqa.selenium.WebDriver; import org.openqa.selenium.edge.EdgeDriver; public class LaunchBrowser { public static void main(String[] args){ WebDriverManager.chromedriver().setup(); WebDriver driver=new ChromeDriver(); } }

GIT

Git is a distributed version control system that enables productive collaboration between numerous developers on a project. It was developed by Linus Torvalds, who also invented the Linux operating system, and is now widely used in the software industry. The following are some essential Git words and concepts: Repository: A repository, often known as a … Read more

Java

The object-oriented programming language Java was created in the middle of the 1990s by Sun Microsystems, which is now owned by Oracle. Because of its platform independence, developers can create programmes that work on any machine or operating system that has a Java Virtual Machine (JVM) installed. Here are some essential Java characteristics and ideas: … Read more

RestAssured

RESTful web service testing is done using RestAssured, a Java-based library and domain-specific language (DSL). It offers a straightforward and understandable method for interacting with APIs, sending HTTP queries, and validating results. Built on top of the well-known testing framework TestNG, RestAssured is frequently used in conjunction with other tools like Maven to automate testing … Read more

Maven

Maven is a well-liked tool for build automation that is generally employed in Java projects. For managing project dependencies, build procedures, and project documentation, it offers a complete infrastructure. Project object models (POMs), which are XML files that explain a project’s configuration and structure, are a concept that Maven adheres to. Here are some essential … Read more

Exceptions In Selenium

In Selenium, exceptions are used to deal with mistakes or unforeseen occurrences that could happen while running tests. To catch and manage various exception kinds, Selenium offers a collection of exception classes. Here are a few Selenium exceptions that are frequently used: When a web element cannot be found on the page, the NoSuchElementException exception … Read more

Selenium

The open-source Selenium framework is frequently used to automate web browsers. It gives developers access to a set of tools and frameworks that let them interact with online applications and carry out tasks like clicking buttons, completing forms, and extracting data. Selenium can be used for both functional testing and web scraping activities, and it … Read more