Intervw Ques
Intervw Ques
Initially
about 8 months i was a dev+unit tester and then i totally moved into QA.
doing 70% of manual and 30% of automation testing.
From last yr since the pandemic, i have gained some knowledge on automation and got
involved into automation.
As a TA i am involved into front end automation using seleniumweb driver
pretty much comfortable in testng framework and BDD framework.
Currently i am working in hybrid model there are multiple scrum teams and i am a
part of the scrum team where i am performing as an individual contributor.
As a TA, I am mentoring new team members for Test Planning and Test Scripting and
Execution.
Defect logging and tracking worked in HP QC/IBM CQ.
An agile retrospective forces the entire team to pause and reflect on what
transpired and discuss what worked and what didn't during a particular project.
Defect Triaging is a formal meeting where all the defects of the current Sprint are
discussed and triaged i.e. Prioritized. The
QA Developers in the Development Team demonstrates and explains the defects to the
rest of the Scrum Team.
The scrum master helps to facilitate scrum to the larger team by ensuring the scrum
framework is followed. ...
Scrum has a clearly defined set of roles and rituals that should be followed and
the scrum master works with each member of
the scrum team to guide and coach the team through the scrum framework.
Traceability Matrix: Mapping between test cases and customer requirements is known
as Traceability Matrix
3.explain current project role- web prtal testing . whre i have used Maven with
POM. Testing the internal and external category depending on some pre-condtns.
API: GetRequest,PutRequest,PostRequest.
Auth used: Bearer Token- HTTP authentication Scheme that involves security tokens
using OAuth2.0-
token failed- then 401 unauthorized user error.
server failewd- 500 internal server error
503 - Service Unavailable(Server is unavailable)
200 - Ok _request is successfully completed)
400 - Bad Request(Invalid request)
url vs uri - url is an address to webpage .
5.y do u want to join - i am looking for an env where i can learn new things,i can
share my knowledge.
i can perform some amazing stuff where we can leverage our automation so that we
can save aoyu resources,cost.
yes no doubt its very challenging & this is the exact thing i am looking for.if i
join ur compny it will be grate value addition in my profile.
challenges faced-
image /text overlapping issue,
no facility to deal with captcha
difficult to identify dynamic objects.
working with frames.
cross browser tetsing issues.
API Testing:
Initial setting up of Environment
Parameter Validation/Assertions
Updation of API requests testing scheme
SOAP: Soap stands for Simple Object Access Protocol and it is a protocol used for
receiving and sending data over HTTP as XML
Properties in SOAPUI is used to retrieve and store data. The data is stored as
key, value or format.uses XML to interact with web applications.
It uses XML based content to communicate between two client machines across any
network
REST: It is a way of designing a web services.
File SrcFile=((TakesScreenshot)webdriver).getScreenshotAs(OutputType.FILE);
FileUtils.copyFile(SrcFile, new File(fileWithPath)
Encapsulation - All the POM classes in any frmaework is an example. @FindBy and
initialization of data members will be done using
constuctor to utilize those mthods. We set all the instance variables as private so
that these variables can't be accessed directly by other tesng classes.
then we generate public getter and setter methods corresponding to this private
variable.
As we set the variavle as private and hide their implementation from other classes.
Background in Cucumber is used to define a step or series of steps that are common
to all the tests in the feature file.
It allows you to add some context to the scenarios for a feature where it is
defined. A Background is much like a scenario containing a number of steps.
6.POM -
Page Object Model or POM is a design pattern or a framework that we use in Selenium
using which one can create an object repository
of the different web elements across the application. To simplify, in the Page
Object Model framework, we create a class file for each web page.
7.Page Factory in Selenium is an inbuilt Page Object Model framework concept for
Selenium WebDriver but it is very optimized.
It is used for initialization of Page objects or to instantiate the Page object
itself.
It is also used to initialize Page class elements without using "FindElement/s."
8.Using the @FindBy annotation– Unlike the regular approach of initializing web
page elements using FindElement or FindElements,
the Page Factory uses the @FindBy annotation. The annotations used in Page Factory
are descriptive.
Moreover, they help improve code readability.
Question: What is Maven? What is the benefit of integrating maven with Jenkins?
Answer: Maven is a build management tool. Using a simple pom.xml, one can configure
all the dependencies
needed to build, test and run the code.
Maven manages the full lifecycle of a test project. Once integrated with Jenkins,
the maven Webdriver will build the project and execute all tests efficiently.
int result = 0;
int[] decimal = {1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1};
String[] roman = {"M", "CM", "D", "CD", "C", "XC", "L", "XL", "X", "IX", "V",
"IV", "I"};
import java.io.*;
// Java program to print largest contiguous array sum
import java.util.*;
class Kadane
{
public static void main (String[] args)
{
int [] a = {-2, -3, 4, -1, -2, 1, 5, -3};
System.out.println("Maximum contiguous sum is " +
maxSubArraySum(a));
}
****************************************************OR*****************************
**********
n = -15;
System.out.println(closestNumber(n));
n = 0;
System.out.println(closestNumber(n));
n = 18;
System.out.println(closestNumber(n));
}
}
class GFG {
static final int MAX = 100;
// Driver code
public static void main(String[] args)
{
int mat[][] = { { 1, 2, 3 },
{ 4, 5, 6 },
{ 7, 8, 9 } };
int n = 3;
printMatrixDiagonal(mat, n);
}
}
o/p - 1 2 4 7 5 3 6 8 9
import java.io.*;
import java.util.*;
import java.lang.*;
class Solution {
if (find == 1)
System.out.println(
"Number of Occurrence of "
+ str.charAt(i)
+ " is:" + count[str.charAt(i)]);
}
}
// Driver Code
public static void main(String[] args)
{
String str = "geeksforgeeks";
getOccuringChar(str);
}
}
// sort tempArray
Arrays.sort(tempArray);
// Driver method
public static void main(String[] args)
{
String inputString = "geeksforgeeks";
String outputString = sortString(inputString);
Q. Reverse a String------------------------
class ReverseString {
public static void main(String[] args)
{
String input = "Geeks for Geeks";