Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Automation Testing Articles
Page 16 of 62
What is Use Case Testing, Technique & Example?
What is Use Case in TestingIt is the brief description of a particular use of the software application by the users. Basically, it is made on basis of user action. It is widely used in developing test cases at acceptance level.What is Use CaseUse Case is a list of action taken by actor while interacting the system to achieve a goal. Here, actor can be anyone either human users or any other external system. Basically, it is a technique that helps to identify test cases that cover the entire system, on transaction by transaction basis, from start to finish.In Use ...
Read More10 Best Exploratory Testing Tools
Exploratory testing tools allow automating exploratory testing through features like annotating feedback and capturing screenshots during test sessions. Testers often combine exploratory testing with automated testing to increase their test coverage, which improves the extrinsic and intrinsic value of the software.It is used for testing, designing and test execution that promotes creativity and experimentation. Therefore, it’s crucial to check for the features that facilitate effective planning, execution and reporting tests.An ideal exploratory testing tool must cover built-in features that support −Effective communication between teamManage and invite testersDefine storiesDocumentationAssign objectivesRecord test steps via screenshots or videos10 Best Exploratory Testing ToolsPractiTestPratiTest is ...
Read More10 Best Open Source Testing Tools
Open-source testing tools allow testers to examine software and applications at different stages and parameters such as regression, load, etc. They cover almost all the features of premium software, making them quite popular among software testers.Benefits of Open Source Testing ToolsAvailable at free of cost leading to low-cost deployment and maintenanceSupported by several online communities, allowing remote teams to collaborate with a projectProvide high-end security through the massive contribution via developers worldwideUnlimited functionalities with on-time security patch updates make them very flexible to use10 Best Open Source Testing ToolsSeleniumSelenium offers superb compatibility with various popular browsers, operating systems and programming ...
Read MoreHow to send a report through email using Selenium Webdriver?
We can send a report through email using Selenium webdriver. The email report can be an important feature in an automation framework. An email should be necessarily sent after the combined execution of a regression suite has completed to get an overall view of the test results.The ways to send a report through email are listed below −Using the Java library - Apache Commons available in the below link: https://commons.apache.org/proper/commons-email/.Using the Java mail JAR. The details of this is available in the below link: https://javaee.github.io/javamail/Steps to configure the Java mail JAR are listed below −Step1 − Navigate to the below ...
Read MoreHow to do UI testing with Selenium?
We can do UI testing with Selenium webdriver. To achieve this, we have to follow the steps listed below which can be applied to any script developed to test the UI of the application −Step1 − Object of Webdriver should be created. For example, WebDriver driver = new ChromeDriver();The above piece of code is used to create a webdriver instance and initiate the script execution in the Chrome browser.Step2 − Launch the URL on which we want to perform the UI testing. For example, driver.get("https://www.tutorialspoint.com/about/about_careers.htm");The above piece of code shall launch the URL passed as a parameter to the get ...
Read MoreModern Web Automation With Python and Selenium
We can have modern web automation with Python and Selenium. To configure with Selenium webdriver in Python the steps described below need to be followed −Step1 −To install Python in our system, visit the link − https://www.python.org/downloads/Step 2 − Click on the Download Python button. Once the download is completed, the Python executable file should be available in our system.Step 3 − Double-click on this executable file and the Python installation landing page should be opened. Click on Install Now.Step 4 − Python should be available in the below path −C:\Users\\AppData\Local\Programs\Python\PythonStep 5 − We shall configure the path of ...
Read MoreHow can I capture network traffic of a specific page using Selenium?
We can capture network traffic on a specific page using Selenium webdriver in Python. To achieve this, we take the help of the JavaScript Executor. Selenium can execute JavaScript commands with the help of the execute_script method.JavaScript command to be executed is passed as a parameter to this method. To capture the network traffic, we have to pass the command: return window.performance.getEntries() as a parameter to the execute_script method.Syntaxr = driver.execute_script("return window.performance.getEntries();")ExampleCode Implementationfrom selenium import webdriver #configure chromedriver path driver = webdriver.Chrome(executable_path='../drivers/chromedriver') #implicit wait driver.implicitly_wait(0.5) #url launch driver.get("https://www.google.com/") #JavaScript command to traffic r = driver.execute_script("return window.performance.getEntries();") for res in r: ...
Read MoreHow to set Proxy in Firefox using Selenium WebDriver?
We can set a proxy in Firefox using Selenium webdriver. A proxy server enables users to access an URL of an application for testing purposes even with the presence of several layers of network.The setting up of proxy in Firefox can be done with the help of the FirefoxOptions class. The port information and the proxy server host are added to this class. The setting up of the proxy server can also be done by configuring the Firefox Profile in the FirefoxProfile class.ExampleCode Implementation with the FirefoxOptionsimport org.openqa.selenium.Proxy; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; import org.openqa.selenium.firefox.FirefoxOptions; public class ConfigureProxy { public ...
Read MoreHow to download all pdf files with selenium python?
Answer − We can download all pdf files using Selenium webdriver in Python. A file is downloaded in the default path set in the Chrome browser. However, we can modify the path of the downloaded file programmatically in Selenium.This is done with the help of the Options class. We have to create an object of this class and apply add_experimental_option. We have to pass the parameters - prefs and the path where the pdf is to be downloaded to this method. Finally, this information has to be sent to the webdriver object.Syntaxop = Options() p = {"download.default_directory": "../pdf"} op.add_experimental_option("prefs", p)ExampleCode ...
Read MoreHow to make seleinum jar file , and how to test using Selenium jar file?
We can make a JAR file with the code created in Selenium and share it among others. The procedure to make a Selenium Jar file and to test it are listed in the below steps −Step1 − Right-click on the Selenium project and click on Export.Step2 − Select the option Runnable Jar under the Java folder. Then click on Next.Step3 − Select the Java class for which we want to create a JAR in the Launch Configurations field. Enter the Export destination: field and select the option Extract required libraries into generated JAR. Then click on Finish.Step4 − Click on ...
Read More