Test case for Valid Coupon Code
This test case checks whether a valid coupon code is successfully applied to a booking cart, the total is updated accordingly, and a...
150
Keyboard shortcut keys for various operations
General Shortcuts: Ctrl + C:Â Copy Ctrl + X:Â Cut Ctrl + V:Â Paste Ctrl + Z:Â Undo Ctrl + Y:Â Redo Ctrl + A:Â Select All Ctrl + S:Â Save Ctrl +...
40
Serialization vs Deserialization
Object to Byte Stream Example // Serialize an object to a byte stream ByteArrayOutputStream bytArrOPStream = new ByteArrayOutputStream();...
50
What is Flaky test? Steps to resolve Test Flakiness
A flaky test An automated test in a software testing environment that may produce inconsistent results, sometimes passing and sometimes...
40
Retrieve data from a JSON file
To retrieve data from a JSON file using Java and Selenium, you can use a library like Gson or Jackson for handling JSON parsing. {...
80
Python MySQL Database Operations Example with mysql.connector
import mysql.connector try: # Establish a connection to the MySQL database con = mysql.connector.connect(host="localhost", port=3306,...
10
Java JDBC Database Operations Example
package com.seleniumExamples2024; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import...
10
Read data From Excel Python
import openpyxl # Load the Excel workbook workbook = openpyxl.load_workbook("C://Users/Nikil/PycharmProjects/pythonBasics/Userdata.xlsx")...
10
Automation Testing - Selenium Java Syntax vs Selenium Python Syntax
Selenium Java Syntax vs Selenium Python Syntax
110
Write Testcase for Forgot Password
import java.time.Duration; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement;...
30