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.

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) ) )

--

--

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