FAQ — For SDET And QA

Passing multiple parameters at once in cucumber

mvn verify -Dcucumber.options=” — tags @SomeThing” -Dcucumber.options=” — tags @SomeThing” -Dcucumber.options=” — tags @SomeThing”
mvn verify -Dcucumber.options=” — tags @SomeThing,@Something,@Something” The comma represents a logical or, and specifying multiple — tags arguments.

How to solve PIKIX Error?

mvn clean install -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Dmaven.wagon.http.ssl.ignore.validity.dates=true
mvn install -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Dmaven.wagon.http.ssl.ignore.validity.dates=true

JUnit Assertions

import org.junit.Assert;
Assert.<methods come in>
import static org.junit.Assert.*;
assert<methods come in>

How to create a folder on the cmd command line.

  1. Open a terminal and navigate to the folder which contains your Visual Studio projects.
  2. Run the following command: touch .gitignore. You do not see it, but a hidden .gitignore file was just created.
  3. Run the following command: vim .gitignore. This opens the empty file with a text editor inside the terminal.
  4. Paste the contents into the opened vim text editor. If you scroll at the bottom of the text editor you now see the — INSERT — a text which means that the content is ready to be saved.
  5. To save the file press ESC, type :wq and finally press ENTER. What you just saved is a complete .gitignore file with a blacklist

How to make the files visible after creating?

SSL Handshake Error on API

RestAssured.useRelaxedHTTPSValidation();

Redirection on API

given().redirects().follow(false/true).etc

How to find the count on SQL

SELECT count(*) as totalCount (-open a parentheses — your original query -close the parentheses)

SQL Connection

entryabcd = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = abcd.dk.xyz.com)(PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = abcd) ) ) abcd.world, abcd.dk.xyz.com = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = abcd.dk.xyz.com)(PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = abcd) ) )

--

--

--

A self-learner in the programming and automation industry. Keep yourself updated in this journey together ;)

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

GIT history matters

Calculate Read/Write Capacity Unit In DynamoDB

PLUTOS NETWORK INTRODUCES A USER DASHBOARD AND THE PLUTBUTTON GAME

Test Driven Development for Newbie

Gruntwork Newsletter, April 2019

Implementing VOiP push notification using PushKit

Ignite 2020, Low Code and Digital Transformation

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sdet & Updates

Sdet & Updates

A self-learner in the programming and automation industry. Keep yourself updated in this journey together ;)

More from Medium

Need for Research Orientation at School level — Learning from my Failure

SIEM Tutorial for Beginners | Azure Sentinel Tutorial Map

Microsoft azure — Portal

Waits() in Selenium

Setting up Appium configuration on windows / Mac