Interview Questions QA
Interview Questions QA
Interview Questions QA
Automation:
1.What is xpath and it's types?
2.What is cross browser testing and parallel testing?
3.Challenges faced during selenium testing?
4.What is Actions class?
5.How to handle drop down in selenium?
6.How to handle multiple browser pop up?
7.How to handle multiple browser tabs in selenium?
8.How to perform upload file using selenium?
9.How to perform download file using selenium?
10.How to get all values of dropdown in selenium?
11.How to perform (control + a) through selenium?
12.How to shift between tabs of a same browser using selenium?
13.What is Robot class?
14.What is AutoIT?
15.What are the difference between get() and navigate()?
16.What are the difference between findElement() and findElements()?
17.What is difference between quit() and close()?
18.What are different locators used?
19.Difference between xpath and cssSelector?
20.Different approaches to click the submit button?
21.What is javascriptExecutor and when it is used?
22.Handling WebTable(static and dynamic) in selenium
23.What is POM? Advantage and its disadvantage?
24.What is maven? list its phases or life cycle?Command to run our project thro
maven?
25.Explain ur project folder structure? Or Explain ur frame work?
26.What is testng?
27.How to create and delete cookies?
28.What does getwindowhandles() and getwindowhandle() return? Or its differences?
29.Is it possible to use only perform() without build()? 30.What is perform() and
build()?
31.How to scroll the browser window?
32. Preceding sibling and following sibling of custom xpath?
33.What is test management tool used in ur project?
34.What is the build automation tool used in ur project?
35.How u will handle the SSL certification?
Or what is DesiredCapabilities?
36.How to verify 'Bangalore' present in dropdown box or not?
37.How to verify 'Bangalore' present in 4×4 webtable? And print the column and row
number of it is present?
38.How to fetch the data from particular row and column of excel?
39.List all maven plugins like surefire plugin etc
40.What is jenkins?And explain its use?
41.Explain the tags present in testng.xml file
42.What is TDD?
43.What is BDD? Explain cucumber framework?What is gherkins?
44.What is Listener?
45.What is DataProvider?
46.What is parameterization?
47.What is PageFactory?
48.What is apache POI API? Or how to read data from excel?
49.What is explicit and implicit waits?
50.What are the challenges faced in automation testing?
51.Write code for handling multiple browsers and switch to new windows?
52.What is webdriver?And why webdriver is used?
53.List some selenium exceptions
54.What is StaleElementReferenceException?When this occurs?And how to overcome such
exception?
55.How do you group the test cases? And why?
56.How to include or exclude test cases?
57.What is NullPointerException?When it occurs?
58.What is selenium grid?
59.Should have knowledge on all testng annotations.
60.How do you control the execution of your test cases/test classes?
61.Git and its commands
62.Maven commands to execute,debug,compile
63.What is the current version of maven used?
64.How to identify broken links?How you have done in your project?Write code or
tell approach.
65.Write a code to fetch the value 'Test' from excel sheet which might be present
in any cell in excel. Or check whether value 'Test' is present in excel or not.
66.How to pass values to textbox other than using sendKeys()?
67.How to click login button other than using click(), submit() and
JavascriptExecutor?
68.What is subversion?
How to generate reports if we don’t have permission to use any external package for
a report and we also can’t use html report generated by testng.
How to rerun failed test cases apart from the failed test report
What are the recovery scenarios in your framework to handle error or issue at the
run time ?
* Automation point*
- Selenium + Java
HR Round:
Selenium :
TestNG
BBD:
Manual Testing :
Jenkins :
how you will create the job and how it will execute ?
Selenium
1) explain framework structure?
2) explain oops concepts where you implemented?
3) different b/w pagefactory and pom?
4) in pom if you not intalised the pagefactory what exception we will get?
6) how you will handle image one place to another place?
7) how you will handle iframes?
8) you have multiples windows, close the child windows , how you come back parent
window?
9) how you will clear data with out using clear method?
10) how you will pass the value with out using send keys?
11) how you will take screenshots?
12) if you add standlone sever in project? When build the project standard sever
also update?
BBD:
1)Diffence b/w scenario outline and datatables?
2) What is hookes?
3) what is dryrun?
4) how you will handle miss implemented methods in stepdefiniaton?
5) what is stepdefiniaton?
6)in feature we can maintain more scenarios ?
7) in feature file we have common method ,how you can handle ,which keyword we can
use?
Testng;
Explain jenkins?
Explain maven build tool ?
Api