Software Testing Archives

Handling Dynamic fields in Salesforce using Selenium

Author - Webner
|
0 Comments
|

Selenium is an open-source (free) automated testing framework for validating web-based applications across various browsers and platforms. Selenium Test Scripts can be written in a variety of programming languages, including Java, C#, Python, etc.

Authorizing OTP Verification using selenium:

Before heading towards automating the salesforce processes Read more…

How to read Emails using JMeter

Author - Webner
|
0 Comments
|

JMeter is an open-source tool that helps to perform load testing. It provides various samplers to perform load testing. Today, we will discuss email related samplers. There are two samplers to perform an action related to the email, read(mail reader sampler) and send(SMTP) email. With the help Read more…

Error: An object reference is required for the non-static field, method or property

Author - Webner
|
0 Comments
|

Object Reference

In one of my .net reference projects, I had a need to create a new model and its corresponding interface, repository, and client class. In a method of the existing controller class, I need to create a record of that model class but I don’t Read more…

Software Testing – A tool for better Software Quality

Author - Webner
|
0 Comments
|

Software testing is one of the important processes for analyzing the quality of a software product. There are different types of testing that should be done on software development projects. Every kind of testing has its certain “objective” that underlines the correct objective the test is aiming at so that Read more…

Risk-Based Testing

Author - Webner
|
0 Comments
|

A risk-based testing approach enables testing teams to utilize their resources well. It is a futuristic model of testing because it uses testing resources in a way where they can have the most impact, no matter constraints are because of budget, schedules, or any unexpected situation like COVID-19 Read more…

Introduction to Selenium Grid

Author - Webner
|
0 Comments
|

Introduction to Selenium Grid with examples

Selenium Grid is software from Selenium which allows us to run multiple tests across different browsers, operating systems, and machines in parallel.

This Grid follows the hub-node concept where we run the test on just one machine i.e. hub, but Read more…

Create Maven Project In Eclipse, add selenium & TestNg dependencies

Author - Varun Chopra
|
0 Comments
|

How to Create Selenium Maven Project In Eclipse IDE and add selenium & TestNg dependencies in Pom.xml

What is Maven?
Maven is a powerful build tool for Java software projects. It is used to build and manage projects written in Java, C#, Ruby, Scala Read more…

Fetching resolution of screens using Selenium code

Author - Varun Chopra
|
0 Comments
|

How to fetch resolution of screens using Selenium code

For Gui testing aspects java.awt.Dimension and java.awt. Toolkit packages are used to get the screen resolutions whereas the Dimension object stores the result. Inbuilt methods of Dimension class are used to get different aspects Read more…

Find broken links using Selenium Webdriver

Author - Manpreet Singh
|
0 Comments
|

Find broken links using Selenium Webdriver

A broken link or dead link occurs when a user tries to reach a website page that couldn’t be found on the server. A standard “404 Not Found error” message displayed on the screen.

There are a number Read more…

Tableau development environment setup alternatives

Author - Harshit Gulati

Tableau development environment setup alternatives with and without Data Migration from Development to Production

Development, Test, QA and PRODUCTION – With Data Migration

Description:  Common names for environments for Tableau development are development, test/QA, staging/pre-production, and production. There are typically Read more…

Enable Beta Testing of Custom Alexa Skill

Author - Dalbir Kaur
|
0 Comments
|

Enable Beta Testing of Custom Alexa Skill

Amazon provides us a feature to test our custom skill before publishing it to production. By enabling the beta testing, we can test the skill on amazon devices and apps. Amazon facilitate us to invite other people of whom Read more…

Headless Browser Introduction and Examples

Author - Manpreet Singh
|
0 Comments
|

Headless Browser Testing With Selenium Webdriver

Headless is a browser which does not have a GUI. A headless browser runs a testing script even though when there is no browser installed on our system such as we need the latest version of Firefox Browser to test Read more…

Introduction to ChromeDriver for Selenium with Example

Author - Sukhpreet Singh
|
0 Comments
|

Introduction to ChromeDriver for Selenium with a Code example to test a Website page title

Chrome driver is used to perform the automation testing in chrome browser. Selenium requires this driver to run your test cases in chrome browser. You can download the latest version of Read more…

Selenium Webdriver with JavaScript (JavaScriptExecutor)

Author - Manpreet Singh
|
0 Comments
|

How to Use Selenium Webdriver with JavaScript?

Selenium is an open source automation testing tool. It is used to test the web application. Selenium supports multiple languages to create an automation script such as Java, Python, PHP, C#, Ruby.

In case we want to test with Read more…

Introduction to Selenium and some Examples

Author - Manpreet Singh
|
0 Comments
|

Introduction to Selenium and some Examples

History of Selenium

Selenium was launched in 2004 by Jason Huggins (engineer at ThoughtWorks in Chicago) and he named it “Javascript TestRunner” but at that time it was stuck with the “same origin policy” issue. Paul Hammant (engineer Read more…

Steps to configure Selenium webdriver in Eclipse

Author - Naman Gupta
|
0 Comments
|

Before we download and install selenium webdriver and eclipse, we need java which is prerequisite that must be installed in our system.

Following activities need to be performed during configuration:

1. Steps for configuration of eclipse IDE:

1.1. Go to the Read more…

Why to use xpath in Selenium

Author - Namisha Arora
|
0 Comments
|

What is Xpath?

Xpath is defined as XML path. If we are unable to find an element with id, class or name locator  on web page then we can use XML path expression for finding the element on a webpage.

Syntax to write xpath is:

Xpath Read more…

Take screenshots and name file using timestamp in Selenium

Author - Manpreet Singh
|
0 Comments
|

When we test a website and face bugs we need screenshot of the output to suggest to the developer to fix the issue. Automated testing is usually evidenced by Screenshots and logs. But how to save screenshots with timestamp in the file name using Selenium?

In this example we Read more…

Importance of testing in production after deployment

Author - Naman Gupta

When we deploy an application from staging / testing server to live /  production environment, tester needs to test the application again in production environment no matter if he has already tested the whole application in staging environment.

Why there is a need to do testing in production environment? Some reasons Read more…

Run Apache Tomcat server via cron job and notify an email id

Author - Navneet Kashyap
|
0 Comments
|

Below is the shell script which can start Apache Tomcat server via cron job and send notification to defined email is:

#!/bin/sh

RESULT=`netstat -na | grep 8009 | awk ‘{print $7}’ | wc -l`
if [ “$RESULT” != 0 ]; then
echo “TOMCAT IS RUNNING”
elif [ “$RESULT” = 0 ]; then
/opt/lev8/tomcat/bin/startup Read more…