0% found this document useful (0 votes)
63 views588 pages

Selenium Consolidated Questions

Uploaded by

Nanda
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
63 views588 pages

Selenium Consolidated Questions

Uploaded by

Nanda
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 588

Company Name # Questions Company Name # Questions

Accenture Accenture!A1 Maverick Maverick!A1


ADP 25 McWane 9
Agilysys 53 Mind Tree 76
Altimetrik 191 Newt Global 23
Aon Hewitt 18 NTT Data 81
Aspire 284 Oracle Oracle!A1
Auxo 10 Payoda 14
Amazon 22 Paypal Paypal!A1
BankBazaar 25 Photon infotech 'Photon infotech'!A1
Barclays 8 PNB Paribas 7
Bank of America 84 PowerSchool telephonic 'PowerSchool telephonic'!A1
CA Technologies 19 Prodapt 12
Capgemini Capgemini!A1 Prokarma Prokarma!A1
citi Corp services? 25 RBS RBS!A1
CES CES!A1 Robert Bosch 7
Congurent Congurent!A1 Scope Scope!A1
Comcast Comcast!A1 SmartPoint Technologies 'SmartPoint Technologies'!A1
CSC CSC!A1 Softcrylic 20
CSS Corp 'CSS Corp'!A1 Sony Sony!A1
CTS / Cognizant CTS!A1 Standard Charted 'Standard Charted'!A1
Customer's 21 Sulekha 5
D&B 'D&B'!A1 Symantec Symantec!A1
DataCert DataCert!A1 Syntel Syntel!A1
Dell Dell!A1 TCS Tcs!A1
Delloitte 29 Tavant Technologies 'Tavant Technologies'!A1
DSRC DSRC!A1 Techno Soft 12
Ericssion Ericssion!A1 Tech Mahindra 'Tech Mahindra'!A1
FIS global 'FIS global'!A1 TEK Systems 12
Fidelity Fidelity!A1 Temenos Temenos!A1
GAVS Sheet2!A1 Thoughtworks 53
Global English 'Global English'!A1 UST Global UST!A1
GSR GSR!A1 Verizon Verizon!A1
HCL HCL!A1 Virtusa 'Virtusa '!A1
Hexaware Hexaware!A1 Wipro Wipro!A1
IBM 33 Xchanging 41
ICU Medical 16 Xerago 10
IGATE Sheet3!A1 NationStar Mortgage 21
Infinite computer sol 72 Total 1391
Infostretch Corporati 28
Indium 13
Intellect design 'Intellect design'!A1
ITC Infotech 'ITC Infotech'!A1
ISG Novasoft 12
Lennox Lennox!A1
kpit kpit!A1
Lionbridge Lionbridge!A1
Lister Lister!A1
Infosys Infosys!A1
L&T 'L&T'!A1
Note:
This is total number of questions but
not unique across/within
organizations. The idea was not to
make unique as many time, you may
want to attend specific organization
and this would give rough idea about
the expected and most common
questions. Hope it makes sense!

Technologies'!A1

hnologies'!A1
# Questions
1 Can you brief about yourself.
2 What is the difference between hashmap and hashtable.
3 Difference between stringbuffer and string classes.
4 What is testing
5 What are different types of testing
6 What are the types of testing you know apart from functional and performance testing.
7 what is security testing
8 Where would you see yourself in the next 2 years
9 what is compatability testing.
10 What is code coverage
11 Why are you looking for change.
12 What are your achievements in your project.
13 What are the challenges you had in your project.
14 How would rate yourself in java out of 5.
15 What is garbage collector in java
16 How do you achieve multiple inheritance in java.
17 What is the difference between interface and abstract class.
18 Write a program to find the prime number
19 Some questions of reasoning, probability.
20 How do you update your knowledge.
21 What is stlc
22 Can you tell me the output of each component in STLC.
23 Have you done anything innovative in the past 3 years for which you felt very happy?
24 What tools you use in QA automation.
25 What is selenium.
26 Explain about your selenium framework.
27 What is the repositry you have used for objects in framework.
28 Can you write a sample webdriver script for login functionality of gmail.
29 What are the different annotations in TestNG.
30 What is the use of @BeforeTest annotation.
31 How do you access the methods in TestNG class file along with parameters.
32 I have a package which has 10 class files, i would like to run first 6 class files in parallel and rest 4 in sequential how do you that.
33 Write the structure of TestNG xml file for the above scenario with parallel value as "tests" and "classes"
34 How do you do parameterization in testNG
35 How is dataprovider different from passing parameters from testng xml file.
36 How do you handle dependency tests cases in testNG.
37 write the code for following: 1. Check if the given string is palindrome or not.
38 2. Check if the given integer is palindrome or not.
39 3. Write a sample code for hashmap and hashtable.
40 4. write a sample code for threads
41 Given an array int a[] = int a{1,2,2,3,4,4,5,5,6,7}
42 1. Find the duplicates in the above array and store in to a seperate array
43 2. Find the non duplicates and store in another array.
44 Please explain about your professional experience?
45 What is frame work are using currently?
46 Why POM<Page Object Model>?
47 What are the other frameworks have you worked?
48 What are advantages you feel with the current framework compare to the previous one you have used?
49 How do you rate yourself in selenium?
50 What are the different type of locators ?
51 What locators you have used the most?
52 Why you prefer id ?
53 What are the major you have encountered in your projects so far?
54 What are steps you have taken to overcome those?
55 How do you rate yourself in java?
56 How do you rate yourself in DB /query formation?
57 Have you worked in soap UI?
58 What are different kind of websites you have encountered so far? Like what kind of issue < according to the site design> ?
60 What are the challenges you faced in your project
Classification
General
Hash Map & Table
String Concept
General - Testing
General - Testing
General - Testing
General - Testing
General
General - Testing
General - Testing
General
General
General
General
Java Basics
Core Java
Core Java
Core Java
Quantitative Aptitude
General
General - Testing
General - Testing
General
General - Testing
Selenium - Basics
Selenium - Framework
Selenium - Framework
Selenium -
Selenium - TestNG
Selenium - TestNG
Selenium - TestNG
Selenium - TestNG
Selenium - TestNG
Selenium - TestNG
Selenium - TestNG
Selenium - TestNG
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
General
General
POM
General
General
General
locators
locators
locators
General
General
General
General
General
General
General
S.NO:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Questions:
How to handle the multiple windows
How to handle wait for particular element in the webpage
How to handle different methods in alert
write selenium code for take screenshot
How to fetch values from web table ?
What is dataprovider?
Write the code to read excel values?
Given some set of scenario to write testcase like we need to BVA techniques and testcoverage
scenario given like login to particular site via chrome browser+passing values and entering some text .given some steps and we need to write seleniu
some question which is related to testcase coverage
Selenium web driver code to open a Google page and search
command to run hub and node in Selenium-Grid, Exlplain each step
Write Screenshot code
Write Xpath collections syntax
Multiple selection in drop-down field write code
How to do File comparison in java write code
What do you know about Selenium Exceptions, explain?
write a code to compare webtable contents with Excel data using any API
Asked some Manual test case questions
Tell about professional experience
Draw the Framework design which u used in ur project
Scenario given Select country in country drop down and verify the state drop down whether corresponding states populated
What will be the Runner file when u execute the script using TestNG
Write java program to sum of positive numbers and negative numbers in given array
Asked about Sql queries
Classification
Window
Selenium- Wait
Alert
SnapShort
WebTable
DataProvider
DataProvider
Scenario Based
Scenario Based
Scenario Based
Selenium
Selenium-Grid
Slenium-screenshort
Xpath
dropdown
Java
Exceptions
WebTable
General
General
Selenium-Framework
dropdown

CoreJava
General
# Questions Classification

1st Round
1 Testing basics questions-refer the above link guru 99 , that ll be suffice
2 SQL basic questions- 2 3 questions related to PL/SQL
3 Automation related questions(2 3 questions from QTP)-rest ll selenium questions were easy
4 Logical Reasoning and Data Interpretation questions-Basic level

Addition to this 29 java questions


Concentrate on OOPS concepts , focus more on objective type questions in these areas
static blocks , static keyword related questions

Technical Round
5 Tell me about yourself
6 About current project (mention the use of selenium and POM or hybrid framework)
7 Your role in Project
8 Challenges faced while automating
9 Java code
a. calculating axes for various salary levels , using if else
b. summing all the numbers which are given as a input in a String array-use a for loop and use Integer.ParseInt
c. using map find the occurrence of all the characters
10 What all type of testing you do for a bicycle

Round 3
HR Round
11 Tell about yourself in a chronological order
12 What you know about Agilysys

Technical Round
13 Concentrate on OOPS concepts , focus more on objective type questions in these areas
14 static blocks , static keyword related questions
15 About current project (mention the use of selenium and POM or hybrid framework)
16 Your role in Project
17 Challenges faced while automating
Java code
18 a. calculating axes for various salary levels , using if else
19 b. summing all the numbers which are given as a input in a String array-use a for loop and use Integer.ParseInt
20 c. using map find the occurrence of all the characters
21 What all type of testing you do for a bicycle
22 What you know about Agilysys
Round 3 HR Round
23 Tell about yourself in a chronological order
24 Agile process
25 When do we go for agile
26 What is Retrospection
27 Java concepts
28 Explain polymorphism
29 What is overriding
30 How's overriding differs from overloading
31 Explain your role in your project
32 How's bank lending process works
33 Program to find string palindrome
34 Delete vs truncate in sql
35 Why can't we use == to compare string
36 Types of testing methodologies
37 How to run 3 cases parallel and next three cases in series
38 Fibonacci program
39 Java star patterns
40 Agile methodology
41 Explain the framework you used
42 What is POM
43 what is testNG
44 What is annotations
45 What is Attributes
46 Why do we need testNG
47 SQL groupby
48 SQL having clause
49 Diff between groupby vs orderby
50 What's junit
51 Advantages of testNG over junit
52 How do you add two strings
53 How to declare strings using array
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

31
32
33
34
35
36
37
38
39
40

41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62

63
64
65
66
67
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
123
141
142
143
144
145
146
147
148
149
150
151
152
153
154
Questions
Interface and abstractclass
string and stringbuffer
string a =""; string a= "";
diff btwn jvm and jre
diff btwn hashset and hashtable.
diff btwn arraylist and array
use of set - collection
method overloading and method overriding
polymorpism
assert and verify and waitFor
super keyword
find links and manipulation
print data in IDE - echo
Is string immutable.
stlc life cycle.
If you are getting a showstopper a day before delivery what would you be doing.
what ways you can declare string
use of javac and java
have you use data structures in your project
how do u rate yourself in java and webdriver
Round 1 and 2
1. Tell me about yourself
2. Explain the framework which you have used in your project
3. Rate yourself in selenium
4. What is an Interface ? Give an example in selenium
5. What is abstract method? Can we write code under abstract method?
6. How to read data from a dynamic web table?
7. How to right click and double click the button?
8. What are the locators available and how xpath is used. Write the syntax?
9. WebDriver is a class or interface?
10. Difference between list and set
Next Round at Ford:
1. Tell me about yourself?
2. Which framework you have used explain
3. Rate yourself in selenium and java
4. What is an interface? Can we create objects for an interface?
5. What is method overloading? Give an example in selenium and Explain where you ha
6. What is the 3rd way to inherit the properties of parent class like apart from creating
7. Write the code to initialize a chrome browser?
8. What are the challenges you faced while automating the project
9. What are the different collections available?
10. Given the scenario how you will write the code for page object model. Login page e
HR Round:
1. Tell me about yourself?
2. Why you are leaving the current organization?
3. What is your Current and Expected CTC?
4. Tell me about your family background?
5. Do you have any constraints on shift timing from 2 pm to 10 pm
Tell me about your selenium experience in projects
Write a program to remove duplicate characters from the string and print the rest
Write a program for Palindrome String
Why use Extent report for generating the reports and write a syntax for log
Explain about Listeners and their usage
Diff b/w String Buffer and String Builder
Limitations of Selenium
When should use Robot class, Actions class and JavascriptExecutor
About multiple inheritance
About Marker interface
Syntax for following and following-sibling in xpath
Diff b/w this and super keyword
hR Round:
About Multithreading
Ways to compare 2 strings
About Window Handling
Explain static and final
public class StaticClass(){
static int a;
public static void main(String Arg[]){
StaticClass obj1=new StaticClass();
StaticClass obj2=new StaticClass();
obj1.a=5;
obj2.a=7;
Sysout(obj1.a);
Sysout(a);
}}}
what will be the output
how static variable are stored in memory?
Give String "abcde" and output required "abc*de"
how do you handle frame in selenium
drivers available in selenium
What is POM.Explain the framework you use.
Just write a sample test case ,for example, for a login page and home page and explain
write the syntax for all three types of wait in selenium
What is maven and how you run a test script with Maven
explain the lifecycles involved in Maven
basic CSS selector syntax. And diff between CSS and xpath
what is the diff between selenium 2 and selenium 3.0
xpath :contains text_ syntax
Between following and following sibling
how will you go into this frame and enter text in the box and come back to the main wi
Alert is there in a webpage but the script is not performing any action on this alert. How
window handles program
how wil you perform roght click operation
diff between interface and abstract class
overloading and overriding and write a sample example for each
Dataprovider program
syntax for groups in TestNG
what are the testNG annotations and what is the sequence they gets executed
Program for reading data from Excel
Reverse string program
5678 "number" should be printed as 8765
Joins in SQL
Explain about the agile methodology followed in your project
what is the regression scenario you do in your project
Explain the top 3 challenges faced in your testing career and how you resolved it
Have you used Jenkins. What do you know about it
Why do we go for grid
how do you register a node and hub
how do you resolve a conflict in github
How do you customize the reports
Static and final keyword and its use
Oops concepts and explain where and how you implemented them in your project
What is Hash map and write a program
List and set difference
Tree, hash and linked hash difference
Webtable syntax
Can abstract classes be declared private
What is constructor and can it be overloaded
Explain your roles and responsibilities in Automation
Explain about your Framework used in your project
Explain the different types of report you use in your project?
How do you take screenshot,write the code for it.
What is data provider?
How you are sending test data to your test ? write the code to read the data from exce
Explain about array list & linked list
Explain static binding and dynamic binding
Explain inheritance,If Super class is put final what will happen
Write a program to reverse a given string, (I write a code using for loop).
Is there any other method you can use ?
Explain String Builder.
Do you have exp in Continuous Integration.
Classification
Core Java
Core Java
Core Java
Core Java
Hash
Array
Core Java
Core Java
Core Java
Selenium - Basics
Core Java
Selenium - Basics
Selenium IDE - Basics
Advanced Java
General - Testing
General
Core Java
Core Java
General
General
submit button should navigate to home page.
in your framework
Cloumn Questions: Classification
1 Explain abt your project
2 What are the roles and responsibilities of you in your project
3 What is "this" in java
4 What is the difference bitween == and .equals
5 How good your in xpath ? (out of 5)
6 xpath - preceding - following sibling when do we use that?
7 ues of pagefactory and where we will use it - advantages of using pagefactory
8 Webtable - from cell1 how to fetch cell2 value
9 windowhandling, How will u move to child window and and how to move back to parent window
10 code for snapshot and explanation for each line
11 what is data provider , why do we use it, which one your using (I told apachi POI ), why not JXL
12 What is Hashmap , where have u used it in ur project?
13 what is testng, why do you use testng and the advantages
14 Have you tested parallel execution in your project
15 What is maven - what is the purpose of POM.xml file
16 Have u used jenkin -why do you use it
17 Have u configured jenkin, what are the steps?
18 I have two submit buttons one on top of the page another one bottom of page. How you click on second button.
and it is not visible in page you need to scroll down how you will do ?
Questions
2 Which frame work you are using?
6 Write test cases for a scenario - eg.entering address
7 Framework - type/flow/structure?

8 Relative xpath - 3 nodes with same id value , 3rd node having additional character "xyz" - how to find relative xpath for the 3rd node?
10 Structure of the framework?
11 where to keep your script files?

19 Write a Java program to print the matrix values in following format

First Round - Pure Selenium


----------------------------------------
20 Qn 1 : How will you get the data from Excel & Write a code for it
21 Qn 2 : Write a code for the following scenario
22 If I click a button, a text button will be populated with a value
23 get the value and check the format is valid or not
24 Qn 3 : In a paragraph, I have to extract the following things
Get only numbers
Get only alphabets
Get only alpha-numerics
Get only spaces
Get only special characters
Qn 4 : How grid is working
Second Round - Logic
------------------------------
25 Qn 1 : I have a string "CZ1234ABC45"
26 For example in for loop : for (i=1; i<=n; i++)
In the above for loop, instead of 1 (one) for variable "i", we need assign the above string
27
28 And it has to increment based on "i++"
29 Write a logic for this.
30 Qn 2 : I have a float value 12345.4566
31 I want to extract only 4566 (ie., the value after dot)
40 8)What are the activities you are doing in your project?
41 9)Which frame work you are using?
42 10)Tell me about the traceability matrix?
43 1) Develop one << Framework >> for registration page and Explain.
2) Write Code: Consider you have one webpage contains nearly 100 fields, how to get all the field values in single line.
44
3) Write Code: How to find all the web elements [like radio button, check boxes, tet areas, etc..] in a page by single line of code.
45
4) Write Code: Consider Irctc From station field, type only 3 characters, in the displayed dropdown view find the first option.
46
47 5) If your applicationperformance is very slow. what you will do
48 6) What is explicit wait. Why thread.sleep
7) Consider if your application having same ids for all elements, what you will do.
49
8) You have 100 textcases in excel. but client want you to execute only 60 tc's. what you will do. Which tc's you choose from excel
50
51 9) Challenges faced in selenium
52 10) Write Code: n=1238975. Find the biggest integer value in 'N'. [o/p : 9]
11) Write Code: n=16845. O/p will be "n=14568". It should be integer value, It should be in ascending form.
53
54 12) Print below pattern. Triangle pattern:
1
2 4
3 6 9

13) Print below pattern. like star. if n=5.[n- user input, If n is even, then terminate prg. If odd proceed]
55
O/p will be like,
1
1 2 3
1 2 3 4 5
1 2 3
1

14) X ="Good Looking"[User input]. Have to find unique characters cout. Should not any duplicate.
56
For Ex. g - 2; o - 4; d - 1; l - 1; k - 1; i - 1; n-1. [Have to print like this]

15) Write a code to Reverse a String. Without using any builtin functions like reverse(), charAt()
57
16) Consider one div having 100 spans with unique texts. How to find expected text using Xpath.
58
17) Write code : Need to capture screenshot of the whole page. Need to scroll the page till end.
59
60 18) Write Code: Find the repeated words in a given string.
19) Write Code: Get values from Ui and compare expected values with from any database.
61
20) Write Code: Identify and form a string with unique characters. Ex. X=Good Looking. o/p = godlkin.
62
63 Following sentence was given:
64 0 1 2 3 4 5 6
65 Tommy attending an Interview while Bob Studying
66 a. Reverse only the words that are in Even number in the above sentence
67 b. Odd number words should remain the same
68 c. After the words are reversed, in the reversed words increment the odd
69 characters alone by one alphabet (ex:- a to b, e to f, etc)

70 Write a program to validate the credit card number having the following pattern:[2312] [932E] [12AB]
72 3. What is continous Integration? Tell something about it
73 4. What is the version tool you used in your project?
74 5. Scenario question:

75 There are three pages 1.Create customer, 2.Edit Customer and 3.Delete customer
76 Create customer -> Create the customer and output will be 5 field values

77 Edit customers -> Get search results , edit and output will be 5 updated field values
78 Delete Customer -> Delete customer (get search results and Delete )
79 How will you test these three pages?
80 How will you get and where will you store the dynamically changing 5 fields

81 How will you make sure you run one after the other ( first 'create customer' and then 'edit customer' then 'delete customer')
82 What is the Element Identifier tool you are using?
83 Your application supports only IE then how will you identify the objects?
84 Are you there in your project from the beginning or you joined later?
85 How did you perform POC? (proof of concept)

86 There are 100 Test cases and you want to run only 10 selective Test cases for regression how will you do that?

87 continuation of above question no.10, One test case i have to run as part of Regression and the same test case
88 should not run as part of Smoke Testing. Both Regression and Smoke should run simultaneously. How will you do that?
89 What is the use of Maven? Why do you want it ?

90 What are the challenges you had in your project? explain with the workaround?
91 Any other tool experience you have other than Selenium?
92 Tell me the Excel columns names in the keyword driven framework
93 In keyword driven framework how will you parameterize?
94 How many test scripts you written? and how long it will take to run ?
95 Explain your current project
96 What is the advantage of using Automation in your project?
97 Quality wise what is the benefit of using Automation in your project?
98 What is the reason for selecting SE for Automation in your project?
99 What is current role in Test automation?
100 What is the version tool you used in your project?
101 Which frame work you are using?
102 Page Object Model - Framework - flow/structure?
103 where to keep your script files?
104 How do you rate yourself on Java?

105 Write a program to validate the credit card number having the following pattern:
106 [AC31] [AD22] [DE14]
107 Write a Program on reverse the string on like blow the this.
108 Str = " My School is ABC"
109 Expected : "CBA si loohcs yM"
110 What is OOPS concept - explain
111 What is Abstract Class?
112 What is Interface?
113 What is different between Interface and Abstract class?
114 what is Final and Finally?

115 Can you tell me the example for Runtime exception and Compiletime exception.
116 How many time you can use Catch block while exception handling?
117 Syntax of cssSelector
118 What is the repositry you have used for objects in framework.
119 Difference between webdriver and remotewebdriver?
120 How does webdriver identifies UI Elements?
121 write the syntax on findElement?
122 Do you use to identify the Xpath? (Relative Absolute sibiling and Precding)
123 Write the xpath using Precding and Absolute?
124 Have you used TestNG?
125 What are the different annotations in TestNG.
126 What is the use of @BeforeTest/@BeforeMethod annotation.
127 How do you do parameterization in testNG
128 What is Data provider?
129 Write the program to reterieve the data from excel?
130 Arraylist vs list?
131 Have you used collections in your code ?
132 Explain the List and set?
133 Different between hashset and hashtable.
134 String to count indvual variable and return count only
135 Exception handling
136 Oops concept
137 How to Find dynamically generating object
138 Collections
139 Diff types of testing using automation
140 Project explanation
141 Tell about career evolution

Aspire systems:
142 1. What is the difference between test ng and junit
144 3. Write an xml coding in testng with groups?
145 4. How to print the values in console in hexagon shape?
1st round:
146 1. Tell about yourself
147 2. What are the frameworks that u use in your project
148 3. Explain about your project structure
149 4. Describe about property files. Where u will use
150 5. How I'll find an element in browser
151 6. Difference between findElement and findElements
152 7. What find elements returns and why

8. There is a page having username, password and login button. U have to give input and press login button, then the page redirects
153 to second page in second page your username should display the ur username resides inside a iframe

154 Explain this scenario using POM write the code for verify that the username is displayed or not
155 9. Write palindrome program "MADAM"
156 10. List the basic tags u have know in TestNG
157 11. Difference between @parameter and @Dataprovider
158 12. What do you know about listeners
159 13. Where u have used listeners and why u have used and how
160 14. Explain about constructors

161 15. Explain about exception and name the expectations that u have most encountered in your project
162 16. Method overloading and method overriding difference

2nd round :

163 1. How years of selenium experience u had


164 2. Project methodology
165 3. Tell about ur contribution in project
166 1. Reverse the string Cognizant without using reverse Method()
167 what is the difference between Test NG and Junit?
168 In triangle shape bound having sooe numbers how to replace 3 numbers into another bound, write the code in Java?
Round 1
169 1. Write a java program to find whether two strings are anagrams

170 2. How would you handle when you want to run a @test only after running another @test?
171 3. Explain about your framework
172 4. Explain the biggest challenge you have faced in automation?
173 5. How will you call a method without creating object for the class?
174 6. What is the default port your node uses to connect to the grid hub?
175 7. Given a number, write a program to find the next palindrome number.
176 8. Difference between xpath and css selector
177 9. How will you compare a string and string buffer?
178 10. Difference between treeset and linked hashset
179 11. Why does collections dont accept primitive data types?

180 12. What is BDD framework? And why do we use that? ( since I have mentioned that I worked on it )

181 13. How will you type ten different names one after the other in next line in a text box using selenium?
182 14. Is video recording possible with selenium?

183 15. How will you convert the existing qtp scripts in a project to selenium scripts
16. How will you design your testng.xml if you want to run all your test cases in 15 different machines in parallel (based on my
184 framework explanation)

Round 2:

185 1. There is a widget commom across pages in your application. How will you handle that? Write code for that?

2. There is a dropdown on which you can also type. When you type something it will get added if it is not there inside. If it is already
there it gets added with an index.. the index will keep on incrementing. Now write a code to type your name thrice sequentially and
186 also check whether al the dropdown options are arranged in ascending order.
187 3. What is abstract method? Can it hold all non abstarct methods?
188 I dont want anybody to extend my class.. what ll u do?
189 5. What is call back in java?
190 6. Have you used method overriding in your project? Explain
191 7. Have you ever heard about java 8? Tell me abt it
192 8. What is anonymous class?
193 9. What is finalize in java?

194 10. Write a program to find whether a particular widget is loaded correctly or not?
195 11. How will you handle windows authentication pop up?
196 12. What is dynamic binding?

13. I traverse through my application randomly which opens new browser eachtime. How wil u handle it? And how will u toggle to
197 the nth window at once?

198 14. How will you manage/overcome merge conflicts when u push ur code to git hub repo
199 15. Best challenge you have faced?

200 16. Some questions on my secondary skill to chk whether I have really worked on it.
Round3 with HR:

This round was just to know you better as a person and a professional. Just be on your natural spontaneity. And keep d conversation
201 lively.. they just chk whether you are really vibrant n sound without asking technical questions.
202 How to write for backword and forward cambatiblity?

203 Like here two version of IE browser is v9 &v10 , So here our written code should suppport to both version
204 Star triangle
205 String reverse
206 String palindrome
207 Fibonacci series
208 Find the number of links
209 How to know that a page is loaded
210 Palindrome number
211 Get element from a web table
212 What is regression testing
213 One SQL query
214 Select a drop-down value (Y/N) according to the respective name and emp id value present in the table

215 1. Explain project


216 2) Issue/ challenges faced in project
217 3) question on RegEx - how to verify username which should accept one Alphabet,numeric,. Etc.
218 4) selenium grid
219 5) Jenkins usage
220 6) more questions on ROI, estimation and process improvement
221 7) diff between ALM/QC
222 1.Explain about the framework which u r currently using?
223 2.Why TestNG you peopel preferred?
224 3.Explain about exception in you framework?
225 4.what are all the different ways u identify object using xpath?
226 5. How many time you can use Catch block in exception handling and is it mandatory u will be using finally block ?
227 6.How to identify the elements which is present in frame inside a frame ?
228 7.In your project you were creating test data for client, how you achieve it? (grid implementation)
229 8.Team handling, challenges?
230 9.in your sprint, how you will be doing estimation?
231 What is mean by junit frame work, explain its features?
232 Have u used both testng and junit in ur project?
233 How to use the dataprovider and explain with example and write the code for data provider
234 What happens if you write the code in below manner
driver.get("http://www.google.com");
driver.get("http://www.yahoo.com");
a)whether two browsers will invoked b)another tab will be opened
c) Exception will be thrown?
235 if any null value/number printed in excel sheet, how will you converted into to string?
236 Write a program from webtable in which column A, column B the sum should be in column C?
237 What are the various quality factors u know, Defect leckage percentage?
238 How will you justify ur product is of highest quality?
239 Advanced xpath like following-sibling, preceding-sibling?
240 How to invoke the browser?
241 Tell about testng annotations and attributes
242 How priority is used, write a syntax for priority attribute
243 what are Listeners Annotations?
244 Write a java program for to count the number of digits in a string
Ex: G123H7JM (o/p= count is 8, digits is 4)
245 Git commands
246 How to push the code to github?
247 what are the difference between GIT and GitHub?
248 Explain ur POM framework
249 Design a page for gmail login, method should be write for username, password, click submit, cancel, forget password?
250 What is mean by jenkins, how to used it in ur project?
251 What is maven? Why maven is used?
252 How many Git commands you know?
253 Explain about your project framework?

254 why you used common methods in separate class instead of using in Pages classes directly.
255 what is reusability
256 Write program which we used for sendkeys in SE methods.
257 Write program for login page.
258 Write xml for which has 3 suites.
when 1st suite should have all classes.
2nd suite should have one class.
3rd suite should have 1 class with only 4 methods.
259 Is there possibility to have multiple data providers for same testcase.
260 what is thread count
261 if we have 100 test cases and have thread count as 150 what will happen
262 If we have 100 test cases and how we exclude the 57th & 59 th test cases alone.
263 what is grouping , write the code for grouping
264 given scenario and asked to program and xpath.
265 What is maven
266 what is the use of page object model.
267 Write the hierarchy of testNG annotations and explain about it.
268 what is @findby annotation.
269 Code to print the length of the string without using any inbuilt methods.
270 How to run the same test for different test data's? Using testng?
271 How to run the same test thrice for same test data?
272 write a code fetch all the Dropdown values, remove the duplicates and null, get the occurances of duplicates.
273 What do you about Agile methology ?
274 How to run the same test for different test data's? Using cucumber ?
275 how you will achieve to run the same test thrice for same test data using cucumber?
276 Read Two values from excel, sum it up and write it in 3 cell
277 Difference between assert and soft assert
278 Fetch the department which has more than 1 employee using DB
279 Fetch the department which has max of salary
280 Fetch the employee name starts with a letter
281 Difference between WebDriver and remote Web driver
282 How
2000 will
testucases
run your
fromframework,?
10 modules,Howonly much time it
5 modules will take
needs to betoautomated
run?? Parallely or sequencially?
in chrome, Edge and safari(iPhone).. What estimation you
283 will give, what are all the criteria you ll look into.?
Have you ever done reviews? If ask u to review the selenium code, what are all the major 5 concepts u will Look into it and
284 eliminate.
Classification
Selenium - FrameWork
Selenium WebDriver
Selenium - FrameWork

Selenium - Xpath
Selenium - FrameWork
Selenium - GITHUB

Core Java

Selenium - Excel
Selenium WebDriver
Selenium WebDriver

Core Java
Core Java
Core Java
Core Java
Core Java
Selenium - Grid

Core Java
Core Java

Core Java
Core Java

Core Java
Core Java
General
Selenium - FrameWork
General - Testing
Selenium - FrameWork

Selenium WebDriver

Selenium WebDriver

Selenium WebDriver
General - Testing
Selenium WebDriver
Selenium - Xpath

Selenium - Excel
General
Core Java

Core Java
Core Java

Core Java

Core Java
Core Java

Core Java

Selenium - Xpath

Selenium - Snapshot
Core Java

Selenium - Database/MySQL / Oracle / SQL


Core Java

Core Java
Core Java
Core Java
Core Java
Core Java
Core Java

Core Java
General - Testing
General

Selenium - POM
Selenium - POM

Selenium - POM
Selenium - POM
Selenium - POM
Selenium WebDriver

Selenium - TestNG
General
Selenium WebDriver
General
General - Testing

General - Testing

General - Testing
General - Testing
Selenium - Maven

General
General
Selenium - FrameWork
Selenium - FrameWork
General - Testing
General
General
General
General
General
General
General
Selenium - POM
Selenium - GITHUB
General

Selenium - Regex

Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java

Core Java
Core Java
Selenium - Locators
Selenium WebDriver
Selenium WebDriver
Selenium WebDriver
Selenium WebDriver
Selenium - Xpath
Selenium - Xpath
Selenium - TestNG
Selenium - TestNG
Selenium - TestNG
Selenium - TestNG
Selenium - Excel
Selenium - Excel
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
General - Testing
General
General

Selenium - FrameWork
Selenium - TestNG, Maven
Core Java
General
Selenium - FrameWork
General - Testing
Selenium - POM
Selenium - Locators
Selenium - Locators
Selenium - Locators

Seleium - Frames, Windows

Selenium - POM
Core Java
Selenium - TestNG
Selenium - TestNG
Selenium - TestNG
Selenium - TestNG
Core Java

Core Java
Core Java

General
General - Testing
General
Core Java
Selenium - FrameWork
Core Java
Core Java

Selenium - TestNG
Selenium - FrameWork
Selenium - FrameWork
Core Java
Selenium - Grid
Core Java
Selenium - Xpath
Core Java
Core Java
Core Java

Selenium - FrameWork

Selenium WebDriver
Selenium WebDriver

Selenium WebDriver
Selenium - TestNG

Seleium - Windows

Selenium WebDriver
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java

Seleium - Windows
Selenium - Alerts
Core Java

Seleium - Windows

Selenium - GITHUB
General

General
General
General - Testing

General - Testing
Questions Classification
1 I attended amazon but didn't through 1st level.
2 written test questions:
3 1. Test case enumeration for Credit card authorization system. General - Testing
4 2. Write code to remove duplicates from a string. Eg. Input: Call taxi. Output: Cal ta
Core Java
5 3. Write code to find largest sum from contiguous sub array. Core Java
6 4. Generate test data for time difference function. General - Testing
7 5. Debugging scenario for YouTube video not playing General - Testing

17
22
#
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Questions
How well you find elements in webpage.
How to find broken links
Frame windows and alert
Listeners concept
Collection
testng concept
Actions (mouse over)
Exception concept
Xpath (relative and absolute)
Snapshot code
What is data driven framework and why it is called as data driven?
What is keyword driven?? Bdd is a keyword driven or not?
Write fibbanoci series till 1000 and do dry run.?
Selenium Grid?? Why do use that?? If you say crossbrowser and platform testing?? We can do it in different machines with different capabilities?? Why grid?
Why Jenkins?? Schedule and running the job can be done through window handler, then why u still need Jenkins?
Write a sql to fetch the Dep name which has the maximum no of managers.?? Have to use group by and sub query concepts.
Classification
# Questions
1 Manual testing scenario
2 A program to find more number of positive or negative in an integer array and Preparing test data
3 How would you click on an element which is not on the visible part of the screen
4 10 coins puzzle
5 Write test case for Amazon shopping cart and account
6 Find xpath for a link
7 How would you verify ui using automation
8 What's test scenario and test case
9 How would you prepare test data
10 What is test data optimization
11 Explain test data optimization techniques
12 What's your role in your project
13 What's the reason for change of job
14 Given an integer array, find which two elements gives the maximum product
15 Given an integer array, find which two elements gives the maximum product(Using Sorted Array)
16 Tell me about yourself
17 Reason for job change
18 Given a test condition they asked us to write scenarios and clarification on that test condition.
19 Write valid and invalid data to check an email id field.
20 Write a program to find 2nd largest element in an array.
21 What do you know about Encapsulation?
22 Different types of testing, defects, agile process…
23 About your project and your role..
24 more question on agile and all basic testing questions
25 Given some testing scenario how to handle it.
S.No: Questions:
1 The term push and pop is related to the - a)array b)list c) stack d) all of the above 2. FizzBuzz
2 FIZZBUZZ Write a program that prints the numbers in the given range.
But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”.
For numbers which are multiples of both three and five print “FizzBuzz”. Print a new line after each string or number.
3 Input Format First line will be the number of testcases, T. Next line will have T integers, denoted by N.
Output Format For each testcase, print the number from 1 to N. But follow the rules given in the problem statement.
Constraints
1 <= T <= 10
N is an integer.
4 WAP to get OS name and user name using Java
5 WAP to get data from db And put it in hashmap
6 WAP to get data from xml file and put it in hashmap
7 WAP to get data from csv file and put it in hashmap
8 WAP to get the count of radio buttons which is not selected in a page
9
10
Classification
Java
Java

Java
Java

Java
Java
Java
Java
Java
Questions
Round - 1:-
1 Tell about yourself
2 Explain your experience in Automation
3 Role in Automation
4 Write a program for registration page : Click on register link in web page. Then fill all the fields with external data source. Finally click on submit.
5 Explain each and every line. what it will do [4].
6 In the same scenario[4] , how you read the data for 10 different test data.
7 How to get count of all the links in web page
8 How to read the data from Notepad.
9 How to read the file which is present in Network [Like SharePoint].
10 Explain manual testing cycle from requirement
11 Defect Life cycle
12 How to instantiate Chrome driver.
13 Did you attend any Client calls from Onsite
14 What is Maven, Git, Jenkins
16 Round - 2:-
17 Limitations of Selenium
18 Write a code for taking screenshot
19 How to handle Alert
20 How to handle multiple windows
21 Annotations in TestNg
22 Hierarchy of TestNg
23 Diff bw 'Defect Retesting' and 'Regression Testing'
24 Do u know Database testing
25 Which project is in which domain
26 If u have 100 scenarios. In that u have mixture of smoke and sanity scenarios. want to run smoke alone. How to handle this with TestNg.
27 What are the reports u r maintaining
28 1) Tell me about yourselF
29 2) How to read data from an excel? Write code and explain?
30 3) What are the annotations available in TestNG?
31 4) One question on when to use 'Success percentage' attribute in TestNG
32 5) Explain Defect Lifecycle
33 6) sceniario: clicking on a link in a Window will take you to another window.i want to click a link in another window. how will you do that?
34 7) what are locaters available in Selenium? Which is the least prepared, most prepared & how?
35 8) what are the challenges you faced in selenium?
36 9) what is the report used in your project?
37 Explain what is BDD,TDD, DDD
38 Explain the feature file
39 What are the keywords in feature file.
40 How would you pass the parameters from outside a class.
41 Difference between find elements and find element.
42 What is relative xpath.
43 Explain following-sibling.
44 How many locaters are present in selenium and explain each with an example.
45 How would you do drag and drop
46 How will you find the total number of url's in a page
47 I was asked what version of java that is been currently used in my projects..and the question was the difference between the current version I'm using and it's p
48 Given an array
Int a[ ] = { 1,4,8,3,7,6,2}
How would you sort the first four elements alone.
49 How will you create a jenkins build.
50 What are the plugins required for Jenkins.
51 Explain about the version controlling software you use in your projects.
52 What is bit bucket.
53 Write a program to find whether a given number is prime or not
54 Program to change lowercase letters to uppercase and vice versa.

55 How to Open browser with some customized settings?


56 How to go to homepage directly if in previous session we logged in?
57 Maven build jar file to push to GIT how to secure from virus or hackers?
58 Access modifiers
59 Protected method can be acces if class extend from another class?
60 Window move to different position?
61 Xpath of text if there is paragraph inside div tag and in paragraph there is a text, how to get that text
62 Explain Set and list? Give example where ur using in your project?
63 Difference between String buffer and string builder
64 Explain Interface
65 Public static void main-- static public void both are correct?
66 Write pgm on scenario based questions using list , hash map, set..
67 Available reporting options in target output folder
68 Explain Extent reports usage?
69 What is Cucumber options attributes and it's need
70 How will you validate xpath
71 Write xpath to find child elements..
72 How to minimize window using Selenium?
73 How to switch to parent window in frame
74 What are different ways to find frames in a web page
75 How will you handle pop-ups in webpage
76 What do you know about windows based pop ups
77 Syntax for switching to 5th window
78 How to handle multiple windows
79 Rate yourself in java
80 What is the advantage of using maven in the project
81 Where you added jar files in your project ?
82 Can we use two main methods in single Java class? if yes, how how will you do ??
83 Write the program for the possible permutations of the given number
84 Hash map - few questions they asked and how to retive all the devices in a page and find out your exact device, what u will use in your office?
Classification

General
General
General
Selenium WebDriver
Selenium WebDriver
Selenium WebDriver
Selenium WebDriver
Selenium WebDriver
Selenium WebDriver
General - Testing
General - Testing
Selenium WebDriver
General
Maven, GIT, Jenkins

Selenium WebDriver
Selenium - Snap shot
Selenium - Alert
Selenium - Windows
Selenium - TestNG
Selenium - TestNG
General - Testing
General - Testing
General
Selenium - TestNG
Selenium - Report Generating
General
Selenium - Interation with Excel
Selenium - TestNG
Selenium - TestNG
General - Testing
Selenium - Window Handling
Selenium WebDriver
General
Selenium - Report Generating

ent version I'm using and it's previous version..what are the new features ?
# Questions
1 write a java program to print pyramid ,
2 reverse a number but need to store in a single number I/p: Dipti Ranjan Das,o/p: D.R.Das,
3 differents between Hashmap and HashTable,
4 read from excel,
5 autoIt,
6 mouse hover, open a browser, go to file and save it.
7 How to handle tooltip,
8 write a program to read from PDF,
9 questions from C and C++ as I mentioned in my CV. Handle windows and we table..
10 Write a Sorting program for String without String inbuilt method
11 Write a singleton program in java with double check locking
12 Write a Binary search program in java using recursive algoritm.
13 Write a java program to implement single linked list and perform adding a new node and
print single linked list in reverse.
14 write a java program for serialization and deserialization .
15 Write a java multithreading program to print even and odd using wait() and notify()
16 Write a email validation program in java
17 Write a java program to find the maximum number in an array
18 What is user defined excption and write a java program to create your own exception
19 Write a java program to find the number of times values duplicated using HashMap for below
String array: { "111","222", "333","444", "555", "222", "111", "333", "111", "222" }
20
Classification
java
java
java
selenium
selenium
selenium
selenium
selenium

Java
java
java
java
java
java
java
java
java
java
java
java
1
2
3
4
5
6
7
8

9
10
11
12
13
14

15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50

51
52

53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76

77
78
79
80
81
82
83
84
85
86
87
88
Questions
Capgemini interview questions
1st round
explain ur framework
How to handle alerts
Switch to last window - write code
Drag and drop
Some question in action class
Maven advantages
How to handle secured HTTPS site - Firefox profile
Class
2 nd round:
Write code for read excel
Write code for connecting DB
What are the challenges u faced while creating framework
What else u contributed in creating framework apart frm Selenium code.
Explain ur framework , given paper and pen to draw framework structure - explained 20 mins
For some ppl thy asked Java question too. Oops concepts, interface constructor , abstract class, etc

Check if the given string is palindrome or not.


You have a string with Alphabets,numeric & special character. Write a code to print alphabets,numeric and special character separately
Diff between List and Set
Assume you have a table with Col A as {1,2,3,4,5} and col B with {4,5,7}. Write a Sql query to fetch the common data alone
Given an array int a[] = int a{1,2,2,6,7,3,4,4,5,5,6,7}. Find the duplicate numbers in the above array and store in to a seperate array
Explain about your framework
Write a program to copy all contents from one excel sheet to another sheet?
difference between findElement and findElements
% of automation tests and manual tests in project ? How will you classify the test cases to be done in manual or automation
Challenges faced in selenium
Write a code to read a data from excel and verify the data matches with the drop down option availabe in page
You have 5 windows. If title matches with that window then leave it open else close the window.
What are all the exception you know
How will you click on the element that is present in a nested frame
Write a code to print the number in reverse order and if it is odd number omit it
How will you know that the element is visible or not in page
Print the total no of broken link in page
How will you run failed cases in testNg
Say in those failed cases some cases are not ready and need to be omitted. How will you achive it without changing the code
Write a code to run the same code twice and it should complete within 3 sec
Method A has annotation priority 1 and Method B has depends on Methods A and priority 2 and Method C has priority -34. In what order the method executes
How to run entire code in package and exclude only 2 method in class without changing code
What do you know about inheritance
What is overloading and overriding
Say a variable is declared as static in Class A and Class B extends Class A. Can I modify the varible value in class B
What is reflection in java
How will you run a specific set of testcases in parallel ans some testcases in sequential
How do you verify that the checkbox is selected anf if not the select the checkbox
1.csv and xml file format reader
2. Click check box in a frame and enter text in another frame and come back to previous frame to submit
3 tell abt ur framework
4 what s ur role in jenkins
5 inner join and left join
6 why you cmg out of amaZon
7 drag and drop : is it possible to drag from an window and drop it on another window
8 . Given a input 123abc,;) i need output as a= 123 b = abc c= ,;)

1. WAP to reverse your name


2. WAP to display the following output
Input - fname143 lname
Output - fname lname8
3. Write a logic to close all the child browser and come back to the parent browser and perform some action
4. How do you perform a right click
5. What is Jenkins
6. X path syntax for following and following sibling
7. How do you scroll using java script executor
Click the button with out using click(), submit().
What is scale out error and how you overcome that error
Difference between absolute nd relative xpath
Super interface for webdriver interface
What is arrays?
What is overloading
How to give input text in the text box with out calling the sendkeys() method?
What are the ways to refresh the browser using selenium?
How to handle hidden elements in selenium webdriver?
How to download in slenium?
Difference between absolute nd relative xpath
Difference between final and static
What is string builder and string buffer
Java string is mutable or immutable
How do you read a javascript variable in selenium webdriver?
How would you make sure that a page is loaded using selenium ?
How can u send text input to a focused element?
what is staleElementException?
How do you deal with frame elements in selenium on a page?

Framework explanation
Explain about Bug life cycle
How to switch the frame
Write a code to Read the data from excel.
How to get the value from dynamic web table
What isRe test and regression testing
What is cucumber? What do you about cucumber
Explain Cucumber tags
What is Hooks ,What is dryRun
What is scenario outline, scenario
Write a java program to print the unique char in a string
Classification

Selenium - FrameWork
Selenium - Alerts
Seleium - Windows
Selenium WebDriver
Selenium - Actions Class
Selenium - Maven
Selenium WebDriver
Core Java

Selenium - Excel
Selenium - Database/MySQL / Oracle / SQL
Selenium - FrameWork
Selenium - FrameWork
Selenium - FrameWork
Core Java
S.No: Questions
1 Code to extract html source
2 Find out file and delete which is older than 12 days
3 Lower case to upper case and viceversa string conversion
4 Quit and close required parameters and does it returns any value
5 Tell about @factory and @dataprovider annotations
6 Get screenshot with vertical scroll bar (hint - external jar can be used)
7 Double and int round off question
8 If program execution is slow, checkpoints used ?
9 Regular expression for converting string to integers (words given )
10 To write x path for selecting 2 ND row 2 ND column in a webtable opened in second window
11 Automation of window based apps
12 Some maths puzzles
13 Tell me about ur Framework
14 Explain about Pom.xml
15 Explain Testng annotations
16 Write a java code to convert GoOd moRniNg to gOoD MOrNInG without using tolowercase and touppercase
17 Java code to find files in folder and delete the old 12 files.
18 Write script to Get screen shot with vertical bar
19 Find HTML source of an web element
20 Write regular expression to get Dynamic 7 integer in string-testing1432567src
21 Existing code is slow how to improve Performance.
22 Set size of the web browser in the script. Set size 420,000
23 Difference between @factory and @dataprovider
24 Script to Get currently focused webelement.
25 Difference between close and quit.
Classification

Java
Selenium
Selenium
Selenium

Java
Selenium
Selenium

Selenium
Selenium
Selenium
Core Java
Core java
Selenium
Selenium
Regex
Selenium
Selenium
TestNG
Selenium
Selenium
#
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Questions
Can you please explain briefly about you, the projects you handled and the role you played
Can you explain about the framework used in your project
What are the locators that you have used
I want to goto a window , Gettitle of that window, again to goto another window and get its title and return back to the main window. Can you please explain the log
what is a fluent wait
what is difference between webdriver wait and fluent wait
What will implicit wait do
what is overloading. Can you overload a main method
I want to run a program without main method. How to do it
When we use Actions class what is the import that is done in eclipse. Is it selenium import or java import
Syntax for Actions class and how will you use it
Drag and dropby and click and hold with example
Why do we use build.perform in Actions class
What is a constructor
What are access modifiers and their use
What is super and final keyword
How to create object on an interface
What is diff between abstract class and interface
Have you worked in collections
What collections you have used in your project and why you used it
Webtable implementation
What wil you do in git after commit
String builder Nd stringbuffer
What is aggregation
What is innerjoin
What is STLC
What are the types of testing you know and how have you used in your project
Are you ok to work in manual testing project for sometime
Explain about agile methodology
Challenges faced and how you handled it
What all the different phases of STLC(Software Test life cycle)
List out different techniques used in manual testing and explain them in simple words
Choose any one of all the listed product and write out negative scenarios which you think that will fail the product.
Choose any of the product of your choice (Black Pencil ,mobile phone ,white paper )
Classification
# Questions Classification
1 Explain about framework
2 project Explaination
3 defect tracking tool- jira
4 how to handle window based popup
5 how to handle the adveriste in webpage
6 how to check whether radio button is clicked
7 how to take screenshot
8 rate your self in java and selenium
9 Basic question on C#
10 Do you worked in cucmcmber framework
11 what is test driven approch
12 what is page object model
13 how to handle alert
14 xpath sibling following
15 how to scehulde a job in jenkin
16 where u strore test data
17 Microsoft testing tool
18 Do you know paython
19 what is ALM/ Quality Center
20 Bit bucket
21 Jbehave
22 have you do image testing
23 how to get report of only failed test case in testNG
24 how you write script for email creation ( if email alreadsty exists it should not allow to create )
25 Challange face in selenium
26 Code to read Excel file
27 @after suite vs @before test
28 how to determine how much testing can automated. ( explain with example )
29 why you choose selenium for automation
30 your role and reposiblitiy in project
31 What is BDD approch
32 how much test case tested manually in ur porject
33 write a code for any method you implement in your project.
34 where you store you test data and test case
35 Agile
36 Scrum
37 sprint
38 user stories
#
1
2
3

5
6
7

8
9
10

11

12
Questions
In a test, what is the difference between a failure and an error? How do you differentiate between the two in test
You have a test that is failing, what do you do?
You are testing a Java Object that is supposed to be a singleton. How do you prove that it was implemented correc
Given the URL:
https://qarocks.comcast.com/v1/user/77881f73-f3fb-4d92-9e7e-fa556b4c0247
What would you expect GET to do and what would you test.
Given the URL:
https://qarocks.comcast.com/v1/user/
With a JSON body that represents a user, what would you expect POST and PUT to do and how would you test them
What is a feature file in Cucumber and what does it contain?
Given the class belowWhat are the access limits of var1, var2, var3 and var4? How would you test each one?
package sandy.beach;
public class Seashell {
public int var1 = 1;
protected int var2 = 2;
private int var3 = 3;
int var4 = 4;
public Seashell() {
}
}
You are responsible for testing a system composed of 5 different modules that pass data from A -> B -> C -> D -> E.
When testing a web UI with Selenium you often use findElements(args)to aid in validation. How do you choose wh
Given an API with the following signatures:
public int addUser(User u)
public User getUser(int userId) throws NotFoundException
Write a jUnit or TestNG test that covers the positive ‘happy path’. Assume, for this question, that the User constru
Write a test for the above that covers the exception flow of getUser().
The standard Asserts in jUnit and TestNG have a variant with an extra String parameter (e.g., Assert.assertTrue(boo
Classification

st approach (types of tests, etc.) so that you can test things as they are delivered?
he element you wan
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Questions
Configuration and Execution of testcases using Selenium/Maven/TestNG/Jenkins

How to find the nearest element to a given element using xpath


How will you trigger an event in selenium
How will you parameterize data in selenium webdriver
TestNG data parameterization using excel
Format of testng.xml and maven pom.xml
How will you take snapshot with Selenium Grid
Consider there are 6 methods in your class, you need to run the first three in sequential order and next three in parallel.How w
Consider there are two elements in a page with same id.How will you locate it ?
You need to identify a element inside a frame and then you need to click on the element/link outside the frame.Write a code f
Java:
Encapsulation
Diff between overloading and overriding
How will you prevent a method from overriding
Diff between JDK and JRE. Which one of them is platform dependnet?
Inheritance with example. - Can secondary subclass can inherits the methods and variables of super class ?
Write a java program count of vowels, digits, consonants and space of the given string.
String palindrome
Armstrong number or not
General question, as per your view mobile phone is boon or bane. Write on this topic 15 lines.
Write a java code to scroll a web page
Write a code to handle alerts in the web page
Create a method to get specified tag elements and store in a list
Write a code to check whether web pages are loaded or not?
Write the code for uploading images in the web applications, having the file as input as source input when an upload button is
Write a program to find Nth largest number in an array?
Write a program to find the sum of the first 1000 prime numbers
Write a program to print all permutations of a given string?
Write the code for providing unique e-mail as input to a text box, every time?
Classification
Selenium - TestNG, Maven,
Jenkins
Selenium - Xpath
Selenium WebDriver
Selenium WebDriver
Selenium - TestNG, Excel
Selenium - TestNG, POM
Selenium - Grid, Snapshot
Selenium - TestNG
Selenium - Xpath
Selenium - Frames

Core Java
Core Java
Core Java
Core Java
Core Java
Questions Classification
1 Palindrome - code Core Java
2 Print all 111, 222,...999 no's.. Code Core Java
3 Tell about yourself General
4 Handle drop down Selenium WebDriver
5 How to switch bw windows Selenium - Windows
6 Automation experience in your project General
7 Reason for leaving CTS General
8 Draw framework diagram in your project Selenium - FrameWork
9 Type of reports Selenium - Reports
10 Binary search
11 Armstrong number
12 Sorting
13 Remove duplicate string from Array
14 Print a triangle program for value 9
15 Given 4 strings,perform collection operation.
16 Choose the minimum value in the given array, if the value given
17 Use recursive function to write a program
Second round F to F discussion..
18 Tell me abt ur self and ur project
19 Tell me abt ur Framework
20 diff between Webdriver and Remotewebdriver
21 TestNg and Apache POI
22 Java collection
23 SQL related questions
24 write a coding to read excel content......
28
Questions
1 What is the framework you are using?
2 Can you explain the framework functionality? deep dive..
3 Your role in your automation team.
4 Do you know Robot framework?
5 Explain TestNG XML structure.
6 How do you connect to a database in java
7 What are the different ways your database url can be ? apart from http://
8 Is it mandate to close statment object in DB code ?
9 Write code for db connection and walkthrough the code.
10 Can you explain about List Interface.
11 Usage of List interface (explained with select class).
12 Can you impose selectByVisibleText / selectByIndex methods on list interface reference created (continuation to above).
13 Without those methods how do you select the dropdown values
14 Ans: (ls.get(index).click()) where ls is the getOptions() reference.
15 How do you select the 2nd select value from the dropdown (selectByIndex)
16 How do you do parameterization in testNG.
17 Give an example for dataprovider.
18 some questions on Object class (can it have array type? why? etc)
19 How did you do parameterization in your framework
20 Why specifically JXL? whynot APACHE POI.
21 What is the difference between jxl and apache poi.
Can you write a sample code using JXL and walk through the code (they are very keen on the methods along with parameters and try to
22 confuse us).
23 What type of reports you generate.
24 What are the ways in you can create your own customized html report (Ans: XML to HTML / directly in notepad)
25 Can you design a framework on your own and what would be your considerations ?
26 Comparing 2.45.0 jar and 2.46.0 jar what are the advanced features in 2.46.0?
One webElement "India" (text) having same properties in all the builds. But the location of "India" keep changing in each build. Write code to
27 find "India" in every build and click on the checkbox next to it?
28 How will you verify the colour of the heading in a webpage is as expected (colour)?
29 There are multiple frames in a webpage. Say three frames one within another, how will you find an element in the inner most frame?
30 What is WebElement? Is it interface or class? explain?
31 What is compile time and Run time polymorphism?
32 One Element is not identifiable in a webpage. Why it is not identifiable in a webpage? (Note: It is not an Alert)
33 Where will you have your locators in your framework?
34 How will you pass data without using 'Sendkeys' method?
35 What are the methods available in an 'Alert'?
36 How will you click on a button without using 'Click' method? [Keys.ENTER not expected]
37 Difference between Interface and Abstract Class?
38 Load a browser and go to google page
39 I have 100 test cases with me. How will you estimate?
40 How many Scripts you will automate per day ? How many Simple, Medium, Complex test cases?
41 Why do you need a framework? what is the use?
42 Have you used Java Executor?
43 Have you created Abstract class in your project?
44 "driver.findElement(By.id)" - What is driver here? What is 'By' here?
45 What is the IDE you are using? How will you get the Jar files in it?
46 How will you read data from an Excel? write code and explain?
47 What is the folder structure of your framework? Explain?
48 How will you get all the links in a webtable?
49 1. Explain all the oops concept with real-time example
50 2. Write a sample script in selenium for login pages with all coding standards
3.Consider you have 200 test cases and it will take 4 hours to complete. After run 100 test cases got failed, so how do you rerun only the
51 failed test cases ?
4. If you want to rerun the test exactly after the failure you need to call the method that failed. You can get that method name from
52 ITestResult object.
53 5. If you want to rerun all the failed test cases together, then you can give the testng-failed.xml as input xml after the first execution
54 1.
2. Can
Givenyou
andesign a framework
application from scratch?
with 100-200 teat cases and it is stable, what all would you consider for designing a framework and how would you
55 start.
56 3. Explain your framework structure
4. How will you initiate your reports? (I told him about one line that we use to initialize extent reports). Is this one line enough to initiate the
57 reports?
58 5. Draw a block diagram of how tour framework looks like. (He then said no need as I was again going like framework folder structure)
59 6. How are your data sheets? In excel or any other format?
7. I have an excel data sheet with certain number of rows and columns. Can you write a code to read data from that and store it into any
60 collection? (I used Array List)
61 8. Why do you use list here? Why not anything else? Why not hash map?
9. If there are two elements in a Web page (they have unique identifiers for themselves), one of them is underlined and other one is not.
62 How will you identify the one that is underlined.
10. If i have a Web page, when I click on a link in d Web page, another page opens in a new window. Inside that window there is a frame that
63 has another frame within it. Tell me the steps to get the text of an element inside the second frame (starting from first window)
64 11. What if I have to close the second window?
65 12. What Is the difference between quit and close?
66 13. If I have any manually opened browsers, will quit close them?
67 14. Do you know the evolution of selenium? From selenium RC? Do you know selenium RC backed webdriver concepts?
68 15.
16. Why
Whendoyou yougive
usedependencies
maven? Haveinyoutheworked withwill
POM.xml, continuous integration?
maven check for the desired dependencies with your local system or with the
69 Internet?
70 17. What is POM? (Page Object Model). What is the difference between POM and the normal project models?
71 18. I have a home page, search page and results page. Do I need to create objects for each page to access the elements of the page?
72 19. If I'm not creating object for the search page how will I be able to access the elements of that page?
73 20. If my home page is not available, will I be able to move to the further pages?
74 21. What are the exceptions that you have come across?
75 22. How do you handle those exceptions?
23. Suppose in a page, when I click on a link, an alert might appear asking it to wait... Or it may not appear in some cases. How will you
76 handle this situation?
77 24. Reverse the string Cognizant without using reverse Method()
78 25. Cognizant
79 1) Find the length of the String (length)
80 2) Loop from length - 1 to 0 (for length-1 0)
81 3) Get the character of the position - one at a time: right -> left (charAt(i)
82 4) Concentate the character (+ / concat)
83 5) Print
84 26. Find out the most repeating character in the string Cognizant
85 27. Find out the least repeating character in the string Cognizant
86 28. Print diamond in the console
*
***
****
***
*
87 29. Find the position of 2nd last character 'C' in the string "Congizant India Deveopement Centre"
88 30. Write a java program to replace aeiou (with 1,2,3,4,5) in the given string "Photon Info Tech"
89 1.Tell me about the framework used in your project
90 2.How to read data from excel ?
91 3.how to handle multiple windows ?
92 4.TestNG annotations and arrange their structure
93 5.how to ignore test cases?
Java Questions:
94 1.whether interface can have constructor ? Explanation reqd
95 2.how to access private data members from outside the class ?
96 3.
1) difference between
The interviewer hashmap
asked and table
how strong ?
in Selenium and Java to rate myself from 0(Least) to 5(Strong), i answered Selenium as 4 and Java as
97 2.5/3.
2) difference between findelements and findelement ? What is the error occurs if the locator is missing on both will it give error / null /
98 exception for both
99 3) Difference between Array list and linked list?
4) What is Maven?, how we use maven in Eclipse and where, What is the syntax in pom.xml? they are expecting the exact tag names in
100 pom.xml..
101 5) What is TestNg how we integrate TestNG with selenium and how it is linked in POM.xml everytime?
102 6) they given web table like below and asked the Xpath relationship between them,
<tbody>
<tr>
<td> 1 </td>
<td> 2 </td>
<tr>
<tr>
<td> 3 </td>
</tbody>
in the above code tell me what is the relationship between 1st <td> with <tr>, what is the relationship between 1st <td> with <tbody> and
what is the relationship between the 1st <td> and 2nd <td> in Xpath? - Mainly they are expecting the terms used to call like siblings,
103 predecessor / parent and ancestor....
7) why Array list is faster then Linked list? since both are locating the Index what is the difference?only these 7 questions they asked me....
104 other questions asked for other candidates are as follows
105 1) What is Page object model project structure? and benefits over other frameworks?
2) what is TestNG and give the annotations in order and parameters passed in order? he asked me 2 more questions related to TesTNG to
106 me such as
107 8) What is the parameter to be used to execute the testcases repeatedly, and for threadcount, thread pool size, max instance etc?
108 9) difference between depends on group and depends on method?
109 10) difference between priority and depends on methods with e.g
110 11) if we give parameter as both priority=0 AND dependsonmethod=method1which will be executed 1st?
111 3) given as scenario such as the web page with personal information and a submit button given
Click on the submit button -> opens the new webpage in that we will see a button "Sign in" and once clicked the username and password
label
and text box displays and give credentials and click on login button our name displays on the same screen on top left corner -
Verify the text displaying in the position and navigate to the parent screen. in this webpage the close button / any other exit is not available.
112 How will you navigate back to its parent window after verifying?
113 in Xpath if there is no locators and no names or values present....write your own relative Xpath ?
114 1.interviewer wrote Testng annotations in a paper and asked me the order it works
115 2.If @ Test us removed what is the exception we get
116 3.what is POM in maven what is snapshot in pom.
117 4.difference between find element and elements
118 5.how to get the value of the underlined text inside the frame
119 6.do you know about maven and Jenkins? Why we use maven
120 7.write a code to read data from excel using dataprovider
121 8.what is setting .XML in maven
122 9.how does testng works with maven group id and version in pom
123 10.what is artifact id

Qns asked in CTS today :


124 Tech round 1
125 Tell about ur prj
126 Java - Qns related to static, final, abstract, interface , exception handling
127 Selenium - frame handling, window handling, excel read write
Tech round 2
129 How you implemented automation in your project?
130 Explain your framework in detail
131 What difficulties faced and how you overcame them
132 How u did reporting of results
Round 3 - HR
133 Very general questions like tell about yourself, why you want to quit your current company, why you want to join CTS etc
134 On the whole, nothing was asked outside of what we learnt in these 2 months 😊

135 1) Find the length of the String (length)


136 2) Loop from length - 1 to 0 (for length-1 0)
137 3) Get the character of the position - one at a time: right -> left (charAt(i)
138 4) Concentate the character (+ / concat)
139 5) Print
140 2. Find out the most repeating character in the string Cognizant
141 3. Find out the least repeating character in the string Cognizant
142 4. Print diamond in the console

*
*

*
*

143 5. Find the position of 2nd last character 'C' in the string "Congizant India Deveopement Centre"
144 6. Write a java program to replace aeiou (with 1,2,3,4,5) in the given string "Photon Info Tech"
145 1. What is Implicitwait and explicit wait?
146 2. Asked to write code to launch google page
147 3. Asked to write syntax for relativeXpath
148 4. Asked to write xpath for visibletext
149 5. How to achieve DataDrivenFramework ?
150 6. What is POM?
151 7. What is TestNG ?
152 8. Difference between @BeforeTest and @BeforeMethod
153 9. What is collection? List and Set
154 10. DesiredCapabilities
155 11. There are 100 rows (i.e. <tr> tags) and each row has three test data ( <td> id</td>
<td>name</td>
<td>dept</td>
156 Here 20 rows have duplicate values for name value. How do you check it?
157 13. Difference between List and Set
158 14. Interface
159 15. Difference between Abstract Class and Interface
160 16. Why multiple inheritance not achieved by class?
161 17. Explain about your framework
162 18. Group execution
Technical Round 2:
163 1. Explain about framework
164 2. How datadriven is achieved?
165 3. What is class and package?
166 4.list few packages which you have used in selenium
167 5. What is class and object?
168 6. Can static varibles /methods be overrid?
169 7. few questions on my project
Questions that I have faced today in CTS:
Round1:

170 1) Tell abt yourself!!


171 2) Rate yourself in Java and selenium out of 5
172 3) tell abt your project architecture
173 4) Design pattern of your project for a login page.
174 5) Write a wrapper Method for Click function which should work for both string and a web element
175 6) What is object repository
176 7) Suppose a list of 10 data with a common id=xyz, get text of all the web elements and print it.
177 8) continuation of above, I want only the 5th element and check whether it is String or not
178 9) What are different locators you have used in your project?
179 10) what is the relative xpath? And how many types of xpaths are there??
180 11) What is annotation in testng
181 12) how many annotations are there in testng
182 13) if in a class extends super class there are four methods suppose
@Test {sysout ("1")}
@Test {sysout ("2")}
@Test {sysout ("3")}
@Test {sysout ("4")}

183 And in super class


@Before method {sysout("bm")}
@Before test{sysout("bt")}
@Before class {sysout("bc")}
@Before suite{sysout("bs")}

184 What will be the output of the above

185 14) what is grid and tell the implementation


186 15) how Jenkins will be useful
187 16) Explain keyword driven model?
188 17) what is maven? How you have implemented in ur project?
189 18) in testng how XML works??
190 19) how u ll run a suite level in XML?
191 20) what is an exception??
For this below code
If(findelementbyid("xxx").isdisplayed)
{
Sysout("true");
}
else {sysout("false")};

192 What will happen in the above code??


193 21) what will happen if webelement not found in the above code?
194 22) when the exception will come in the above code? And when else block will be executed?
195 23) what are the exceptions you faced in project? And try catch
196 24) what is soap ui and service testing
197 25) Where you executed SQL in ur project
198 26) what is function overloading and function overriding
199 27) what kind of role you want, coming executing two three test cases and going home or taking up new challenges and completing them??
200 28) do you know abt mobile automation?

Round 2:
201 1)Give brief intro abt yourself??
202 2) how you have implemented your project in testng annotations!!
203 3) tell me how you have implemented maven projects and importance?
204 4) tell me abt Jenkins and implementation
205 5) tell abt wrapper classes and page object model how you implemented in methods
206 6) how you ll implement testng in the page object model
207 7) where reports will store in pom
208 8) What is soap ui tool and soap ui pro tool?
209 9) tell me the implementation of the hub and node in grid, why we should go for the grid.
210 10) Do you know abt mobile automation??

Hr round:
211 Why you wanted to switch the company??
212 Experience and relevant Experience?
213 And package discussion!!

Cts Questions which I faced:


Round 1:
214 1. Tell me about yourself. Relevant automation experience.
215 2. Have you used IDE? What is ide? What is the use of ide.
216 3. Can you run your complete suite in ide.
217 4. Can you use chrome driver reference directly in your script ? Will it work? - this I answered how we used to do at test leaf. But said like we need to add chrome
218 5. What is Maven.why maven?
219 6.structure of Pom.xml
220 7. In Pom.xml I want to parameterize version how do you do that?
221 8. What is sure-fire? Why do we need it?
222 9. POM model?
223 10. Constructors. Why do we need constructors? What's the use of it?
224 11. List a few webdriver constructors?
225 12. Constructors with parameters?
226 14. About Jenkins
227 15. Overloading, overriding
228 16. There are 3 environments. Each has a text box with differen label names to enter, but all locators and properties are same for all three. How to give input corr
229 17. TestNg xml is in one ip address. I want run in other 3 different machines with different ips how?
230 18. Tell some exceptions that you have faced.
231 19. What is staleElementException
232 20. Static and final
233 21. For final he asked to write code and asked me the out our when I change the final value and what exception will it throw?
234 22.some more have and selenium on the go while answering.
235 Round:2
236 1.Windows, pop ups
237 2.upload file
238 3.POM model
239 4.if locators keep changing how do you mange?
240 5.some array related questions.
Round3:
241 1.challenges faced
242 2.their current project challenge and if I have a solution
243 3.about object. Properties
244 4. About git
245 5. About agile model
And some General dicussion

246 1.Use of get and set method in java


247 2.What is hash table
248 3.What is hash set
249 4.How to connect to db write code
250 5.How to get a unique id from the string "id:9864 ".say multiple ways
251 6.What is interface
252 7.What is inheritance
253 8.What is abstract class
254 9.How to insert a data into an array
255 10.How to move to the tag which has no attributes.write 2 ways
256 11.What is the framework used in your project
257 12.What are the different annotation used in TestNG.explain in detail
258 13.Explain the usage of Jenkins
259 14.How to move to the second value in dropdown without using any of the select command and click.
260 15.If the default select is in the last value of the dropdown and then how to use the action class.
261 16.Write code for the below scenario
262 In the first page on click of ok button it navigates to a frame and it is not an window .on that we have to select the first radio button and click next .this opens up a
263 17.Difference between throws and throw.
264 18.How to use regular expression
265 19.How to connect to excel
266 20.what is Grid and explain in detail. How you used in your project.

267 1. what is the difference between selenium and qtp


268 2. what you meant by implicit wait
269 3. How many waits are there in selenium
270 4. what is the difference between implicit wait and explicit wait
271 5. how will you find elements
272 6. write line of code for elements
273 7. In web page there is a element you dont know whether it appears or not. now how you'll find that element also you have to catch that exception. explain ?
274 8. what does data driven testing means
275 9. Do you aware of jdbc
276 10. how you'll connect to jdbc explain
277 11. If excel is input how will you connect to excel
278 12. what is the framework used in your project
279 13. explain about POM
280 14. is POM better or data driven better
281 15. what is hybrid framewrok
282 16. project structure
283 17. what is object repository
284 18. what unit testing frame do you know
285 19. how you will write assert statement for comparing the difference between actual and expected login name
286 20. Difference between JUnit and TestNG
287 21. What is SQL
288 22. what do you know in Oracle(Since i said SQL: Structured query language and I know about Oracle since it is subject in college so i learnt that)
289 23. How many joins that you are aware of.
290 24. write select query, insert query.
291 25. what is constructor.
292 26. what is interface.
293 27. what is abstract class.
294 28. difference between both
295 29. Explain about method overloading, method overridding concepts.
296 30. What is STLC
297 31. write the life cycles of STLC

298 33. Scenario:

299 34. Do u have any agile knowledge


300 35. What is release backlog
301 36. What should be dicussed in daily meeting
302 Tell about yourself
303 Why cognizant
304 Framework used
305 Draw pom structure and explain
306 Polymorphism program
307 Overloading and overriding
308 Hash map and hash table
309 Vector and array list
310 Implicit wait and explicit wait
311 Regression testing and retesting
312 Smoke testing and sanity testing
Round 2:
313 Project explanation
314 Agile
315 No of user stories per sprint
316 Complexity of user story
317 Sprint duration
318 Agile and waterfall
319 Defect tracking
320 Team size
321 Client interaction

ROUND 1:
322 1. What is selenium
323 2. Consider a web table having employee name and testing domain(manual or automation). Store these values . Then selected dropdown only if domain is autom
324 3. Tell about current project
325 4. What are the challenges faced
326 5. What is the framework currently working and others few questions
327 ROUND 2:
328 1. Right click
329 2. Implicitly wait & explicitly wait
330 3. Fluently wait
331 4. Read from excel
332 5. Firefox profile
333 6. How will you handle proxy

334 1.Have you worked in creating a framework from scratch ?


335 2.What are the frameworks you worked on other than testNG and POM
336 3.Explain inheritance .and what is the use of extends ,when we can use the methods of other class by creating an object itself ..
337 4.How do you find broken links in a page and code for that
338 5.how
6, a webto element
find the count of all links
was removed in aprevious
in the web pagerelease and now you need to verify whether the element is present or not..how will u do
339 this ?
340 7.told to write xpath for a given example which uses following
341
342 Questions asked in F2F:-
343 1. Where you are currently working?
344 2. Tell about yourself?
345 3. How you shifted from manual to automated?
346 4. Which methodology your project follows?
347 5. What is Agile methodology?
348 6. What are all phases in STLC?
349 7. Which phases you actually works?
350 8. Are you contributing in Test planning phase?
351 9. About your organisation?
352 10. About your designation?
353 11. which defect management you are using?
354 12. what are all the status in defect task?
355 13. What status you will set if you want to assign a defect to developer?
356 14. If defect still not fixed, who will have authority to move to next iteration?
357 15. In that case, which status you will set?
358 16. how you will get requirement
359 17. how you will anaylse the requirement
360 18. Rate yourself in Java?
361 19. What are all the features in Java?
362 20. What are all the java features you are using in selenium?
363 21. Explain inheritance?
364 22. Explain Encapsulation?
365 23. Explain Overloading and overridding?
366 24. Explain polymorphism?
367 25. Explain abstract?
368 26. Explain interface?
369 27. Rate yourself in Selenium?
370 28.What are all the annotations in TestNG?
371 29.Explain your framework?
372 30.Explain Hybrid framework?
373 31.What reports you are using to verify the results
374 32.How to read from Excel
375 33.what repository you are using for handling files&folders
376 34.If GIT, How you will add files to cloud
377 35.what situation that your files were not added but the coding is correct
378 36. when you will use Grid
379 37. who will the hub in your projects
380 38. whats the use of Grid
381 39. when you will run regression
382 40. what is verification and validation
383 41. how you will verify the title
384 42. what is assert and verify
385 43. Rate yourself in SQL
386 44. How you will connect to the DB
387 45.
46. write a query to
one Webpage fetch the
contains data
title,dropdown,submit button and alert. Write a code to verify title,select 3rd opion in dropdown, click submit and
388 once alert pops click ok.
389
390 How to locate an element that has no locators.
391 Types of Xpath
392 Which is faster way of locating element
393 Which works faster between Absolute and Relative Xpath
394 What is disadvantage we have in Absolute xpath
395 What is MAven
396 Explain Maven life cycle
397 Methods in Alert
398 How to handle alert with Yes and No option
399 How to interact
On clicking date with
field web table Calendar will be displayed (July and August) at a same time and date 4 will be enabled at this time and how
two month
400 will you handle this situation
Have experienced in TestNG customized report
401 Wait method in selenium
402 Syntax for fluent wait and one exact example applicable for this wait method
403 Parallel execution through TestNG
404 Explain about your project framework( I have explained about cucumber framework)
405 write code for text box, combo box & input using xpath. (for input and combo box is available in web table).
406 Roles and responsibilities in automation
407 Data driven framework
408 Explain page object model with description.
409 null pointer exception
410 wait methods which is support by WebDriver.
411 fluent wait and it's syntax
412 java default class (abstract class).
413 db connection
414 Git commands to push the code?
415 Array List Vs List explenation with code
416 dynamic web elememts handling ( X path and some X path examples need to write)
417 frames handling code and inline frame handling ?
418 SQL, JDBC connection for connection establishment code.
419 How to handle a dynamic webtable
420 what does @Test will do?
421 How to take a Screenshort with code
422 How to underline an element
423 Selenium code to highlight text, and get colour and back ground colour.
424 how to handle windows pop up ... Code using robot class.
425 how u achieved cross browser testing ?
426 code to get the tomorrow's date as mentioned format (dd-mm-yyyy)
427 javascript executor code to click element
428 difference bitween ant and maven
429 when to use Excel as input and CSV ? Why u have used ????
430 webservices basics questions…
431 Invocation count and thread pool size in test ng?
432 enumaration, iterator and list iterator difference
433 random string generation and number generation.
434 code to get the number of check boxes ?
435 css selecors types
436 String, stringbuilder and string buffer difference
437 multuple inheritance in interface example code
438 There are 1000 testcases in a test suite which has defect leakage. What strategy u wil come up for the solution
439 What are the scenarios can be used to test Microsoft excel using selenium test scripts
440 Write code to validate/compare web page data and excel data
441 How do u do effort estimation
442 Which version control tool u r using. Tell me the process what u do
443 whether client agreed for extent reports?
444 Have u been to scrum meetings. what u discuss in the meeting?
445 Any innovation things done in selenium?
446 Why you are using excel to fetch test data, it will take too much time and will create performance issue.
447 Have u worked on test plan and test strategy
448 How will you generate the failed testcase?
449 How will you get only the failed testcase screenshot?
450 first time button is enabled after some time button should be disabled,how will you verify it
451 how will you retrieve the values in hashmap
452 How will you do Right click on the mouse
453 How will you verify the highlight element
454 I told JavaScript concept he asked other than that any think u have used he told it too have some drawback?
455 how to check the hidden element
456 whether u have anyidea database connection
457 Need to execute four different test environment ,how u will do it maven
458 What is the difference bitween assert and verify
459 Explain BDD frame work
460 4.how to establish database connection
461 Expalin different xpaths and types
462 few scenario based questions
463 Read and write the data from excel sheeet
464 Why is cucumber preferred
465 What Exceptions u faced in cucumber
466 What are the Keywords used in cucumber
467 How to Handling alerts and hot to take screenshot of an alert
468 What type of reporting tool ur using in ur office and write a code for that
469 Use of Jenkins and how to schedule it
470 Write the Java code to check prime no
471 Some questions on git hub, SQL query to fetch employee with highest salary
472 Types of annotations and questions related to annotation and attributes. Some scenario based questions
473 About project domain and application i am working on with framework implementation.
474 Why ur creating maven project and the use of maven project
475 How Jenkins is used in ur office
476 More questions on cucumber framework, mandatory keyword
477 How do I convince customer on the selection of Automation tool
478 Difference between pull and fetch command used in git.
479 What is wait, which is most prefered wait
480 What is page object model, what is the reason to prefer page object model
481 Diff between is displayed & is enabled
482 Write the Drag and drop code
483 Rate ur self in sql
484 How to do sorting using SQL query
485 Cross browser testing
486 dB connectivity code for DB2...
487 Day to day responsibilities in your office
489 what are the challenges u faced in Selenium..how to classify cases which can be automated or not
490 Asked about why move to manual to automation
491 Write xpath ..I have explained and written for relative xpath and again asked for absolute xpath for IRCTC login..
492 Some questions in Jenkins and GitHub.
493 Ur Roles & responsibility in ur project
494 What kind of test cases will u automate
495 How many test cases u will execute in a day
496 How do we merge code when conflict occurs in Git
497 Apart from java what languages can be used in Jenkins tools
498 Why can't use code directly in Jenkins without using maven and Github
499 Scenario based questions + team management
500 client needs automation for the application and if you are going to meet client and explain how to achieve and brief abt plan to the client.
501 you are working in Sprint2 but if you receive issues from client in Sprint 1 then how to handle
502 String str = "Automation Testing"; write a java program to extreact the consonants from string
and print each letter with occurance?
503 How will you store the string automation testing with immutable and mutabble types and explain it?
504 How will you print all the links in a web page
505 Round one : Remove duplicate words in the given array
501 String str[]={"one","Two","Three","two"}
502 Reverse String program in multiple ways
503 How to perform right click operation using selenium
504 How to find any webelement highlighted in the webpage
505 How to find all the links in the webpage
506 Framework explanation
507 Explain Hashmap concept and where your using hasp map in your project.
508 Explain Overriding concept in your project
509 What is page factory ? Where ur using in your project
510 Explain about Pom.xml
511 will you use Junit in your project? if yes explain about it?
512 How to pass multiple data to the scenarios in cucumber
513 How many git commands you know

Second Round
514 Tell me about yourself.
515 Explain about your project
516 Explain about your framework
517 How you learnt about selenium (Self learn, online classes)
518 Why Selenium, why not UFT?
519 Failure moment in your life and how did you overcome?
520 Why CTS ?
521 What is your dream job?
522 Suppose if we don't select you then how you will feel?
523 I will select you and I gave manual testing then what will you say?
524 How flexiable you are in work?
525 Tell me about your Strengths and weakness?

HR round
526 Package discussion
527 Explain about Long term and short term goals
528 preferred location
529 Questions from resume
530 Reason for leaving current job
531 questions from my current organization

532 which file must important in cucumber


533 I have 5 test cases but I need to run 3 TC how can you achieve this in cucumber
534 How can you find links in your don
535 String reverse program
536 Difference between assert and veridy
537 how to retrieve value from data table
538 how to establish database connection
539 If the xpath does not work during runtime what are the other alternatives
540 How you implemented agile in our project
541 Explain About BDD Framework
542 what are Cucumber options did you know
543 what is Cucumber Keywords?
544 Explain your Cucumber framework structure
545 Write the code for cucumber Runner class
546 How will u perform Double click functionality(Actions)
547 In a webpage inside some data will be available in scrolling. How to see the data to scroll the inside page
548 What is the difference between / and // - in xpath (absolute andrelative xpath)
549 String buffer and String builder difference ? (What is sychronized)
550 You need to verify the code review , what are the things you will check mandatory
551 how to synchronize the code
552 What is difference between Verify and Assert
553 what you know about Syncronize wait
554 Why you choose cucumber in ur project
555 I have 10 test case but I want to run only 3 how to run in cucumber ?
556 Write code for DB connection
557 What method will u use for mousehover action
558 Write a program to take user name from excel and print salary data from excel
559 Write a program to print fibonacci series
560 Explain JIRA workflow
561 Some of Agile questions
562 What is Role in team
563 Why your creating maven project
564 What is the use of pom.xml in testNG ?
565 Recent challenge u have faced in ur framework?
566 Have u modified anything in ur framework so far?
567 How will you find xpath for sample1 here 1 is dynamic 1,2,3
568 Whar are the challneges you faced while project in scripting
569 how will you handle error when it is due to error in scripts give some example which you faced in your project
570 how will you debug your testcases and code
571 In how many ways u can find whether frames are present in a web page ?. What are ways to move to a frame ?
572 What is implict wait , explicit wait, and fluent wait... Write syntax for all.
573 Difference between final and finally ?
574 What is the collection ? Explain the types in detail ?
575 What is the use of New keyword and what will method overloading do ?
576 And
Consider a string
then using for{ each
mon,loop
tus, wed }
v r iterating and adding them in list. What will be the output if the ArrayList is created outside the foreach and
577 output if the arraylist is created inside foreach loop.
578 foreach and output if the arraylist is created inside foreach loop.
579 Is there any
Consider u r possible ways there
using groups, to enteraretext without
groups send keys. sanity and functional. Now u need to run Sanity group, sanity will be having 50
like regression,
580 testcases, in that i want any 30 random testcases alone to run. What are the ways ?
581 What do you know about Cross browser testing?
582 What is difference between LinkText and PartialLinkText, In what scenarios, you will use PartialLinkText ?
583 What is garbage collector
584 How
Whenwill u clear
client the memory
wanted by the
to execute optimising
code in your code which doesn’t have any browser facility, then will you be able to execute the code
a machine
585 through cross browser testing. If yes/no, explain ?
586 What do you know about Listeners
587 What is Desired capabilities?
588 Explain Depends on methods
589 How you will run Test cases in commond prompt ?
590 How to will provide arguments data at run time ?
591 What exception you will get when no element when find elements path not found
592 What is @Factory annotation in TestNG..
593 What exception will come when depends on method failed
594 Suppose you have two methods how you will run two methods with same set of data using data provider
595 What is setProperty() ?
596 How you prioritize test cases
597 How to group test cases ?
598 What is web driver ? why we need WebDriver ? Web driver is class or method or interface?
599 How you will handle if X-path is changing for specific web element?
600 What is locator id? What you will do when id is changing every time?
601 what is charAt explain how it will work
602 what is the difference between @ BeforeClass and @BeforeSuit annotaions
603 How to separate characters, Numbers and Special characters from given string ?
604 Print the star pattern in given scenario ?
605 Explain String ,String buffer and String builder ? Why String is immutable with proof it with example?
606 Can you extend methods in one interface to other interface?
607 What is Syncronization in java?
608 WebDeriver driver = new IE Driver (Meaning for this line)
Classification
Selenium - FrameWork
Selenium - FrameWork
General
Selenium - FrameWork
Selenium - TestNG
Selenium - Database/MySQL / Oracle / SQL
Selenium - Database/MySQL / Oracle / SQL
Selenium - Database/MySQL / Oracle / SQL
Selenium - Database/MySQL / Oracle / SQL
Core Java
Core Java
Selenium WebDriver
Selenium WebDriver
Selenium WebDriver
Selenium WebDriver
Selenium - TestNG
Selenium - Excel
Core Java
Selenium - FrameWork
Selenium - Apache POI
Selenium - Apache POI

Selenium - JXL, Apache POI


Selenium - Reports
Selenium - FrameWork
Selenium - FrameWork
Selenium - Basics

Selenium WebDriver
Selenium WebDriver
Selenium - Frames
Selenium WebDriver
Core Java
Selenium WebDriver
Selenium - FrameWork
Selenium WebDriver
Selenium - Alerts
Selenium WebDriver
Core Java
Selenium WebDriver
Selenium WebDriver
Selenium WebDriver
Selenium - FrameWork
Core Java
Core Java
Selenium WebDriver
Selenium WebDriver
Selenium - Excel
Selenium - FrameWork
Selenium WebDriver
Core Java
Selenium WebDriver

Selenium WebDriver

Selenium WebDriver
Selenium WebDriver
Selenium - FrameWork
Selenium - FrameWork
Selenium - FrameWork

Selenium - Reports
Selenium - FrameWork
Selenium - Excel
Selenium - Excel
Selenium - Excel

Selenium - Xpath

Seleium - Frames, Windows


Seleium - Windows
Selenium WebDriver
Selenium WebDriver
Selenium WebDriver
Selenium - Maven
Selenium - Maven
Selenium - POM
Selenium - POM
Selenium - POM
Selenium - POM
Advanced - Java
Advanced - Java

selenium - Alerts
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Selenium - Framework
Selenium - Excel
Seleium - Windows
Selenium - TestNG
Selenium - POM

Core Java
Core Java
Core Java
General

Selenium WebDriver
Core Java

Selenium - Maven
Selenium - TestNG, POM
Selenium - Xpath
Selenium - Xpath

Core Java
Selenium - POM

Selenium - TestNG
Selenium - TestNG
Selenium - TestNG
Selenium - TestNG
Selenium - TestNG
Selenium WebDriver

Selenium - Windows
Selenium - Xpath
Selenium - TestNG
Selenium - TestNG
Selenium - Maven, POM, Snapshot
Selenium WebDriver
Selenium - Frames
Selenium - Maven, Jenkins
Selenium - Excel
Selenium - Maven
Selenium - TestNG, Maven
Selenium - Maven

General
Core Java
Selenium - Frames, Windows Handle

General
Selenium - Framework
General
Selenium - Report Generating

General

Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Selenium WebDriver
Selenium WebDriver
Selenium - Xpath
Selenium - Xpath
Selenium - FrameWork
Selenium - POM
Selenium - TestNG
Selenium - TestNG
Core Java
Selenium - Grid
Core Java

Core Java
Core Java
Core Java
Core Java
Core Java
Selenium - FrameWork
General

Selenium - FrameWork
Selenium - FrameWork
Core Java
Selenium WebDriver
Core Java
Core Java
General
aid like we need to add chrome server reference something I was not sure.

all three. How to give input correctly for each text box and when you get an exception how to handle - code and show with try catch
n and click next .this opens up another frame with same properties.do the same process again and after that it moves the next window on clicking next.
ch that exception. explain ?

o i learnt that)
pdown only if domain is automation ( write code)
Scenario
Scenario
Scenario
S.NO: Questions
1 Tell about yourself
2 what is Maven?
3 what is Jenkin's .
4 diff between Thread.sleep , implicit and Explicit waits
5 how do you plan the efforts for the automation and example ?
6 will Maven support to trigger an email after the execution completed ?
7 how Maven is executing the test case?
8 How do you ensure the application is Fit for automation ? [ he told me to take time and answer on this question ... then i realized what did initially with create
9 Answer which he excepts -
1. first we need to create a stand alone program
2. Then we need to include same easy frame work [ where that application is fit into frame work ]
3. Then integrate all them with proper Frame work
10 Diff between Cradle and Jenkin's ?
11 we have 2 class files and both are annotation with @ test . Both has 3 @ test method

12 How to generate the PDF Report ?


13 why Grouping is need ?
14 How to take entire page as Screen shot ?
15 considered there is an Dropdown which been developed as [Button and they integrated to List[li] - how you will select the dropdown value..
16 why Grid ?
17 what is Thread count ?
18 with out opening the Eclipse can we able to run the our automation ? considered there is no Jenkin's ....
19 How to get the cookies ?
20 How to update the cookies values ?
21 how Jenkin is being trigger to execute the your automation code ?
Classification

ized what did initially with create lead and then Testng and then POM ..]

a. can we run those 2 class file as stand alone ?


b. If yes - how it will execute ?
c. If No - why ?

opdown value..
1
2
3

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Questions
Round-1-Written test

10+ questions from basic programming, loops, continue, breaks.


10+ questions from selelium drivers, xpath, cssSelector.
5+ questions from Java programming outputs like inheritance, looping outputs

Round-2

- Tell me about yourself


- About the fremework, which currently using
- Compare between Data driven & Keyword driven
- About Maven, Jenkins and ANT
- TestNG annotations and clarify the each annotations.
- What is current role in Test automation
- How do you rate yourself on Java?
- Write a Java program 'to read a statement from a file and tell the word count & char count
- Tell me about Grid and where and when you are using it?
- Whate are all the reports you are using?
- Give the formate of xml report. Do you have chart on your report?
- How do you maintain the selenium code [I said GIT]?
- Suppose two people are saving the code in GIT version controller, what would happen?
- Which version of selenium are you currently using?
- What are all the advanced features in it [2.44] compare to prior version?
First Round - Multiple choice questions from Java

Find the below Pattern, total of 40 Questions all questions were like find the output of below program, in order to attend next round we have to score more

1. 10 Questions from Collection Interface - Set, List and Map


2. 10 Questions from Exception Handling - Try, Catch and Finally
3. 10 Questions from io File Handling Package - Input and Output
4. 3 Questions from Maven
5. 4 Questions from Selenium web Driver and TestNG
6. 3 Questions from JDBC

Second Round

Direct Interview by people working in Project

1. Print Prime numbers using Java Program


2. Read and write file from Excel, MS AccessDB and Text File.
3. How do you run multiple suite and few more basic questions on Project experience

Tips to Prepare:

Make yourself strong in Collections, File handling, Exception handling and JDBC from Java

Practice basic interview related programs of Java


Classification

Java Basics
Selenium WebDriver
Core Java

General
Selenium - FrameWork
Selenium - FrameWork
Selenium - Maven, Jenkins
Selenium - TestNG
General - Testing
General
Core Java
Selenium - Grid
Selenium - Reports
Selenium - Reports
Selenium - GITHUB
Selenium - GITHUB
Selenium WebDriver
Selenium WebDriver
Questions
1 1.How to switch between frames
2 driver.switchTo().defaultContent();
3 2.How to test a canvas in selenium
4 Not possible to test canvas and flash in selenium
5 3.Why can't we test a flash in selenium
6 Because the flash object is not embedded in HTML DOM. Flash objects are seperate object by itself.
7 4.How to get all the links.(optimesed way without using linktext)
8 use tag name a
9 5.How to find the duplicate letter in a word
10 6.From which class the thread.sleep is called
11 Its available in deault java package and no need to import any package to use thread.sleep
12 7.How to upload a file without autoit
13 If the input type of the element is having the type =file then we can directly set the absolute physical path of the file available.
14 8.Dom and com ?
15 Document Object model and Component Object Model
16 9.Various sql queries concentrating on the areas like All Joins and union,agreggate functions with group by,Views,Backup of tables ,Truncate table .
17 10.From which class is thread.sleep comes from
18 11.what is series of errors 200,300,400(EG 404 page not found error)
19 100 - information 200-success , 300 - redirect , 400 - client error ,500 server error
20 12.Have you used macros,vb scripting
21 13.Jsexecutor is it a class of interface or method and how it works what is its implementation
22 15.What does a double slash in a xpath element means
23 16.How to sort (Effecient way) - Not bubble sort.
24 17.How to find the linux version
25 18.String reverse.
26 19.Biggest challenge which you have faced in your automation project and how you over came that .
27 Ans: Will share this shortly (Babu can answer this better than me :-))
28 20.swap the digits in a number (any scripting language)
29 21.What is the use of java script in application developemtn and what is the need of using java script with selenium
30 22.What are listeners and what is the use of testNG listener where you have used it in the your frame work
31 23.How to automate dynamically changing objects in selenium.
32 Ans : Use POM in selenium frame work (www.toolsqa.com/selenium-webdriver/page-object-model/)
33 24.What is your reporting mechanism
34 25.Is it possible to integrate bugzilla with selenium for reporting and If yes How to do that.
35 26.What is OOPS concept - explain
36 27.What is the entry and exit criteria for your automation testing.
37 28.How to estimate time for automation of a functionality/module/application.
38 29.Write xpath to list all the input elements in a page.
use //@input
Classification
Selenium - Frames
Selenium WebDriver
Selenium WebDriver
Selenium WebDriver
Selenium WebDriver
Selenium WebDriver
Selenium WebDriver
Selenium WebDriver
Core Java
Selenium WebDriver
Selenium WebDriver
Selenium WebDriver
Selenium - Xpath
HTML
HTML
Selenium - Database/MySQL / Oracle / SQL
Selenium WebDriver
Selenium WebDriver
Selenium WebDriver
General
Core Java
Selenium - Xpath
Core Java
General
Core Java
General

Core Java
Selenium WebDriver
Selenium - TestNG
Selenium - POM
Selenium - Reports
Selenium - Reports
Core Java
General - Testing
General - Testing
Selenium - Xpath
Questions are :- Classification
1 1. Tell abt urself? General
2 2. Which framework u r using? Selenium - FrameWork
3 3. Explain your framework architecture? Selenium - FrameWork
4 4. Webdriver is interface or class? Selenium WebDriver
5 5. List some classes which implements webdriver? Selenium WebDriver
6 6. List some methods in webdriver? Selenium WebDriver
7 7. What is Webelement? Selenium WebDriver
8 8. List some methods in webelements? Selenium WebDriver
9 9. What r the locators? Selenium WebDriver
10 10. Which locator u prefer? Selenium WebDriver - Locators
11 11. If i dont have id or class name, which locartor u use? Selenium WebDriver - Locators
12 12. How to get the count of all links in a webpage? Selenium WebDriver
13 13. How to click ok in alert popup? Selenium - Alerts
14 14.
15. How
How to to right click
get the on particular
count of windowslink?
opened? How to switch to 1st window and click on OK Selenium WebDriver
15 button.? Seleium - Windows
16 16. How to take screenshot? Selenium - Snapshot
17 17. Having a string s = "100", convert this to integer? Core Java
18 18. Explain the methods in String Class? Core Java
19 19. Overloading vs Overriding? Core Java
20 20. List vs Hashmap? Core Java
21 21. How to maximize window? Seleium - Windows
22 1. Write a code to know if there is a valid chrome installed in a specific machine General - Testing
23 22. How will you compare object size between 2 different browsers say Firefox and chrome Selenium WebDriver

24 Today I attended dell telephonic discussion.. Questions are :- 1. Tell abt urself? General
25 2. Which framework u r using? Selenium - FrameWork
26 3. Explain your framework architecture? Selenium - FrameWork
27 4. Webdriver is interface or class? Selenium WebDriver
28 5. List some classes which implements webdriver? Selenium WebDriver
29 6. List some methods in webdriver? Selenium WebDriver
30 7. What is Webelement? Selenium WebDriver
31 8. List some methods in webelements? Selenium WebDriver
32 9. What r the locators? Selenium - Locators
33 10. Which locator u prefer? Selenium - Locators
34 11. If i dont have id or class name, which locartor u use? Selenium - Locators
35 12. How to get the count of all links in a webpage? Selenium WebDriver
36 13. How to click ok in alert popup? Selenium - Alerts
37 14.
15. How
How to to right click
get the on particular
count of windowslink?
opened? How to switch to 1st window and click on OK Selenium - Actions Class
38 button.? Seleium - Frames, Windows
39 16. How to take screenshot? Selenium - Reports
40 17. Having a string s = "100", convert this to integer? Core Java
41 18. Explain the methods in String Class? Core Java
42 19. Overloading vs Overriding? Core Java
43 20. List vs Hashmap? Core Java
44 21. How to maximize window? Selenium WebDriver
S.NO: Questions are
1 How do you decide which test cases to automate
2 Tell me the test case for atm-debit card transaction
3 What exactly Webdriver drivers?
4 when you login to banking application which test case do you automate?
why don't you automate transaction testcases as you said you automate only login test case
5 Tell me about your defect-life cycle
6 Tell me about your Project
7 What are the entry criteria for start testing? What is exit criteria for testing?
8 Do you mark test cases as passed or failed in C?
9 Whare do you execute your test case?
10 Explain the automation Framework architecture?
11 What is priority and severity? Who decides to give priority?
12 In current project what is your role? Automation or manual or both?
13 What are the details that you give while logging a defect?
14 What is maven
15 Who will give priority? Does priority affects application?
16 When we do regression Testing?
17 When do you do smoke testing?
18 Give me the minimal test scenario fir test field with range of 0-100 digits range?
19 Do you know SQL? Tell me about types of joins?
20 what is an inner join
21 When we use having clause?
22 How do you set up eclipse?
23 What does POM class has? What are it's uses?
24 What does POM.xml contains?
25 How to read data from an excel? Write the code
26 What is HSSF and XSSF? When do you use them w.r.t xlsx ans xls?
27 How do you read more rows in excel?
28 What is the jar file used get data from Excel?
29 How do you set the path for Chrome, Firefox and IE driver
Ans: severity, detected by, assigned to,
description, artifacts like screen shots
Ans: Not always

Ans: Boundary value analyses


Questions are :- Classification
1 1. Which testing method is used to test the application which has been used by n number of users at a time General - Testing
2 2. What is used to interact with web page in selenium- Locators Selenium WebDriver - Locators
3 3. When will you use Xpath? -Least priority Selenium - Xpath
4 4. Types of Xpath and explain it? Selenium - Xpath
5 5. What are assertions and why it is used? Selenium WebDriver
6 6. Types of Assertions Selenium WebDriver
7 7. Which frame work used in ur application, what are all the java concepts used in building the framework? Selenium - FrameWork
8 8. Explain about your project? General
9 9. When and what types of testing you are used in the project? General - Testing
10 10. Which tool are you using to track the bugs? General - Testing
11 11. What are the status available in that bug tracking tool? General - Testing
12 12.
13. Explain
Use yourabout
own STLC?
template and write the Possible positive and negative test cases for the provided General - Testing
13 scenarios? General - Testing
14 Note: Try to complete as much as possible -Checking the count and format. General - Testing
15 14.
15. GUI
Write observation. Screenshot
the script for providedwhich
7 page scenarios, with ncontains
numbertextbox,
of UI issues. List out
checklist, as much radio
dropdown, as possible.
button, Selenium - Snapshot
16 submit, file upload, frames, actions, alert and Screenshot. Selenium - POM
17 16.
17. What is testng
SQL query and
based what is questions
objective the use of Like
annotations?
Group and Order? (with group by and order by given in single Selenium - TestNG
18 query) Database/MySQL / Oracle / SQL
will it work or not and find the errors in the query? 5 objective questions have been asked from SQL.
eg: select order_id, price from order_list order by order_id group by price
19
# Questions are :- Classification
1 differnce between ImplictWait and Explict Wait .. write syntax both of them
2 Differce between get() and Nagivate.().to
3 how u check redio button or checked is checked
4 which locator u will use if you dont find Frame id and frame name
5 how you perform Mouse hover Action
6 who to get drop down option value
7 Count the number of element in webpage
8 different type of xpath
9 different method of navigate
10 code for double click
11 Code for DrangandDrop
12 Transpose of matrix
13 Flod trigangle
14 Reverse of number 12346 to 654321
15 Difference between SetSpeed() and Sleep()
16 frame 1. frame 2 , text box enter data and press button
17 What are the Testing type will Automate by selenium
18 What is Assert and Verify in selenium
19 What is the Exception for version missing
20 What exception will throw if element is not present in DOM
21 What is Pipeline in Jenkins
22 What are the 2 important factors in Jenkins
23 How to go to homepage directly if in previous session we logged in?
24 Maven build jar file to push to GIT how to secure from virus or hackers?
25 Explain about the version controlling software you use in your projects.
26 What do you know about bit bucket.
Classificat
# Questions ion
1 Tell about yourself
2 What are your day to day activities in current/last project
3 What is the automation framework used and explain.
4 How did you use test data in automation?.
5 What is the report used and how?
6 How do you connect database and what is the command
7 What is polymorphism
8 What is abstraction
9 What is the report used and how?
10 How do you find an element?
11 What are the waits available and explain each
12 Where css locator would be used
13 How do you handle frames
14 What is regression & SIT
15 What is RTM and explain in detail at section level?
16 When do u start test design
17 What is QC and what are the modules/tabs available?.
18 Defect lifecycle in QC
19 How do you do estimation in Agile and Waterfall?.
20 How do you plan and track testing activities?. Any Tool used?
21 Have you involved in test strategy and inputs are
22 Do you have experience in Mainframe testing
23 Do you have experience in Banking products?. Core banking knowledge
24 Have you worked in QTP/UFT?
25 Have you worked on C# application automation?
26 Any experience in WebServices testing?
27 Do you have onsite exp
Questions
Fidelity interview
Round 1:
1 Tell me about yourself General
2 What is maven Selenium - Maven
3 Jenkins functionality Selenium - Maven, Jenkins
4 Prime number program Core Java
5 Explain about your project General
6 How do you rate yourself in java Core Java

Round 2 :
6 What version of selenium you use General - Testing
7 Tell me about framework you are working on General - Testing
8 About your project General - Testing
9 Why you are planning for a change General
10 Can angular js application be automated using selenium Selenium WebDriver
11 Jenkin CI and CD Selenium - Maven, Jenkins
12 Maven life cycle Selenium - Maven

Round 3:
13 About yourself apart from things which are not in resume General
14 Why fidelity General
15 What fidelity does General
16 Your positive and negative General
17 Have you faced any challenges in your project General
18 What is SVN General - Testing
19 Tfs product backlog General
20 Are you ready willing to work for development if change given General
21 How well are you in java rate yourself out of 5 Core Java
22 Scenario given based on that how you handle it General - Testing

Round 4:
23 HR round was a very casual round without technical General
Round 5:
Technical round with onsite team via video calling

25 What is a object Core Java


26 What is super class Core Java
27 Can class be protected Core Java
28 Can method be protected Core Java
29 What are various access specifier Core Java
30 Selenium locator Selenium - Locators
31 About your project in 2 minutes General
32 Jenkins & maven Selenium - Maven, Jenkins
33 Where will you add dependency in maven Selenium - Maven
34 What are method overloading and overriding Core Java
35 Advantages of automation vs manual General - Testing
36 SVN General
37 Tfs General
38 Water fall model General - Testing
39 Agile methodology General - Testing
40 Scrum process General - Testing
41 Few basic of Java like polymorphism and interface Core Java

Fidelity interview :
Round 1:
42 Singleton class Core Java
43 Explain the framework you have used Selenium - FrameWork
44 Sql queries : ddl, dml, join Selenium - Database/MySQL / Oracle / SQL
45 Agile General - Testing
46 Scrum General - Testing
47 Some basic programs Core Java
48 Jenkins Selenium - Maven, Jenkins
49 Web elements Selenium WebDriver
50 Some questions about automation General - Testing
Round 2:
51 Oops concepts Core Java
52 Encapsulation Core Java
53 Inheritance Core Java
54 What is leadership General
55 What is quality General
56 Jenkins Selenium - Maven, Jenkins
57 CI and CD.. Selenium - Maven, Jenkins
58 Scrum General - Testing
59 What framework you know General - Testing
60 5 yrs from now General

Round 3:
61 About yourself General
62 Project explanation General
63 Team size General
64 Roles and responsibilities General
65 Strength and weaknesses General
66 What do you know other than selenium General
67 Selenium General
68 Core java with programming (it will be tough) General
69 Question in Testing and automation General
70 Agile Process General
71 Role and behaviour questions like willingness to move to development projects if selected General
72 Different locators, Xpath for dynamic elements.
73 Alert handling.
74 Printing a value next to a specific value in html table.
75 How to do do right click and select third element from the popup.
76 Submit button is enabled only when we mouse over a another element. how to perform this in selenium.
77 Explain your Framework, questions in frame working.
78 Reporting methods used.
79 what is difference between interface and ordinary class,
80 where u used Interface in ur project.
81 difference in abstract ans interface, did u used both in ur project.
82 Program to swap 2 no,
83 Find out all the palindrome words from a string.
84 Which framework bu have used, did u created any framework,
85 what's ur roles nd responsibility in current company,
86 what are all the possible things u can do using Maven, Jenkins.
87 What challenges u have faced,
88 what are TestNG annotations u know,
89 what is data provider and how use it in testng.xml using parameters,
90 Desired capabilities.
1.How to highlight the textbox before sending the sendkeys?
2.How to run the multiple suits using batch without manual intervention or .xml file?
3.Write a script to take the dropdown values one by one in the test case? For eg: Country has 200 values , 1st should be selected then second then so on.
4.Write a script, multiple link are there on a page click on it one will navigate to another page. similarly click on another and so on.
5.Difference between Set and List?
6. Multiple text box which doesnot have any locator or locator is changing, Write a script to enter the values one by one?
7.How to take screenshot?
8.How to add dependency in Maven without using POM.xml
Classificat
# Questions ion
1 Expalin framework
2 code for impletment xtent report
3 what is data provider
4 how to read data from exel sheet
5 program to find reprating character in give string
6 update to salary from 10 to 100000 in slary table
7 find the second hightest salary in table
8 what is maven
9 Maven command to extcute form cmd
10 maven repostory
11 maven build life cycle
12 how to schedule job in jenkin step
13 left join
14 difference between group by and order by
15 testng how to run in parallel
29
Questions are :- Classification
1 Final keyword.
Declared the method using final,how do I need to call the method Core Java
2 Abstract class
what is abstract Class,what is the use Core Java
3 what type of parameterization did you use in your project Selenium WebDriver
4 how to read data from database? Selenium - Database/MySQL / Oracle / SQL
5 what is web drive? Selenium WebDriver
6 what is Interface. Core Java
7 what framework used in the project Selenium - FrameWork
In Day 1 we have only 2 record in excel nd tested those data,in Day2 the record has
8 increase to 10,how you write the program for this dynamic changes. Selenium - Excel
write a program to comapre 2 dates,and need to print which date is greater,need
9 to print the date.Kindly provide the steps Core Java
Have to count the upper and lower case character of particular sting.need to print
10 the no of uper case and lower case Core Java
11 How to handle alert? Write syntax
12 How to check whether the checkbox is selected or not?
13 What are the dependency required for handling MS word and excel?
14 What
Syntaxareforthe wait types
selecting in selenium
an item and write
in a dropdown andsyntax?
how to get the options from the
15 dropdown?
Questions on mostly on keyword - Static, Final, this, super & access modifier, File
16 program
handling,given
inheritance.
with missing code and asked to select right code from the given
17 options to get output.
18 select the right error/exception for the program.
19 diff bt overloading and overriding
20 diff bt list and set
21 diff bt array and arraylist
22 diff bt interface and abstract class
23 diff bt final, finally and finalize
24 program to swap two number witbout temp variable
25 apple find each letter occurance using map
26 static keyword
27 handling frames
28 handling windows
29 handling alert
30 tell abt u r framework
31 Challenges faced
32 Exceptions faced in u r project
33 Implicit wait with syntax and ex
34 Explicit wait with syntax and example
35 fluent wait
36 excel read data coding
37 what is Exception Handling?
38 What is polymorphism?
1ST Round - online test( java oops concepts , multithreading concepts, file
39 handling)
40 Collections
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195

196
197
198
199
200
201
202

203
204
205
206
207

208
209
210
211
212
213
214

215
216
217
218
220
221
222

223
224
225
226
227
228
229
230

231
232
233
234
235
236
237
238
239
240
241
242

243
244
245
246
247
248

249
250
251
252
253

254
255
256
257
258
259
260

261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288

289
290
291
292
293

294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356

357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436

437
438
439

440

441

442

443
Questions are :-
Explain the Framework you are using
What is data driven framework
Where the test data will be stored in the FW
Components of Framework
How to count the links available in the form
Different types of locators. Which locator is your preference and why
Syntax of Xpath and cssSelector
In what format you are giving your report to client
Conversion process of Testing report to XSLT
Processor used in report
How to handle Authentication window
How to handle multiple window
Challenges faced in your automation project and how you overcome those
How to handle complex interaction - Action class
What kind of Frame work using in your organization..?
Explain about your framework architecure..?
Where did you stored all kind of xpaths in your framework..?
What is the HUB & Node..?
How do you run your test using a framework..?
Write the xpath..?
How to handle alerts using web driver..?
How to identify two fields(Radio button) in a page with same id..?
How to write a xpaths for Dynamic web pages..? (like facebook status, Filpakarts)
Junit - how do you used in projects..?
How do you handle popup windows in your projects..?
Why is Java platform/OS independent ?
Have you used collections in your code ?
What is the difference between Implicit and Explicit wait ?
Write any sample code -- Fibonacci series ...
Scenario --
I have three unique buttons in my page.(Display names are different)
The internal ID & Name changes on every page load.
I need to click on each button in sequence.
Write a prog to find the largest of 3 numbers
Write a program to obtain the ipaddress from the user and chk if the ipaddress is valid or not
Write a program to chk if u hav received mail from hcl using webtable
Ur project architecture
Diff between hashmap and hashtable
What is serialization
What is anonymous class
How to create a immutable class
Challenges faced in selenium
How will u locate the dynamic objects in a webpage
Prog to reverse a string
Obtain the number of chars in a text file
Read a property file
How to handle ajax alerts and frames
1. Write a java program, to swap without using 3rd variable?
2. Write a Java program to read text from a file and display it.
3. Write a Java program to get file name from the given string.
Str = "C:\Programs\TextFile.txt"
4. Write a sql sub query to join Employee(T1, T2, T3) and return the table 3 values
5. Write a selenium script to print the table values? Table is like 3X3 table with values A, B, C, 1, 2, 3, 4, 5, 6.
1.explain abt hybrid framework (data&keyword driven)
2.did you involved in initial framework development for your client ?
3.do you know Ruby?
4.write a java program to check a sting is palindrome
5.write a java program to check a no is prime ?
6. what is the use of toCharArray method?
7.diff be assert and verify?
8.consider there are steps in a test case and your second steps fails, here which one you use ? (assert or verify
9tell me diff be smoke and sanity testing ? And which one will go depth ?
10.what is exploratory testing ?
11.do you have performance testing in your project ?
12.what you do in performance testing ?
13.explain about page object model
14.explain about reporting in your project ?
15.formats of your report ?
16.how do you give report for test cases to your client ?
17.draw complete architecture of your client project
18.what development model you use in your client ?
19.tel me about extentreport jar and it's functionalities. Is it rd party tool ?
20.how do you rate yourself in selenium out of ?
21.how many locators available in selenium ?
22.what is most preferred locators ?
23.tell me the list of web elements a web page can have
24.what is synchronization ?
25.what is the diff be implicit wait and explicit wait ?
26.where do use explicit wait ?
27.consider there are three links available in a web page with same Id, name, text and all. How do you click the second link without using xpath ?
28. explain the frame work used in ur project.
29. write code to read data from excel.
29. what is use of POI.
30. how many test scripts do you have in ur project.
31. how many days will take to execute all the scripts.
32. what are the challenges u faced in ur project when u executing Selenium scripts.
33. write a program to given number is palindrome.
34. write a program to write given number is Prime or not
35. Java is what type of language.
36. what is oops and tell me the main concepts in oops.
37. how do you find multiple objects in a web page.
38. diff between findelement and findelements.
39. diff between trow and throws.
40. tell me the types of exceptions, why and how we handle them.
41. diff between checked and unchecked exceptions
42. how you handle popups in windows based applicn.
43. what is diff between close() and quit()
44. some basic qns on Actions like click, right click, double click
45. what is implicit wait and syntax for this, what are the time units types, can we give hours and days also for time units?
46. explain the POM
Explain about you frame work?
Xpath – Parent, Sibling relation
If m1, m2, m3, are the methods in your class and you have given m1, m2, m4 in your xml. Will it skip the methods m1 and m2 or it will throw an error?
What is the most generic exception class in selenium
Write a sample code for the webElements
1. Check box
2. Text box
3. Drop down
4. Alert
5. Popup window
6. Click at the corner of the button
7. Click on the button without using click method
Get the IP address of the local host and check whether it is a valid address
Write a code for data provider.
Explain data driven and hybrid driven framework
Write code to read property file
Write a code to read the text file and print the no. Of vowels in it
Write a sample code for palindrome
You are inspecting a (Tex t box) WebElement and it is pointing to div tag. Will you be able to enter a text when the tag is div
Explain about your project folders
Write a sample code for any of the testcase you have designed using a framework
Difference between hashmap and hashtable with syntax
How will you read a pdf file. What jar file is needed?
GitHub commands. If 2 users are modifying the file in git hub and you want to know the changes and who had made it. What is the command to perform
Maven – explain
How will you schedule a job to run
Will the hidden element (style = hidden) can be retrieved by coding?
does hashmap accept duplicate values
D/B hashmap and hashtable, arraylist & linked list and their methods
wait() & sleep() in thread & questions on thread exceptions
Program to convert a string to palindrome
Maven & Jenkin - general question
Difference between Jenkin & Windows task scheduler
Xml path using following - sibling
code to retrieve element from webtable and click its corresponding check box and verify If the link is enabled in that row. If the check box is clicked and click the link
question on CSS
how to retrieve value of an attribute of an element on xml path
Abstract class, object class & its methods
can a variable declared as private static final can be accesssed by other class in same package/different package
rise of static keyword for variable, method
abouth the report that we provide to customers in our project
challenges faced in your project
when do we use selenium grid
1. Self introduction?
2. Tell about your projects and Role and responsibilities?
3. What are framework you have using in your project?
4. Draw the framework architecture and explain the framework?
5. Different types of locators. Which locator is your preference and why
6. Diff between findElement and findElements()?
7. How will you navigate the pages using selenium?
8. What is data driven framework? Explain poi.jar?
9. Write sample selenium program with verifyEquals and assertEquals that you used in your projects?
10. Diff between driver.findElement(By.id("")) and driver.findElementById("")
11. In what format you are giving your report to client
12. How to handle multiple window
13. How will you handle drop-down?
14. In the mail inbox how will you find the email with attachement?
15. Challenges faced in your automation project and how you overcome those?
16. What is keyword driven framework?
17. Selenium remote execution?
18. What is Css Selector?
19. How do you handle popup windows in your projects..?
20. What is the difference between Implicit and Explicit wait ?
21. Scenario -- I have three unique buttons in my page.(Display names are different). The internal ID & Name changes on every page load.I need to click on each button
22. How will you upload file in a web page using selenium?
23. How to take screen shot using selenium?
24. Do you know about Seleniunm RC?
25. What is Test NG and annotations?
26. What is XPath Axes?
Java
1. How would rate yourself in java out of 5.
2. Write a java program to find number is prime or not?
3. How do you achieve multiple inheritances in java.
4. main() method can be overloaded?
5. main() method can be overridden?
6. Diff between list and set?
7. What is Interface?
8. What is abstract class?
9. Diff between Interface and abstract class?
10. What is Static?
11. Diff between mutable and immutable? I explain with String and StringBuffer but they were not convinced.
12. What is string buffer string and differences between them?
13. Diff between Overloading and Overriding?
14. Diff between throw and throws?
15. final vs finally ?
General
1. What is Maven?
2. How many bugs you found so far?
3. How many testcases you written?
4. How many minimum test cases you can write for a functionality? Eg. I am sitting the room near a table and i have to take a pen from the table?
5. Explain Defect time cycle?
6. Explain the C1 issue you have worked?
7. Expected CTC?
8. Notice Period?
9. Why are you looking for a change?
Hcl interview questions
what is exception and error
Difference between == and .equals
What is command line arguments - customised behavior of main method
diff b/w primitive and non-primitive data type
what is testng and what is its use
What is variable and types
what is the main use of static

How will you verify 100 link clicks at a time


There are 12 buttons, they are month buttons. I have to verify and click the button
Open a page, search for item and click the last item
What are the method names for identifying x axis and y axis
To identify dynamic webelement, which locator to use

HCL interview qns :


Tech round 1:
They read our resume word by word and ask qns from each line of it. So be prepared in usage of words in resume. Highlight the topics that you know very well.
Other qns asked -
Explain oops concepts with example
Java pgm fr Floyd triangle
Read and write data from excel - code
Write down all possible scenarios - positive and negative for purchasing a mobile from flipkart - end to end
Test ng annotations, data provider
Tech round 2:
A person from a manager role interviewed me.. it was all about making him accept that you have real project experience in selenium.. need to explain the project in an
Explain automation framework architecture in ur project using diagram.
Can we have multiple object property files . At every instance of reading frm object property file
u r doing read operation. I want to do only once not again n again..How will u do it.
What drawbacks u faced in selenium, Where it doesnt wrk, wht ocasions u faced like this..how u handled it
Write a code tht if a particular exception happens, the try block should run again
A string "yyyyyHelloyyyy" is given.write code to print only Hello

Round 1
Google.com
Can you brief about yourself.
Google1.com
abc.com
Difference between WebDriver driver = new WebDriver; and FirefoxDriver driver = new FirefoxDriver
lmn.com
Bug Lifecycle
Google2.com
I need to get Google.com, Google1.com and Google2.com links at a separate location.
DesiredCapabilities for proxy to Firefox browser.
Have you worked on Mac?
Do you know what is component framework?
Which framework do you use in your project and explain.
What type of Reports do you use in project, not asking about TestNG reports.
Round 2
Find No. of mails present in the Inbox
If a button is not getting clicked 2 out of 5 times, Is your script is failing or how do you handle it?
"Ctrl"+"Alt"+"Delete" - Do this in a single line of Code
How do you upload a file by clicking Browse button?
How do traverse to a 3rd frame from 1st frame, Directly or how?
How do you capture a text which is present inside a textbox
What is the class used for Dropdown and what methods for selecting the options?
Can you traverse reverse in X-path to div. Given Textbox with id present inside a span which is in-turn present inside div.
Initialize and insert an item into a HashMap
Difference between LinkedArray and ArrayList
Difference between LinkedHashMap and HashMap
Given 20 Students name. i) Remove the duplicate Names, ii) Sort them Alphabetically.

There is a String like 123ABCD456. You need to store Integer and Char seperately.
U have a webtable like below
Mobile Price
Iphone 500
Samsung 350
Lenovo 250
Iphone. 750
I need to get the Iphone price of 750
Write code for Mouse over, drag and drop, Select Dropdown.
How to scroll horizontally and vertically in a webpage. Code for it..
Switching from one frame to another. Whether you should come out of first frame or can directly switch to other. Same scenario incase of nested frame.

Swap two columns in a table..Write code


Scenario: in Gmail login after entering username & pswrd - submit button vl b enabled. If submit is not enabled even after entering username,pswrd how can u handle
There will be two windows A and B, once you navigated to Window B from Window A by clicking some button; window A will be closed/expired. In window B if you cli
In a webpage will be 3 textboxes there, for textbox1 you have to pass some value, and in textbox2 some value will be there, the value present in textbox2 has to be co
In a webpage two table will be there, write a java program to swap data of two tables,

What is the difference between absolute and relative xpath?


Difference between throws and try catch?
what are the different types of popups you came across in your project and how do you handle them?
Name some exceptions thrown by java and selenium.
How do you sort element in a linklist?
Difference between linkedhashmap and treehashmap.
Given a scenario where a webtable was given one of the rows was having a text field, how would you pass the value from excel to that text field write a code for it.

Round 2
Scenario-
Scenario- A particular
Have a pageelement
P1 if youlocators
click on keeps on it
a button changing everyyou
will navigate other
to day howP1would
P2 and youclose
will get handle, write
similar a method
is the for P2
case with it i.e if you click on a button it will navigate to p
p2 will close. How will you be able to launch page p1 from p2 and vice versa? Write two approached for it.
Scenario3- There are two web tables 2*2 each hw would you swap the the values of table one with table two so my output looks alike as shown below write a code fo
hcl second round :
1)string s= new string("hcl"). how many object it will create
2)what is array and list
3)how do u connect ur Db with selenium
4) swap numbers without using temp variable
5)reverse the string without using string buffer method
6)how many type of list
7) how to give sample test data to ur test case
8)what are the challenges u have faced in automation
9) explain your day to day work
10)explain ur project
11)abstract class and interface difference
12)which reporting tool u r using
13)how to get report
14)given one html code and asked me to write 2types of xpath
15)how to automate the image eg. dynamically change image like graph
16)do u have knowledge on autoit
17)what is thread and how to create thread class
18)write a selenium code for drop down by using index
19)diff between get Windowshandle and getwindowhandles
20)IS it possible to create a object for interface?
21)how to take screenshot. write a code for that
1)Explain ur framework
2) Explain about test case execution flow ( from where it start to close the browser )
3) write a code for password validation (first letter should be upper case, alpha numeric, spl character )
4)how to get data from webtable (5th row 8th colum)

1diff between arraylist and linked list


if there are 100 links how to click 5 th link while running first time of case, next time it should click 6th link
aboyt ur current working project
do u know any mob automation tool
what is appium

1)Xcel get data


2) Interface and its example
3) Abstract and its example
4) This keyword example
5) Super keyword example
6) Handling Alerts
7) Handling Windows...
1)Explain about ur framework
2)diff between arraylist and linked list
3)if there are 100 links how to click 5 th link while running first time of case, next time it should click 6th link 4)aboyt ur current working project
5)do u know any mob automation tool
6) what is appium
string s= new string("hcl"). how many object it will create
what is array and list
3)how do u connect ur Db with selenium
4) swap numbers without using temp variable
5)reverse the string without using string buffer methods
6)how many type of list 7) how to give sample test data to ur test case
8)what are the challenges u have faced in automation
9) explain your day to day work
10)explain ur project
11)abstract class and interface difference
12)which reporting tool u r using
13)how to get report
14)give one html code and ask me to write 2types of xpath
15)how to automate the image eg. dynamically change image like graph
16)do u have knowledge on autoit
17)what is thread and how to create thread class
18)write a selenium code for drop down by using index
19)diff between get Windowshandle and getwindowhandles
20)IS it possible to create a object for interface?
21)how to take screenshot. write a code for that
1)Explain ur framework
2) Explain about test case execution flow ( from where it start to close the browser )
3) write a code for password validation (first letter should be upper case, alpha numeric, spl character )
4)how to get data from webtable (5th row 8th colum)
2)how many years you are in automotion
3)how to handle dynamic elements
4)how do deal with radio button
5)adv of pom
6)what is keyword driven
7)tell me the code of browser launch, passing url
8)types of xpath
9)testng annotations
10what is the use of testng. xml
11)how to paas data to the test cases
12)xcel sheet access
13)same element present in more than one time means how to locate it
14)how u r integrating pom with keyword driven
15)what is record and play back? then why are writing scripts
16)how to give priority and how to skip the testcased
17)ex for inheritance . during inheritance how to access the object of class A in class B
18)tell me the oops concept
19)what are the challenges u have faced
20)are u willing to learn new things
21)are u flexible with timing
1. How will you group the test cases based on smoke ans regression?
2. What are the TestNg annotaions you have used in your project?
3. write a code to find how many check boxes are checked and how many unchecked in a webtable where the row count is unknown. There will be many checkboxes i
4. Write a code to print the default value displayed in the dropdown using select class.
5. write a method with 3 parameters (rowNum, colNum, StringValue) which should place a value in the user defined row and column in a new sheet.
6. Explain about 'throw' keyword
7. In the below code which catch block will get executed first,
try
{
divide by zero error;
}
catch(ArithmeticException e){
}
catch(Exception e){
}
catch(NullPointerException e){
}
8. write the various xpaths you know
9. How will you get the last row number in excel?
1. Explain Page object model project folder structure and how you handle reports in that.
1. Validate the List box value based on the another list box selection
2. Direct window handling concepts
3. Write xpath to select 2nd row, 5th column list box
5. What are the actions that you can perform with Actions class
6. Difference between window handling and frame. Will both r same?
7. How can you check whether a field is available and enabled in a webpage
8. Write a code to validate the List box values using HashMap
Interface,
Inheritance,
Polymorphism,
Final keyword in java,
Difference B/w abstract class & interface,
Collections,
How to pass URL in java & verify response,
Diff b/w set & list,
Diff b/w explicit wait and implicit wait,
Interface of WebDriver class,
what WebDriver returning,
TestNG annotations,
How to pass parameters using TestNG,
explain structure of testng xml,
how to run script in parallel,
How to run groups,
Mevan build command,
Diff b/w clean build and test in mevan,
explain Mevan Pom xml,
explain your project framework,
explain POM framework,
explain cucumber keywords,
How to write script for specific scenario and how system wiĺl identifies those steps,
Sql- Diff b/w inner join and left outter join,
Select max record from table, write sql script,
what is returning TestNG dataProvider,
How to run specific class in testng,
have u used continues integration,
Advantages & disadvantages of appium,
how to switch webview,
how appium works,
touch actions,
unhandled exception and handled exceptions difference,
What framework you use in your project.
Various annotations in testng.
A sample testng XML to run class 2 first and class 1 and 3 should be dependent on class 2.
How you execute a method first out of 3 methods in a class.
How you connect to a database. Write code.
What is inner join. Write a sample query.
How do u sort an arraylist.
What is generics.
Difference between abstract and interface class.
What is xpath.
Write an xpath for dynamically changing id like hcl1234,hcl2457,hcl6542.
How do you add a dependency in maven project. Write the syntax
Write a script to read the excel and print the cell values.
What is Reflection and where do u use?
What is Implicit and Explicit wait and write the syntax for it.
What is the use of Debugger in Java?
How to upload a file using windows file exporer pop up and explain the different ways in detail?
how to handle multiple popups
Write program to read excel value and search for particular value in the excel value in the excel and return the output
write a program for get alist of value from drop down
Different between single and double slash in xpath?
Write a program to Convert string AAABBC to A3B2C1
How to compare date in excel sheet and web table
Explain about your framework with architecture
Explain about agile methodology
Explain about grid, what are the commands u know in grid
Explain about Page Object Model frame work
Write a query to print salary details in a table exclude top 5 highest salary values.
Write a program to primt all the alternate options from the dropdown
Draw and explain the framework used in ur project.
where will be the screenshots stored in the diagram drawn
difference between soft assert and hard assert.
Does selenium support window based application.
Does Alm supports selenium..?
In a paragraph, I have few numbers scattered in whole paragraph, I need to add all whose numbers.. How to do?
In a webpage 100 objects are there out of that, I need to find all disabled objects. How..?
In a webpage some set of questions keeps on coming one by one, we need to answer all and we don’t know how many questions will come.
But after asnwering last question, a fresh webpage will open who you will handle this scenario?
Write program to get 5 strings in a list and check all the stings are palindrome or not
Suppose I am having 3 pages.All the 3 pages are independent to each other.
But all the 3 pages are having common header .in all the 3 test case I have to use the common Header part
How many page class will you write?
Two classes are there, the derived class is extendeded the base class and a method also overrided base class method.
we can create object for either base class or derived class but you should prevent creating object for base class.
.how will you prevent creating object for base class?
suppose I am having 10 lines of code I am using hard assertion in 5 the line and soft assertion in 10 the line.
even after failing in 5 the line the code should execute till 10 the line.how will you make it like that.
suppose I am having 100 test cases.we are having 2 builds daily morning and evening.
13 test cases I have to test after morning build and remaining 87 cases I have to test in the evening .I have to do this as routine work daily how will you do it.
I am changing my mobiles often since I joined in HCl I have used different kind of mobile
.I want to store all these information in collections.which collection I should use?
I has a page with header,body and footer. He want to retrieve footer data alone and validate the data's inside the footer? How will you achieve this..
Classification
Selenium - FrameWork
Selenium - FrameWork
Selenium - FrameWork
Selenium - FrameWork
Selenium WebDriver
Selenium - Locators
Selenium - Locators
Selenium - Reports
Selenium - Reports
Selenium - Reports
Seleium - Windows
Seleium - Windows
General
Selenium WebDriver
General
Selenium - FrameWork
Selenium - Xpath
Selenium - Grid
Selenium - FrameWork
Selenium - Xpath
Selenium - Alerts
Selenium WebDriver
Selenium - Xpath
General
Seleium - Windows
Core Java
Core Java
Selenium WebDriver
Core Java

Selenium - Xpath
Selenium - Xpath
Selenium - Xpath
Core Java
Selenium WebDriver
Selenium WebDriver
General
Core Java
Core Java
Core Java
Core Java
General
Selenium - Locators
Core Java
Core Java
Selenium WebDriver
Selenium - Alerts & Frames
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Selenium - FrameWork
General
General
Core Java
Core Java
Core Java
Selenium WebDriver
Selenium WebDriver
General - Testing
General - Testing
General - Testing
General - Testing
Selenium - POM
Selenium - Reports
Selenium - Reports
Selenium - Reports
General
General
Selenium - Reports
General
Selenium - Locators
Selenium - Locators
Selenium WebDriver
Core Java
Selenium WebDriver
Selenium WebDriver
Selenium - Locators
General
Selenium - Excel
Selenium - Apache POI
General
General
General
Core Java
Core Java
Core Java
Core Java
Selenium WebDriver
Selenium WebDriver
Core Java
Core Java
Core Java
Seleium - Windows
Selenium WebDriver
Seleium - Mouse action
Selenium WebDriver
Selenium - POM
Selenium - FrameWork
Selenium - Xpath
Selenium - TestNG
Selenium WebDriver

Selenium WebDriver
Selenium WebDriver
Selenium WebDriver
Selenium - Alerts
Seleium - Windows
Selenium WebDriver
Selenium WebDriver
Selenium - Grid
Selenium - Excel
Selenium - FrameWork
Selenium WebDriver
Core Java
Core Java
Selenium - Xpath
General
Selenium - FrameWork
Core Java
Selenium - Uploads
Selenium - GITHUB
Selenium - Maven
General
Selenium - Xpath
Core Java
Core Java
Selenium WebDriver
Core Java
Selenium - Maven, Jenkins
Selenium - Jenkins & Windows
Selenium - Xpath
Selenium WebDriver
Selenium - Locators
Selenium - Locators
Core Java
Core Java
Core Java
Selenium - Reports
General
Selenium - Grid
General
General
Selenium - FrameWork
Selenium - FrameWork
Selenium - Locators
Selenium WebDriver
Selenium WebDriver
Selenium - FrameWork
Selenium WebDriver
Selenium WebDriver
Selenium - Reports
Seleium - Windows
Selenium WebDriver
Selenium WebDriver
General
Selenium - FrameWork
Selenium - Grid
Selenium - Locators
Seleium - Windows
Selenium WebDriver
Selenium WebDriver
Selenium - Uploads
Selenium - Snapshot
Selenium WebDriver
Selenium - TestNG
Selenium - Xpath

Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java

Selenium - Maven
General
General
General
General - Testing
General
General
General
General

Core Java
Core Java
Core Java
Core Java
Selenium - TestNG
Core Java
Core Java

Selenium WebDriver
Selenium WebDriver
Selenium WebDriver
Selenium WebDriver
Selenium - Locators

General

Core Java
Core Java
Selenium - Excel

Selenium - TestNG

General
General
Selenium - POM
Selenium - Excel
General
Core Java
Core Java

General
Selenium Webdriver
General - Testing
Selenium Webdriver
Selenium Webdriver
General
Selenium Framework
Selenium Framework
ExtendReports

Selenium Webdriver
Selenium Webdriver
Actions
Windows app handling
Selenium Frames
Selenium Webdriver
Selenium Webdriver
Selenium Webdriver
Java Collections
Java Collections
Java Collections
Java Collections
selenium
java
selenium
selenium and java
java
java
selenium and apache POI

Selenium and Java


Selenium
Selenium and Java
Questions are :- Classification
1 Round 1:
2 Brief me about your automation career General
3 Explain your framework Selenium - FrameWork
How would you connect to your excel? Which class would you use for it?
4 Selenium - Excel
What is the machine readable format or which class converts any of your document/file into an object?( let me
know if you didn't understand the question.. I can explain)
5 Core Java
How would you click on a button on which webelement.click doesn't work?
6 Selenium WebDriver
You have a webtable.. Consider Column one has name of the country and column 3 has weather conditions of
the country.. When I input a country name, I should get a weather condition of the country? Logic
7 Selenium WebDriver
8 7. 14,28,20,40,32,64,56,112.. Quantitative
9 Logic - Quantitative
10 The difference between 14,20,32,56 is Quantitative
11 0,6,12,24 Quantitative
12 The differences between 28,40,64,112 is Quantitative
13 0,12,24,48 Quantitative
14
15 Round 2:
16 Tell me about your career General
17 Why would you want to leave CogniZant General
18 You think your current role isnt challenging? General
19 What is the most challenging issue you faced in your project?? General
20
21 What kind of framework u hav used in ur project? Selenium - FrameWork
Tell me the different tools that u hav used till now in ur project and explain?
22 General - Testing
Draw and explain the folder structure of ur project and different classes that u hav in each folder?
23 General - Testing
24 Explain the complete flow of ur code? General - Testing
25 Draw and explain ur framework? Selenium - FrameWork
26 How u ll generate report in different format? Selenium - Reports
27 Types of reports that u hav used in ur project? Selenium - Reports
28 How to read data from excel sheet using apace poi? Selenium - JXL, Apache POI
29 How u will handle multiple windows starting from parent window? Seleium - Windows
Different types of waits in selenium webdriver and explain it with example?
30 Selenium WebDriver
31 Difference between assert and verify? Selenium WebDriver
Assume we hav a login page, v hav entered login name correctly and entered wrong password and then v tried to
login to the application. The password textbox will be highlighted in red color. How u will verify it?

32 Selenium WebDriver
Assume u hav a login page, u entered usernameand password correctly and u cliicked login button.Now the
application doesn't response u aft clikcing on login button... how u ll handle it in ur selenium code?

33 Selenium WebDriver
34 Challenges that u hav faced in selenium? General
35 Explain with example hw u ll handle file uploads? General - Uploads
36 How to full snapshots in chrome browser? Selenium - Snapshot
37 How to select the drop down value and explain it with example? Selenium WebDriver
38 Program to print fibonacci series? Core Java
39 Hav u worked in SOAP UI, if so tell me what will u do with that General - Testing
40 Hav u developed any framework? Selenium - FrameWork
41 Explain mouseover actions with example? Selenium - Mouse Over,Keyboard
You hav a web table it contains 3 columns. 1st column contains name of a person and 3rd column contains out
time. U need to print out time of a particular person name. Assume that the values in changing dynamically.

42 Selenium WebDriver
43 1. Write a java program based on below points Core Java
44 a. Take an integer input Core Java
45 b. Find the no. Of digits Core Java
46 c. If the digits count is an even number then divide the input no. By 2 Core Java
d. If the resultant no. Of digits is even similarly in point e. no. Of digits in resultant no
47 Core Java
e. if the resultant no. is odd then remove the centre digit and compare the first half digits with that of the last
half digits
48 Core Java
49 f. if they are equal print equal if not print not equal. Core Java
50 2. How do you run all the failed test cases using testng Selenium - TestNG
51 3. How would you retry a certain test if it fails Selenium - TestNG
52 4. Explain each of the annotations in Testng Selenium - TestNG
5. A webpage has 4 textboxes each has the same class attribute as A , write a script to click on the 3rd textboxes
and add your name prefixed by a tab space.
53 Selenium WebDriver
6. A web page has a link and when right clicked and then open takes you to another page that has a text box in it
and name to be typed in the textbox., write a script for the same
54 Selenium WebDriver
55 7. Explain about the Agile process General - Testing
56 8. Explain about Cucumber framework. Selenium - FrameWork
Hexaware
Round 1:
57 1.Java programs Core Java
58 2.Core java concepts Core Java
59 3.Webdriver and TestNG Selenium WebDriver, TestNG

Round 2:
60 1.Tell me abt yourself General
61 2.Explain ur prj framework General
62 3.Difficulties faced in automation General
63 4.Any value adds you did in your project. General
64 Write java code Fibonacci?
65 Write code for reversing the integer?
66 How to get the text value inside text box? < I Told get attribute of value>
67 How to get the selected in the list box then? < I told the same way- and he convinced>
68 If I click a link multiple pp up gets open how do you close all except parent? Write code for that?
69 How do you rate yourself in selenium?
70 Tell
Whyabout career?
do you leave your company? The position is for automation frame work developer – nbut might be a manual
71 tester some time? Are you okay with that?
72 What is the most challenging issue you faced in your project??
73 Why POM? Have you worked in Hybrid?
74 Whats TOSCA?
75 Why do prefer selenium than tosca?
76 Explain your project architecture and how efficiently you have managed in automating them?
77 What are the different way handling reports for the cases you have executed?
78 How will you delete the 3rd row of dynamic web table using selenium
79 How will you create random characters as a string in text boxes
80 How will you count all the elements in web page
81 Write code to find broken links in webpage
82 How will you handle random pop up in web page
83 Difference between driver.get and driver.navigate.to
84 Whether finally method will be executed everytime . If no at what condition it won't execute
85 How will you take screenshot of failed test cases alone
86 Where do you use abstract class in Ur project ?
87 What are the other alternate ways for send keys
88 Testng test cases with priority as -1 and 0 . Which will execute first . Whether -1 is acceptable
89 Write code for data providers
90 How will you run all test cases in a single shot via testng
91 Write Java code for string buffer (no pseudocode .. full program)
92 Java recursion and it's practical use in selenium project
93 Why build perform is mandatory for action classes
94 Define web driver .
95 How will you access pdf files in selenium . (Project requirement s to handle it via automation ,what are the other
ways to handle it )
96 Write code for sort the alphanumeric values . What are the available options to resolve and best solution
97 command to print in selenium IDE
98 what data type would Case in Switch(Case) statemenr supports
99 Which OS wont be supported by Selenium IDE
100 How to handle cookies in Selenium(2 ques)
101 Which view show the script in HTML format
102 Which method used to retrive text of the field(ans:getText())
103 How to verify a text with the existing feild
104 How to check whether a text is present
105 What is mean by Selenese
106 How to declare field in Selenium
Options:{name},$(name) and few more options
107 java program
Int X,Y=1;
X=10;
If(X==10)
{
Syso(X);
}
Else
{
syso(++Y);
}
108 which data type stores the values in the Selenium Webdriver
109 Explain your Framework
110 Fibonacci series
111 Frames and Switching
112 Inheritance
113 Code for interacting with Excel
114 how to enter the text in text box
115 how to get data from excel (Full code)
116 Framework explanation
117 List ,set, Map explanation
118 static keyword explanation
119 Diff between string, buffer n builder
120 how to overcome diamond prob
121 Abstract class explanation
122 Implicit wait n Explicit wait explanation n difference
123 Windowhandling
124 agile ceremonies
125 how change integer to char
126 method overloading n over riding
127 Select the method which clears all selected entries in selenium web driver
128 Where can u create ur own selenium commands
129 Which command is is used for typing in a text box.
130 Select command which is used to pause execution until the specified element becomes present
131 Scope of implicit wait
132 Command which is used to pause execution until page is loaded completely.
133 Select the view which shows your script in HTML format
134 Features available in IDE to debug an automated case.
135 In which approach tests can be executed with multiple sets of test data.
136 What can be used to flex/flash application using selenium.
137 How many parameters does the selenium object takes when using default selenium.
138 Difference between web driver close and quit methods.
139 what is the method to disable cookies
140 what does submit method does?
141 Where does variable of tc's stored in Java
142 verifytextpresent method patterns
143 assert & verify difference
144 Scope of Implicit wait
145 What r the different modes of Se(Option Firefox,IE,Chrome)
146 Where selectbyvisibletext is used
147 How to get text from a page?
148 What is the method to store the alert?
149 Why relative x path is advantage then relative x path
150 method for context click
151 Find the Xpath for given HTML code
152 how to count the number of elements
153 Difference between breakpoint n start point
154 How to navigate forward in browser
155 Asserttitle returns what
156 syntax for selectbyindex
190
191 A,b,c print all possible combinations of these elements
192 Write a program for print all values on webtable
193 Write a program for print all values on drop down
194 String vs stringbuffer
227

228 what is meant by framework,


229 challenges facing in selenium,
230 String builder and string buffer,
231 what is maven,
232 stack and heaps,
233 can u inherite an interface? can i use extend keyword to inherit the interface?
234 final, finally, finalize?
235 Advantage of POM
236 which one is faster relative or absolute xpath?
237 Is webdriver is interrface or class
238 examples of interface
239 various methods that inside the interface
240 Testng - we use main method in testng? why we cant used?
241 What sequence @Test is run? Example if there are 5 @Test methods at what sequence it will run
242 Super classes?
243 Example in selenium where we implement polymorphism?
244 explain framework
245 write a program to list all the options in the dropdown
246 explain Set and List
247 what is string literal and non literal
248 challenges in ur project u hav faced
249 Assume that u r running 10 test cases, 6 of them is successful and 4 got failed with some environment issue.
Without any interaction ur code should automatically run those failed test cases. What will u do.. ?
250 write a java program to print the repetition of a given word. Eg - Welcome
251 write a code for odd or even num
252 list Annotations of TestNG
253 what does the word annotations means and what it is actually doing.
254 Objects for interface
255 How will u switch to frames when there are multiple frames and also how will u exit.
256 what r the Testing which is supported to run in automation.
257 write a program to reverse a string
258 explain page factory
259 Write the program to print number of occurance in the word "WELCOME" and print
260 What is the return type of containskey?
261 Write a program to print all the possible word from the given word "ABC"?
262 Rate yourself in selenium and java?
263 Write a code to print alternative row in webtable?
264 What build tool used in your project?
265 Switch between four frames and do some actions
266 Textboxes - find last text box in the page and enter data - do not use list or for loop - use xpath only
267 when will you use parameter in testcase
268 Explain testng annotations - in order
269 how will you run the failed test cases using testng
270 how will you get the value of the dropdown which is already selected
271 Tell few arraylist that is present in java
272 what is the baseclass of arraylist
273 what is the baseclass of list, map
274 How will run 100 test cases sequentially using testNG
275 A label contains both date and time. Get the value of the label and get the date alone
276 Have you done customized reporting? Not Extend reports automate SilverLight screens
277 What is different between collection and collections
278 What is different between nullPointerExcepton and NoSuchElementException
279 Action is class or interface?
280 Is synchronization possible in selenium
281 How to tag multiple values under one key in hashmap? If so what is the cache exception will get?
282 Is possible to switch from parent window to multiple child window without having window name?
283 Xpath syntax for to click particular link correspondence value in the table
284 How to find hidden element in selenium
285 How to do drag and drop using actions
286 Wat is difference between perform() and build().Perform() CssSelector
287 What do you know about test plan?
289 What are the different control flow statements you know?
290 How will you find number of searches when you google a word.
er,Keyboard
S.No
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Questions:
Explain framework
how to do grouping?with code?
how to handle different pop ups?
diffrence between string and string buffer?
what is difference between abstract class and interface?
diffrence between final,finaly,finalize?
diffrence between normal class and final class?
how to handle frames without having any attributes?
diffence between smoke and sanity testing?
QA process you follows?
adapter design in java?
Where you used polymorphism
How to find memory leakage in your application
What is use of multi catch block
When we have to use comparator
How to pass additional data between multiple web pages
What is contract between hash code and equal method
How to improve performance of application
What is use of functional interface
Write the query to find duplicate value in related column.
Write the query to give grant for particular table
What is difference between primary key and unique key
Write a immutable class without using final keyword
Write a program to explain all oops concept
What will happen if we store custom object in tree set or tree map.
Why string class is immutable not string buffer.
What is pull mechanism and push mechanism
What is asynchronous and synchronous communication?
Difference b/w absolute path and relative path
How to resolve conflict in git.
How you are making your war file how you are deploying.
What is your rollback policy if deployment got failed?
What all are your step to resolve production issue.
S.No:
1
2
3
4
5
6
7
8
9
10
11

12
13
14
15
16
Questions:
Data binding
Method overriding
What is Constructor
Why constructor called while object creation itself explain it on board
Why main method is public static void main
Why return type is void for main method
What is reference
Programs in string without using built in functions count vowels ,
Find the length of the string without using length() method
Write a program for deletion of alphanumeric
Write a program for to convert upper to lower case & lower to upper case

If any of the dependency failed to download then what happened in Jenkins


Retrieve a data from dynamic webtable
What is POM?
Why your using POM Framework
Why cucumber? And What is the use of cucumber?
Classification:
1st Round
1) Introduce about yourself?
2) Explain about your Project?
3) How to manage the Synchronization in Selenium Webdriver?
4) Difference between findElement and findElements?
5) What are the different Classes you have worked on?
6) How is dataprovider useful for your framework?
7) How do you handle unknown alerts?
8) Explain about Exception handling? and how do debug the issues.
9) Syntax for taking screen shot and how to store them in unique filename?
10) How to manage dynamic objects?

2st Round(Technical/Managerial)
st Round
1) Introduce about urself?
2) Different components of your framework?
3) Rate yourself in Java?
4) Why are you looking for change.?
5) challenges you faced in your project.?
6) How to achieve multiple inheritance in java.?
7) What is the difference between interface and abstract class.?
8) Tell what ever you know about static keyword. ?
9) Explain about maven in your project?
10) How do you do reporting in your framework?
11) Difference between Array list and linked list?
12) How do you manage if you encounter web table?
13) Different annotations in TestNG you are using in your project?(Explain @Test annotations and is parameters)
14) Scenario :If client give some suggestions and you did a change to the script.
15) How do you estimate your project. (How much time you require to automate 100 test cases) Explain why?
16) What are the different type of meeting you participate?
17) What is product backlog in Agile?
18) What is the pros and cons of using Agile methodology?

3rd Round (HR)


1) Relevent experience
2) package Discussion
S,NO: Questions
1 Tell abt yourself
2 Difference bw implicit and explicit, what mechanism behind explicit,which is preferred
3 how to compare two strings in java
4 we have 10 tc and need to execute test case 1,5,7 is first then need to execute rest
5 Need to execute same test case in multiple times how to handle
6 Difference be list and set and tell some implementation part of that
7 How to change the highlighted element color in pages
8 What are the different Attributes u know
9 Explain your current project
10 Explain about ur project framework
11 What is the difference between assert and verify
12 What is difference between findElement and findElements
13 What are the different locators u know
14 Diff between Explicit implicit and fluent wait
15 What is Webdriver exception
16 Tell about Groups
17 How do you Skip test cases
18 What are the different annotations u know
19 WAP for Fibonacci series
20 WAP for Armstrong number
21 Print numbers 1 to 10 excluding 4 and 6
22 Write an array in ascending order
23 What is Regression test means
24 Difference between regression and retest
25 Tell about Bug life cycle
26 Difference between string, string buffer, and builder
27 why string is immutable
28 Tell about Testng XML design
29 If two test cases(test) running sequential in testNG.xml explain What the is execution flow
30 Explain Testng annotations
31 Explain Cucumber annotations
32 Why ur using maven project
33 How to achieve both Testng and cucumber in a single framework
34 What is glue and dryRun
35 explain selenium Locators
36 What is continuos integration? How to run in jenkins
37 How u push the code in GITHUB
38 Explain Grid concept? How you worked with grid?
39 Tell about your project how you protect you project
40 What is Data provider and Paramaters
41 What is Include and exclude in XML File?
42 Explain Priority and seveority with examples ?
43 How to run Testng randomly ?
44 Java pgms palindrome, reverse characters alone within the string
45 String literal and object declaration
46 Explain about String buffer and builder
47 How will u identify elements in web table if the rows are changing
48 How will u identify webelement if xpath is continuously changing on refreshing the page
49 What do you know about Collection concepts
50 Write a Pgm using map
51 Pgm to find 2nd largest no in an array
52 Explain Interface and Abstraction
53 Why class cannot be used instead of interface
54 java version in market
55 Java Related questions -,
56 What is automating pagination
57 What is Streams,lamba expressions, in java?
58 What is pojo clss,functional interface in java?
59 What do you know about generics in java
60 How will you handle dynamic webtable write the code
61 What are the different acess modifers you know
62 Did you used abstract class in your selenium framework
63 Scroll -how to achieve without js executor , without element,without Virtulakeys??
64 How will you get perticular cell value in a webtable ?
65 Difference between inspection and walkthrough
66 What is burn up and burn down
67 Difference between run time polymorphism and compile time polymorphism
68 Difference between authorization and authentication
69 Write a code to get text from Google page using Firefox
70 Difference between agile and waterfall models
71 Swap 2 numbers without using third variable
72 What is jdbc
classification
General
Waits
Java
TestNG
TestNG
List
Selenium
TestNG
General
Selenium
Selenium
Locators
Locators
Waits
Exceptions
TestNG
TestNG
TestNG
Java
Java
Java
Java
General
General
General
Strings
Strings
TestNG
TestNG
TestNG
Cucumber
Maven
Cucumber
Cucumber
Selenium-Locators
Jenkins
GitHub
Selenium-Grid
General
DataProvider
TestNG
TestNG
TestNG
S.No: Questions:
1 what is interface.
2 Access specifiers of data members in interface.
3 Multiple and multilevel inheritance.
4 Two class and one interface how to do multiple inheritance.
5 What is the Use of Inheritance.
6 what is abstract class.can abstract class have concrete methods
7 can you create object in abstract class
8 method overloading and method overriding.how many classes you require for each.
9 what is polymerphism
10 what is abstraction.how it is acheived in java
11 what is constant pool and non constant pool.what they contain
12 In which area of JVM they are present.
13 what is mutability and non mutability.
14 what is encapsulation explain with a example
15 List set and map.do set allow duplicates.
16 What is generics.it is compile time or run time
17 How to insert data in map.what are classes of map
18 How to create firefox driver.
19 how to create chrome driver.
20 if a file is going to download to a specified location ,now how to change it.
21 Write a code.for both chrome and firefox
22 .testng : i)if there are 5 test methods how many times @BM and @AM will run
when executing all the five test methods.
ii)How to run Test scripts parallalely using TestNG
iii)order of execution of testng annotations
iv)what is data provider
23 .what is datadriven.how to take data from excel sheet using which class/method.
24 why we use datadriven framework or excel sheet in selenium
25 pom class.how to design it.
if there is a webapplication which has two webpages Login Page and home page
How many POM class you will create.
How do you initialize POM
26 .Maven.How to specify dependancy.after specifying dependancy what happens.
If we run Maven project for 5 times then will it download jar files every time.
what is the use of surefireplugin
27 what is VERIFICATION AND ASSERTION
28 what is BDD
classification
Java
Java
Java
Java
Java
Java
Java
Java
Java
Java
Java
Java
Java
Java
Java
Java
Java
Selenium
Selenium
Selenium
Selenium
TestNG

Selenium
Selenium
Selenium
Selenium
Questions are :- Classification
1 Write a code to find number of links in a webpage , also print only the enabled links in that page ? Selenium WebDriver
2 Frame switching method? Selenium - Frames
3 Is it possible to execute the webdriver code without opening the browser? Selenium WebDriver
4 Framework - model ? Selenium - FrameWork
5 How report generation is done through framework? Selenium - Reports
6 Bug life cycle and its description in brief ? General - Testing
7 Types of testing in detail ? General - Testing
8 Testing priority ? General - Testing
9 % of automation tests and manual tests in project ? General - Testing
10 In what cases automation is carried out ? General - Testing
11 Release iterations ? General - Testing
12 Critical regression testing to be carried out with limited bandwidth and resource in the last minute....how to handle? General - Testing
Questions are :- Classification
1 1. What version of selenium you started ? General
2 2. What is the current version of selenium Firefox chrome u r using?? General
3 3 how to sort an array of elements ?? Core Java
4 4 how do you check the element s in dropdown are sorted in ascending order or not ?? Selenium WebDriver & Java
5 5 . how do you count the number of rows and columns in a webtable ?? Selenium WebDriver & Java
6 6 what are some of the selenium exceptions you came across?? General
8 . assume there are 50 names every name has a link called edit how will you click on
77 .can
the yourstatic methods be overrided ??
name Core Java
8 if it is present some where in the 39 the row ?? Selenium WebDriver
9 9. if it is present some where in the 39 the row ?? Selenium WebDriver
10 1. Tell me abt yourself? General
11 2. Tell me abt your selenium project experience? General
12 3. How is OOPS concepts related to your project? Core Java
13 4. What is the difference b/ web server and application server? General
#
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Questions are :-
Tell me about yourself
Explain the framework used in project in detail
Explain abt BDD framework(Cucumber) and flow(asked from my resume)
How do u run the testcase with different inputs in cucumber framework
what is meant by gherkin testcase
what is meant by background in cucumber
About Window Handling
About frames handling
What is abstract
Diff b/w abstract and Interface
Syntax for take screenshot
Explain about robot class
this and super keyword and their difference
Explain about mobile gesture - Appium - TouchAction class(asked from my resume)
How do u identified the element in mobile app
Explain about desired capabilities
Explain about SDLC process(Agile Methodology - day to day activities)
What is advantage of webdriver?
Which is the base browser for selenium. . Suppose if I need to access other browser like chrome ie what will you do
What's webelement?
What are the different types of waits?
What r the locators available?
What's the latest selenium version?
What's selenium grid?
And they asked more from banking perspective loans, interest, clearing, etc. ,
from testing concepts. . Types of testing, levels of testing, test life cycle, bug life cycle, regression testing, priority, severity, etc.,
Classification
# Questions are :- Classification
1 What is constructor?
2 Is constructor overloading possible?
3 Overloading vs overriding?
4 What is an Interface?
5 Difference between ChromeDriver and FirefoxDriver methods?
6 What is geckodriver?
7 How do you run your tests from Jenkins?
8 What are the exceptions have you faced?
9 Why do we get NoSuchElement exception?
10 What will you do when you get ClassNotFound exception?
11 What are the ways to refresh the web page?
12 ImplicitlyWait vs ExplicitWait?
Questions are :- Classification
1 Diff between windows.close and .quit
2 Diff between explicit wait and implicit wait and syntax of them
3 Bug life cyclr
4 Route cause analysis
5 requirements traceability matrix
6 Agile methodology
#

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123

124
125
126
127
128
129
130
131
132
133
134
135
Questions:
Infosys Interview Question:
1. Tell About yourself
2. Why are you looking for career change
3. Write a program to reverse a string using for loop
4. Write a program to swap 2 arrays
5. How will you handle SSL certificate
6. Difference between Selenium RC and WebDriver
7. What is Interface and Abstract class and difference between them
8. Which is the headless browser
9. Can we declare a private class inside a main class
10. Explain access modifiers
11. What are the locators used in selenium
12. What will you use if the web element changes dynamically
13. How will you handle changing requirements
14. Can we use this keyword with static method
15. Explain TestNG annotations
16. How can I run multiple test cases
17. TestNG XML structure
18. POM framework and explain your project
19. What is Continuous Integration
20. What is the use of Maven and explain how is it used to take build
21. Have you done any estimates? What type of estimation? Explain for both agile and waterfall methodology
22. How will you categories the test case as critical, medium, simple etc..
23. Write SQL statement for finding the second maximum salary in the table
24. Do you allocate any task to resources and how?
25. Explain test plan and test strategy
26. What are the CMMI Level 5 metrics used
27. What additional tracking and metrics you use for CMMI Level 5
28. If any resource has not completed the work on time and delivery is scheduled tomorrow. How will you manage this situation
29. What is difference between List and Set
30. Explain Java Collections
31. Write code to take screenshot.
32. What are the tools used in your project for tracking.
He touched everything that is mentioned in resume. Whatever we have mentioned in Profile Summary, for every keyword they asked questions
Explain the framework structure
Web table handling, i have a check box in one column and in the 2nd column I have name value. In the rows against the name column, if the name value is gonna be re
Nested frames. I have to enter a name in the text box of a nested frame and hit the ok button!
Explain ur project and the framework used.
how to get input from Excel
how do u have version control
how u use variables in Selenium
how to perform drop-down
inside a frame two text boxes present. Shld get the text from one box and paste in in other box
window handling
diff between implicit n explicit wait
Difference between Assert and verify
In a login page How will you find If the password field is below or not
Accessing table If there is no table name
Test Lead questions with agile methodology
Take numeric values in the screen ex : If its displaying 1,2,3 and add them and display in ur program
Different nethods of opening if browsers other than get method
Accessing Dropdown values
Asked Firebug tool for screenshot
diff types of tags explaination
How will u manage ur team if ur team member is not working
Appraisal system
Db connection .. etc.. There were lot more..
What is static?
What is Hashmap
What is Set
Final and finally difference
What isSingleton class
Array and arraylist difference
Different between overriding and overloading
How to count multiple Windows?
Real time example for explicitly wait
Syntax for implicitly wait
Explain keyword driven framework
Tell me abt ur framework (i explained POM framework)
Draw a diagram of whatever framework u explained
Show the connection between all the packages u explained
Explain ur role
What r TestNG annonations, wat annotaion u used in ur project and explain wat each annotation does
How do u fetch data in DataProvider....asked the program to be written
How do u run ur test scripts
How many test cases do u have in ur testcases package
if there r 100 test cases, u want to run 50, hw to do that
What do u do when there is a Defect
Defect LifeCycle
What do u do in Defect Triage call
What is SDLC? Explain each phase, explain the documentation in each
What r exceptions
Where do u use it and y dont u use it in Pages package
What Reporting technique u use
Hw to pass PASS or FAIL to Reporter class
Wat is Hub and Node
Hw do u handle alert
Hw to get text of Alert
Hw do u take alert snapshot
Hw to handle windows
Which Seleniun version u use nw
What Selenium version u started working
Explain interface with example
What is version control you use in current project
Hw do u schedule execution using Jenkin
What is maven
Difference between Explicit n Implicit wait
Test Leaf Babu: Infosys interview questions:
what is test estimation and how you schedule and estimate your task based on agile methodology?
scenario based question ask me to explain in framework model
i told about POM under which data driven model framework i used..i told from that did u write separate program for reading and passing the excel
explain about read the value from excel and ask me to write the program logic
what is selenium web driver
how you will invoke the test
difference between junit and testng
write the XML for testng to run the test
is parallel testing is possible in junit and testng
how you will rum the parallel testing
explain about the selenium grid
types of locator
what is xpath and what are the types of xpath
scenario based ..when textbox is dynamic changing ,for that how you will write the xpath
how to window handles
once after window handles and i need ti enter into the parent window..tell the logic how will you write
annotation used in testng and where we are using
what is constructor
define abstract class and write sample program
Explain roles and responsibilities
Write script for login page
How to move inside the frame and to back
Notepad read and open
Excel sheets read and open
Tell me about your framework
Select from Webtable

Abstract class and the syntax


Framework structure
Firefox driver intialization
How you handle window based popup
Dynamic xpath
Git hub methods
Jenkins how to schedule it
With using wait how you will wait for the element.using test script we need to do it
Compiletime polymorphism
What is Ajax
Errors in java
Following and preceding xpath
Classification

General
General
Core Java
Core Java
Selenium WebDriver
General - Testing
Core Java
Selenium WebDriver
Core Java
Core Java
Selenium - Locators
Selenium WebDriver
General - Testing
Core Java
Selenium - TestNG
Selenium - TestNG
Selenium - TestNG
Selenium - POM
General - Testing
Selenium - Maven
General - Testing
General - Testing
Selenium - Database/MySQL / Oracle / SQL
General - Testing
General - Testing
General - Testing
General - Testing
General
Core Java
Core Java
Selenium - Reports
General
Questions are :-
1 Draw the architecture diagram of selenium inplementation in your project
2 Expalin what sdlc model u r using in ur project
3 How can you check whether a particulat text present in a webpage. What are the predefined method in selenium for checking this
4 How to check whether the check box is selected or in unselected without using
5 How to find whether the element is in visible or in hidden
6 difference between findElement and findElements
7 How you will handle pop up windows
8 what is testng
9 how you are handling keyword driven and datadriven framework in your project
10 What is mean by hybrid framework
11 How can u upload file in webpage
12 How u will handle popup in webdriver
1st round
14 What frame work your are using?
15 How can you handle pagenation in Selenium Webdriver
16 What are all locators?
17 difference between findelements and findelement
18 How to handle Popup window
19 how to handle alert?
20 difference between List and set
21 why we are using Set for Window Handle
22 Explain Map
2 nd Round
25 Explain Agile methodology
26 How you are using Testng with Webdriver
27 Difference in Testnng over Junit
28 draw the architecture diagram of your selenium Framework of your project
29 Waterfall model
30 defect life cycle
29 sdlc life cycle
30 whether u r handling webtable in your project
L&T Round 1:-
--------------------------------------------------------------------------
31 1. Tell about yourself.
2. Explain your project and its architecture.
3. What is the framework you are following, explain it.
4. Excel sheet coding
5. Diff between HSF and XSSF.
6. There may be possibilities for input data comes from .xls or .xlsx file.

7. How to run 50 TCs together?


8. Advantages of TestNG? Why are you using it?
9. If we run 2 methods parallely, will TestNG creates 2 reports separately?
10. There are multiple frames in your browser. Find all of them and visit inside, identify element. Write code for this.
11. What are locators used in webdriver?
12. What is WebDriver?
13. Write code for opening different drivers?
14. Do we need driver for firefox? Why?
15. Can you write the DesiredCapabilities for SSL?
16. What is the build tool are you using? How will you schedule using batch file?
17. How will you handle multiple windows?
18. If a link is opening in a new tab? will you consider it as a separate window?
19. What are java collections? Where are you using them in your project?
20. What is object repository? What is the use of that? If you are using findelement by Id and late on want to use xpath?

21. What are the challenges you faced in your project? I said scrolling window. he asked below question.
22. Write the code for Java Script executor?
23. How will you handle window pop up? I said Robot and AutoIt.
24. What is mean by autoit? Explain its use. Write code for reading autoit file in selenium.
25. How will you go for automation project estimation? What are the factors will you be considering?
26. Who will be gathering the client requirement for your project?
27. How many person in your team? what are your responsibilities?
28. Who will be doing the manual test cases in your team?
29. How will you identify complex scenarios?
60 30. How frequently build is happening in your project? What is the minimum duration it goes to production?

Round 2
---------------------------------------------------------------------
61 1. Tell about your experience and project framework?
2. Diff between QTP and Selenium?
3. What is recovery how will you handle it?
4. How will you generate report in your project?
65 5. What is your automation experience?

HR Round
-----------
66 1. Tell about yourself?
67 2. Why job change?
68 3. You already have an offer. Why are u came here?
69 4. Will you attend other company interviews if we provide offer?
70 5. Will you be able to join bangalore location?
71 6. Did u travelled abroad?
72 7. Did you handled any team?
73 8. what is the take home you are expecting.
74 Array list linked list,hash set
75 dynamic polymorphism,
76 difference between Bug and defect,
77 alert,
78 difference between close and quit,
79 difference between navigate and get url,
80 Window handling,
81 testng annotation,
82 types of wait,
83 What is the purpose of static and constructor
84 How to co-ordinate two pages from this code(login page, Homepage, MyhomePage)
85 What is the purpose of constructor (this, PageFactory)
86 Explain how hashmap will work, what will happen if I provide duplicate key?
87 I have 3 static variables and I created 3 objects. How many copies of static variables will be created?
88 What is fluent wait? Did you ever used fluent wait any where?
Classification
Selenium WebDriver
General - Testing
Selenium WebDriver
Selenium WebDriver
Selenium WebDriver
Selenium WebDriver
Selenium - Windows
Selenium - TestNG
Selenium - FrameWork
Selenium - FrameWork
Selenium - Uploads
Selenium - Windows

Selenium - FrameWork
Selenium WebDriver
Selenium - Locators
Selenium WebDriver
Seleium - Windows
Selenium - Alerts
Core Java
Seleium - Windows
Core Java

General - Testing
Selenium - TestNG
Selenium - TestNG
Selenium - FrameWork
General - Testing
General - Testing
General - Testing
General
How will u write the code for reading from diff file extention?

Will u make update in code or object repository?


# Questions Classification
1 difference between implicit and explicit wait
2 assert and verify
3 Soap and rest
4 What r the challenges faced in selenium
5 How will you automate mobile applications..
6 How will you find page load time
7 What's a site map
# Questions:
1 How do you do estimation for automation work? what are to be considered?.
2 How will you approach Customer about Automation scope?. How you convince?.
3 What are the browsers Selenium support?
4 What is selenium 3.0 version and include?
5 Have you done API testing
6 Write xpath for login button
7 Write using css selector for login button
8 Difference between link text and partial link text
9 How will u identify last row using partial link text with a keyword which available in all rows
10 How to findout number of webtables available in one page using script
11 Write script for implicit and explicit wait
12 Name few commands used in explicit wait
13 3 windows opened. How do you go to 2nd window?. and close1st and 3rd window?
14 what is static
15 What is break and continue command in program?. how to use it?
16 Write a method to pass n numbers in array and print the outcome
Test ng annotations
Explain Priority
How Depends on methods works
Explain Group concepts
Scenario based question in testng
Diff between smoke n sanity
Orthogonal array technique
Framework architecture
POM explanation

Pros and cons in keyword driven and pom


Majority of the questions were from testng and frameworks
Asked to explain each and every component of framework....
Some basic java questions...
Questions Classification
1
2
3
4
5
6
7
8
9
Maveric interview questions:
31 Polymorphism
32 Interface
33 Inheritance
34 Multiple inheritance
35 Instance variable
36 Abstraction
37 Public,private,protected
38 Explain Psvm in detail
39 Assert key and verification
40 Hashmap
41 Diff bwn print and println
42 Pgm to reverse a string without using string buffer
43 Pgm to swap to numbers
44 1. How will you handle random popup windows.
45 2. Where did you use javascript in selenium..
46 3. How can u copy a file to system clipboard
47 4. Takescreenshot code.
48 5. Sort numbers by ascending order.
49 6. In a string.. print the repeated chars
50 7. Tell me abt ur framework..

51 Difference bitween == and .equals() method


52 How to load and extract data from Hashmap
53 code for reversing a string
54 methods available in string and string buffer
55 Where do you maintain your test data
56 How do you run your testcase in multiple browsers
57 Explain paramaterization
58 Explain purpose or uses of each -> maven, git, jenkins
59 Explain how will you integrate -> maven, git, jenkins
60 Explain how will u create repository in local and remotely in Git
Questions are :- Classification
1 Difference between FindElement and FindElements Selenium WebDriver
2 how to locate the Elements using Xpath , Selenium - Xpath
3 Difference between X path and Css Selector, Selenium - Xpath
4 Challenges faced while using selenium, General
5 How to handle windows,frames ,alert,text box,list box,check box,file upload,windows scroll Selenium WebDriver
6 Difference between implicit wait and explicit wait Selenium WebDriver
7 hat is constructor,class,object,static method ,method overriding and Method overloading. Core Java
8 TestNg annotations and they gave some scenario and asked which annotation should be used , Selenium - TestNG
9 how to start hub and how to register node. Selenium - Grid
S.No: Questions
1 How will find elements in the application
2 How many different types of locators you know
3 Which locator is best and why?
4 How many different xpaths you know and its types
5 Arraylist in ascending order using collections
6 Explain ur framework
7 Code for fetch data from excel
8 What is jenkins and its purpose
9 Methods in collections list and set
10 On clicking a button parent window gets closed and new window opens- can Selenium handle this, if yes explain how
11 Commands in jenkins
12 Explain page object model
13 What is the extension of cucumber file
14 How feature file and step definition are linked
15 What does feature file contains
16 What does step definition file contains
17 How to select values from drop down
18 How to get user input in selenium
19 What is git hub and its purpose
20 What is BDD?
Written test: objective. 30 marks. 20 selenium and 10 java. Max on Oops concepts.
21 1.Many questions on actions to find the exact Driver code for a scenario.
22 Diffrence between findelement and findElements
23 Explain what methods are there in alert
24 Explains frame
25 WAP to find image location
26 WAP To find colour
27 Annotations in TestNG, which annotations are not available?
28 Explain Parameters in TestNG
29 In java programs and asked to chose output, need to fill in between programs: written
30 Explain ur Framework
31 What and why we are going for cucumberBDD
32 Explain TestNG groups, enabled & alwaysRun scenarios
33 Without using alert API , how will you handle alert ?
34 How will you highlight elements that your looking for with a rectangle box
35 Program- copy a value from an array to an another array
36 String reverse without using inbuilt function
37 Difference between Final, finally, finalise
38 What is Getter setter and why ?
39 How to take full page screenshot
40 How will you do static method redefined ? Write a code for it.
41 How to initialise a Driver during runtime without using system.setproperty ..
42 when to use arraylist and when to use linked list ?
43 What is output , on treeMap ? It’s by keys. Gave an example and asked to sort.
44 What is Recursive functions
45 Explain about functionality of AutoIT
46 Explain about functionality of Robot class
47 Explain what are all methods available in Actions
48 Explain POM and page factory with code
49 What is the difference between Interface and abstract class
50 Is java support multiple inheritance? No means why and how can we achieve multiple inheritance in java
51 Write a program to print all options available in a drop down
52 What is the difference between set and list
53 How you will handle any item presented other in webpage
54 How you will browse your file in web page with out send keys
55 How many ways you perform click operation
56 What do know about data driven testing
57 Difference between findElement and findElements and @findBy
58 What is static, difference between static and non-static
59 What do you know Cucumber
60 How to do Data base connection
61 How you will do Scroll down
62 How you will take screen shot? Explain any two ways to take screen shot of any page?
63 Can we convert our class package and project into XML file using TestNG...
64 how to pass text in text box. Other than sendKeys.
65 How will you close browserr without using quit/close.
66 How to find all links available in a page and save them in list.
67 What version of WebDriver currently using?? What is the new version gonna come and the advantage??
68 What is selenium RC and Selenium Webdriver.
69 What is xpath and Question on dynamic xpath.
70 Which locater you will use if there is username field with tag Un<type =“username”> and password field with tag UP<type =“password”>. And can you write th
71 What is Selenium Webdriver and Selenium Grid.
72 What is abstract class and interface with real time example from your automation script.
73 If a normal class has many methods and out that one method is abstract method. So now the will become abstract class or normal class.
74 In interface can we create any object.
75 What is difference between implicit and explicit wait and write.
76 Difference between xpath and css selector. Which one is fast and why
Classification
Locators
Locators
Locators
Locators
Collections
POM-FrameWork
DataProvider
Jenkins
Collections
Window
Jenkins
POM-FrameWork
Cucumber
Cucumber
Cucumber
Cucumber
Dropdown
Selenium
Git
Cucumber
“password”>. And can you write the xpath and Css selector.

ormal class.
Questions are :- Classification
1 Give one scenario & asking to write the code
2 Code will cover the following points
3 1.Data need to be read from excel/CSV/data base Selenium - Database/MySQL / Oracle / SQL
4 2. Take screen shots Selenium - Snapshot
5 3. Update the pass/fail in excel Selenium - Excel
6 4. Handle exception handling Core Java
Written
1.)Gave 2Test:
text boxes for search. Have to input 2 search terms and
7 count the number of times search keyword appears in the results. Selenium WebDriver
8 2.)Need
3.)write atocode
writeToa test
method
this to pass the test
functionality so data from excel/csv/DB
that parallel execution Selenium - Database/MySQL / Oracle / SQL
9 has to be done in two different browsers. Selenium - TestNG
10 4.)Implement exception handling n take screenshot too. Selenium - Snapshot
Technical:
11 1.)Write Palindrome string code Core Java
12 2.)What are the collections Core Java
13 3.)what are the methods to handle exception Core Java
14 4.)which is the super class in java. Core Java
15 5.)DB connection in Java. Core Java
Managerial:
16 1.)Tell about your technical skills General
17 2.)What is an automation
3.)Will unknown exceptionsframework, hw doinu ur
will be covered create one?
scripts or General
18 framework? General
19 4.)Any challenges faced in the projects? General
Technical & Willingness:
20 1.)Tell abt ur projects from college? General
21 2.)How to get 8th max salary from a table? SQL
22 3.)How good r u in java? General
23 4.)Are you ready to learn? General
Questions: Classification
1 Introduce yourself General
2 Explain your framework Selenium - FrameWork
3 What is your role in your project General
4 What is constructor Core Java
5 Final & Finally Core Java
6 How to create an object Core Java
7 How to double click Selenium - Actions Class
8 How to mousehover Selenium - Actions Class
9 How to handle POPup Seleium - Frames, Windows
10 How to handle Alerts Selenium - Alerts
11 How to handle window Seleium - Windows
12 How do you run your scripts General - Testing
13 There are 2 methods A & B I want to run method B only if method passes. How to run using TestNG Selenium - TestNG
14 What is Maven Selenium - Maven
15 What is Jenkins? Where does Jenkins run. I'm Client or Server/ Selenium - Maven, Jenkins
16 GIT & GITHub Selenium - GITHUB
17 How to Pull & Push from GIT? Commands? Selenium - GITHUB
18 In a set of 100 testCase. I want to run only 20 testcases. how do I achieve that using TestNG? Selenium - TestNG
19 Agile Methodology General - Testing
20 Collections Core Java
21 How to pass values in selenium other than sendkeys Selenium WebDriver
22 How to get the text from Alert? Selenium - Alerts
23 How to pass value to the Alert Selenium - Alerts
24 Xpath - Absolute / Relative Selenium - Xpath
25 Dynamic objects - handling Core Java
26 Assert & Verify Selenium WebDriver
27 Drag & Drop Selenium WebDriver
28 TestNG annotations Selenium - TestNG
29 Listeners Selenium - TestNG
30 JDBC query Selenium - Database/MySQL / Oracle / SQL
31 Download/Upload file using selenium Selenium - Uploads
32 Screenshot Selenium - Reports
33 How do you manage writing your code? Do you write script for the functionality in the same script? General - Testing
34 how to pass parameters in testNG Selenium - TestNG
35 Synchroniation Selenium WebDriver
36 Class A & Class B are present, class A has method 1 and class B has method 2, How to call method 1 from class ACore Java
37 How to get co-ordinates? Selenium WebDriver
38 Frames Selenium - Frames
39 How to navigate back & forward in a browser Selenium WebDriver
40 Keyword driven framework Selenium - FrameWork
41 do you shared repository or single repository Selenium - POM
42 What are types of exceptions you generally use Core Java
43 method signature Core Java
44 1. introduce about yourself General
45 2. what is Agile-scrum process General - Testing
46 3. how many of you will be in scrum call General - Testing
47 4. what is SDLC/STLS/Bug life cycle. General - Testing
48 5. Models in testing General - Testing
49 6. what is OOPS. Core Java
50 7. what is encapsulation, polymorphism, Inheritance Core Java
51 8. Difference between Multiple and multilevel inheritance Core Java
52 9. what is interface and class Core Java
53 10. Define Public static void main Core Java
54 11. what is your folder structure General
55 12. write a program to display links using bylinktext Selenium WebDriver
56 13. write a program to handle alert pop up Selenium - Alerts
57 14. what are the locators Selenium - Locators
58 15. what is the framework used in your project General
59 16. What is the quality standards and structures followed in your Project General - Testing
60 17. what are the types of frameworks used Selenium - FrameWork
61 18. write the git commands to push changes and explain Selenium - GITHUB
62 19. Explain how jenkins is used. Selenium - Maven, Jenkins
63 20. What is synchronization Selenium WebDriver
64 21. How to set priorities and check in threads using java Core Java
65 22. Brief about TestNG annotations Selenium - TestNG
66 23. How to parameterize in testNG Selenium - TestNG
67 24. Explain Grid, can a single system act as both Hub and node Selenium - Grid
68 25. Explain about collections Core Java
69 26. what is the flow of java program Core Java
70 27. How to mousehover How to handle aletrs Selenium - Actions Class
71 28. Syntax of relative and absolute Selenium - Xpath
72 29. Xpath How are you sending reports to your client Selenium - Xpath
73 30. what are the annotations, TestNG Selenium - TestNG
74 31. TestNG annotation - priority, dependson,invocationcount,threadpoolsize,threadsize parallel Selenium - TestNG
75 32. what is dataprovider. Selenium - TestNG
76 33. what are listeners Selenium - TestNG
77 34. what is ©override Selenium - TestNG
78 35. what is the difference between Implicit/Explicit and fluent wait Selenium WebDriver
79 36. What are immutable classes and what is the access modifier for static & final Core Java
80 37. write a command to get database connection Selenium - Database/MySQL / Oracle / SQL
81 38. Regular expression Selenium - Regular Expression
e/MySQL / Oracle / SQL
e/MySQL / Oracle / SQL
Tell about urself?
How do rate yourself in java?
Whats are diff between abstract class and interface?
Whats This refers in java?
Whether static method can be overridden?
Can we call static method without using object?
whats finally block?
What about final?
What are the issue you have aced so far during automation?
How do switch between frames?
Can we execute same test cases in multiple browsers?
How do you achieve concurrent test case run?
What method do you follow to optimize the code?
How with POM structure?
Why do use maven projects?
Any other build mechanism have you heard of?
Jenkins can we automate build time ?
How good are you in SQL?
Questions are :- Classification
1 Bug life cycle? General - Testing
2 Smoke vs Regression testing? General - Testing
3 Various defect status meaning ? General - Testing
4 At what case smoke/regression is done ? General - Testing
5 Defect management tool and its usage ? General - Testing
6 Arraylist vs list? Core Java
7 SQL - how to find second largest value ? SQL
8 How to upload using Selenium? Selenium - Uploads
9 Framework model used? Selenium - FrameWork
10 Selenium disadvantages? Selenium WebDriver
11 Static vs final ? Core Java
12 final vs finally ? Core Java
13 Hub syntax ? Selenium - Grid
14 What is performance testing? General - Testing
Questions are :- Classification
1 java questions constructor Core Java
2 method over riding Core Java
3 why constructor used Core Java
4 Interface and abstract class Core Java
5 Static methods Core Java
6 How failure test cases are handled in selenium Selenium - Reports
8 TestNG attributes Selenium - TestNG
9 1. Write the selenium code to take the screen shot for the webpage ? Selenium - Snapshot
2. how to handle the dropdown in selenium and tell the approches to select the value for
10 the dropdown ? Selenium WebDriver
11 3. write the code to get the element in the table ?? Selenium WebDriver
12 // he gave me one table ..//
13 @Rate yourself in java - out of 10 General
14 4. what is inheritance?? Core Java
15 5.what do know about collections and its advantages ? Core Java
16 6. what is a string ?? Core Java
17 7. what is an abstract class ?? Core Java
18 8. why you choose testNG as your framework rather than taking JUNIT ?? Selenium - TestNG
19 9. what is the difference between ide and selenium webdriver ? Selenium WebDriver
20 10. tell me the list of annotations present in the testNG frame work ?? Selenium - TestNG
21 11. tell me the keywords in java ? Core Java
22 TR 2
23 1. Please explain the testNG framework need in your project? Selenium - FrameWork
24 2. have you used data driven to get the data from xl sheet ? Selenium - Excel
3. write a java program to replace the owels in the given string by its numbers ?? (a-1,e-
25 2,...) Core Java
26 4.Explain me about page object model ?? Selenium - FrameWork
/ photon interactive pvt ltd //
interview questions
27 1. Write the selenium code to take the screen shot for the webpage ? Selenium - ScreenShot
2. how to handle the dropdown in selenium and tell the approches to select the value for
28 the dropdown ? Selenium WebDriver
29 3. write the code to get the element in the table ?? Selenium WebDriver
// he gave me one table ..//
30 @Rate yourself in java - out of 10 General
31 4. what is inheritance?? Core Java
32 5.what do know about collections and its advantages ? Core Java
33 6. what is a string ?? Core Java
34 7. what is an abstract class ?? Core Java
35 8. why you choose testNG as your framework rather than taking JUNIT ?? Selenium - FrameWork
36 9. what is the difference between ide and selenium webdriver ? General - Testing
37 10. tell me the list of annotations present in the testNG frame work ?? Selenium - TestNG
38 11. tell me the keywords in java ? Core Java
TR 2
39 1. Please explain the testNG framework need in your project? Selenium - TestNG
40 2. have you used data driven to get the data from xl sheet ? Selenium - Excel
3. write a java program to replace the owels in the given string by its numbers ?? (a-1,e-
41 2,...) Core Java
42 4.Explain me about page object model ?? Selenium - POM
43 1. How proficient you are on Java? General
44 2. Been asked to write program for the below pattern Core Java
# #
# #
# #
# #
45 3. What would be the output for the following Core Java
int i=10
Switch(i)
{
Case 1:
S.o.pln("1");
Case 2:
S.o.pln("2");
Case 10:
S.o.pln("10");
Default:
}
What the o/p would be? ( There is no break)
46 4. OOPS concepts Java
47 5. can operator overloading be achived by java? Core Java
48 6. Types of inheritance Core Java
49 7. What is TestNG? And its annotations Selenium - TestNG
50 8. Parallel execution Selenium - TestNG
51 9. What is TestRunner? Selenium - TestNG
52 10. Dynamic XPath Selenium - Xpath
53 11. If ID value generates randomly what you would do to locate an element? Selenium - Xpath
54 12. Reverse the following Core Java
Condition : Automation should be reversed first
After then Testing should be reversed
AUTOMATION TESTING
without using string reverse function
55 13. String is mutable or immutable? Why? Core Java
56 14. Collection Core Java
57 15. Exceptions in Selenium Core Java
58 Technical Round 2:
59 1. Asked me to say about few methods available in my framework ( Wrapper methods ) Selenium - FrameWork
60 2. How do you achieve Data Driven Framework ? Selenium - FrameWork
61 3. Write a code to read data from Excel Selenium - Excel
62 4. Difference between Arrays and ArrayList Core Java
63 5. How do you handle exception ? Core Java
64 6. Been asked to write a program to display numbers which is greater than 10 using forlooCore Java
65 7. How forloop works ? Core Java
66 8. How do you handle Windows and Alerts? Selenium - Alerts, Windows
67 9. Been asked to write code for window handles Seleium - Windows
68 10. Why String is immutable? Core Java
69 11 static keyword and explain it in brief Core Java
70 12. What is constructor? Use of constructor Core Java
71 13. Xpath syntax Selenium - Xpath
72 14. deadlock in java Core Java
73 15. What is map? Core Java
74 16. Selenium Grid Selenium - Grid
S.No Questions:
1 To print multiples of 5 up to 50000 write the code
2 Scenario: login page(selenium code)
1. enter username, 2. passwoed, 3. click on login button
3 How to find the searching word from the displaying existing history ( from google)
4 Maven configuration in eclipse
5 Retrospective in agile scrum
6 Java method to find the searching keyword from the similar word?
7 How will you conform , the corresponding web page is loaded successfully or not
Classification:
Java
Selenium

Selenium
Selenium
Agile
Java
Selenium
Questions are :- Classification
1 What is This keyword? Have you used in your code. Selenium - FrameWork
2 What is Interface? Core Java
3 Diff b/w Interface & Abstraction? Core Java
4 About Static ? Core Java
5 how to call static method? Core Java
6 how to click the 6th element in webpage - webdriver, but elements not in one frame... Selenium - Frames
7 how to handle alerts Selenium - Alerts
8 code to retrieve data from excel Selenium - Excel
9 code to take snapshot Selenium - Snapshot
10 some questions frm linux........
11 What s virtual classes interfaces Core Java
12 Code to write TestNG classes and what are the parameters Selenium - TestNG
13 Code to write how to include and exclude groups Selenium WebDriver
14 Code to login to google Selenium WebDriver
15 Code to swap the 2 numbers without using 3rd number Core Java
16 What is polymorphism Core Java
17 Suppose there are 3 interfaces 3 simple functions how interface possible Core Java
18 What s string buffer string and differences between them Core Java
19 How many 1 m cube in 10 m cube Quantitative Aptitude
20 Abstract and concrete classes can we instantiate object Core Java
21 What is composition in java Core Java
22 Suppose there r 2 test cases to be executed in diff sessions is that possible Selenium - Grid
23 Try catch finally...when finally will be executed Core Java
24 What is binding and diff types of bindg Core Java
25 What is java reflection Core Java
26 Can we call private function outside the class Core Java
27 TestNG listeners Selenium - TestNG
28 - Can you brief about yourself. General
29 - Can you explain me about your current roles and responsibilities in your project. General
30 - What type of automation you do in your project. General
31 - Can you explain me your framework. Selenium - FrameWork
32 - What is BDD test approach, How is it different from normal test approaches. Selenium - FrameWork
33 - Explain the architecture of BPT(QTP, QC) and BDD (Cucumber JVM, Webdriver)
34 - What are the differences between C++ and java. Core Java
35 - How do you rate yourself on java on a scale of 1 to 10. General
36 - What is continous integration.
37 - Tools used for continous integration.
38 - What are your achievements in the past 3 years in hcl. General
39 - What is access modifier in java, and difference between protected, private, public. Core Java
40 - What are the challenges you see when do testing in your project. General - Testing
41 - Why are you looking for a change. General
42 - What do you know about paypal General
43 - Are you customer of paypal? General
44 - Can you brief about yourself. General
45 - What tools you use in QA automation. General - Testing
46 - What is selenium. Selenium WebDriver
47 - Explain about your selenium framework. Selenium - FrameWork
48 - What is the repositry you have used for objects in framework. Selenium - FrameWork
49 - Can you write a sample webdriver script for login functionality of gmail. Selenium WebDriver
50 - What are the different annotations in TestNG. Selenium - TestNG
51 - What is the use of @BeforeTest annotation. Selenium - TestNG
52 - How do you access the methods in TestNG class file along with parameters. Selenium - TestNG
53 - I have a package which has 10 class files, i would like to run first 6 class files in paralle Selenium - TestNG & Grid
54 - Write the structure of TestNG xml file for the above scenario with parallel value as "testSelenium - TestNG
55 - How do you do parameterization in testNG Selenium - TestNG
56 - How is dataprovider different from passing parameters from testng xml file. Selenium - TestNG
57 - How do you handle dependency tests cases in testNG. Selenium - TestNG
58 - Write codes for the following:
59 1. Check if the given string is palindrome or not. Core Java
60 2. Check if the given integer is palindrome or not. Core Java
61 3. Write a sample code for hashmap and hashtable. Core Java
62 4. write a sample code for threads Core Java
63 - Given an array int a[] = int a{1,2,2,3,4,4,5,5,6,7} Core Java
64 1. Find the duplicates in the above array and store in to a seperate array Core Java
65 2. Find the non duplicates and store in another array. Core Java
66 - What is the difference between hashmap and hashtable. Core Java
67 - Difference between stringbuffer and string classes. Core Java
68 - What is testing General - Testing
69 - What are different types of testing General - Testing
70 - What are the types of testing you know apart from functional and performance testing.General - Testing
71 - what is security testing General - Testing
72 - Where would you see yourself in the next 2 years General
73 - what is compatability testing. General - Testing
74 - What is code coverage General - Testing
75 - Why are you looking for change. General
76 - What do you know about paypal. General
77 - What are your achievements in your project. General
78 - What are the challenges you had in your project. General
79 - How would rate yourself in java out of 5. General
80 - What is garbage collector in java Core Java
81 - How do you achieve multiple inheritance in java. Core Java
82 - What is the difference between interface and abstract class. Core Java
83 - My application is dynamic in nature including objects and Core Java
84 - Write a program to find the prime number Core Java
85 - Some questions of reasoning, probability. Quantitative Aptitude
86 - How do you update your knowledge. General
87 - What is stlc General - Testing
88 - Can you tell me the output of each component in STLC. General - Testing
89 - Have you done anything innovative in the past 3 years for which you felt very happy? General
121
122 Given a scenario of any, at the end of flow, check the amount present in database is reflected in UI
123 Testing our Thought process: if a new requirement change has come and the entire process of it gets over in 10 days,
how can it be delivered in minimum number of days, what Change of process can b bought to the tables !
124 Current process structure
125 TestNG annotations
126 Web table
127 Processes n general
138
# Questions are :-
1 Functional and non functional test scenarios for google search
2 U have a link on webpage go to the web page check if it is disabled or
enabled if it is disabled then click on refresh button four five times to make it enable click on it multiple times till it gets enabled.
3 Aft the link is enabled click on the download button. U can't click on the link ,
u shld just check whether it is enabled or not.
4 You have to locate a button in a webpage which has nly id attribute which dynamically changes
whenever page is refreshed like 001,002,003,etc. How would you locate it.
Classification
Questions are :-
1 Tell about your professional experience?
2 Why do you want to switch your company?
3 What’s your current framework and why pom? advantages?
4 If I select calendar and I need verify the current date is available for selection how should I do? <Asked to write code>
5 How should I select particular option in the list box?
6 What are the locators you use in your project generally?
7 And then it went related to telecom and CRM questions?
8 What are the waits you know, differences
9 Difference bitween assert and verify
10 What will you do if locators are having dynamic values(xpath)
11 What will do if u want to navigate to previous page(s)
12 Write a java program to print longest even string given on input
Classification
General
General
Selenium - TestNG
Selenium
Selenium
Selenium

Selenium
Java
Selenium
Selenium
Java
# Questions are :- Classification
1 What is static concept with example? Core Java
2 what is array with example and how to implement array? Core Java
3 What is Collections? Core Java
4 what is inheritance ? explain in coding? Core Java
5 what is data types, primitive data types and others? Core Java
6 Arraylist vs list? Core Java
7 object ?
8 constructor ?
9 Methods and construtor difference
10 Exception handling - try throw throws and catch
11 how to type caste double value to interger or string?
12 Agile Methodolgy
13 what is the process in your organizion following in agile?
14 Sprint (Scrum) - how many days will take one iterationsn to complete( Estimations)
15 Scrum matser
16 product owner
17 product backlog
18 what are the annotations
19 diff b/w Invocationtimeout & timeout
20 What is the estame time for to convert junit to TestNG
21 If dropdownlist option india is selected automatically select value to Tamilnadu .
22 verify the value , it changed every single clik is performed.
23 Assertvalue
24 Selenium version
Questions:
Robert bosch first round intervew questions:

1 Tell about yourself. General


2 Tell about your project General
3 Can you tell me any of your achievements in automation? General
4 Explain about your framework. Selenium - FrameWork
5 Difference between qtp and automation (since I have mentioned that I worked in qtp) General - Testing
6 Limitations of selenium? Selenium WebDriver
7 How good are you in Java? Core Java
1
2
3
4
5
6
7
8

9
10
11
12
13
14
15
16
17
18
19
20
21
22
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
Questions:

RBS Round 1:
1. How to identify the objects in qtp
2. Write pgm to count the number of Web edit elements displayed in single W
3. What is XPath and how to invoke
4. What is Relative XPath
5. Can user able to work multiple functional libraries at same time
6. What are all the components in automation framework
7. Given the bank transaction scenarios and need to write test Conditions an
8. How to call other action in first action

RBS Round 2:
1. Tell me about your framework
2. Tell me about what are all the methodologies used in your project
3. What is product owner role
4. Different between epic and user stories
5. Different between Test plan and Test strategy
6. Explain about HP ALM
7. Explain Defect life cycle
8. Syntax of Update and Insert query
9. Different between Assert and Verify
10. Challenges faced during automation
11. TestNG annotations
12. What reports you are using..
13. What are the locators you used.
14. What about XPath usage
1. Whats are locators how many are there?
2. Which is the best suited locator?
3. What is risk based testing?
4. What is xpath define it types?
5. What are the components of automation frame work?
6. What is relative xpath? Example?
7. What is absolute xpath? Example?
Explain your automation framework
Tell me the order on which TestNG annotations will be executed.
What is pom, its used
Write code for csv reading and writing
What is a Hashmap
Write test strategy for a new project involving e-mail like application integrat
How will you handle a 'star performer' in your team
How will you manage a team member who is not performing well after the re
Methods to handle multifunctional team
Questions on J meter
How do you convince a performance testing resource that two of his module
How to verify entered text?
There is a text box we need to enter text?
Where we use find elements and find element?
How to clear data from a text box?
How you compare two strings?
What's is inheritance?
How we can get the dynamically changing string value example: test@123?
What is pattern match?
What is regular expression?
There are 10 links in my page with same name how will you get and click the
How will you print all the items in the list?
There is a Web table and there are two columns (Index, Name) I have to find
Explain POM Framework and where will you specify the no. Of times your tes
Syntax for implicit wait?
How to switch to alert window?
Challenges faced in project?
What us autoit, have you have an idea on Cucumber?
ria and types of testing
that the issue is with the webservice stub

ond column?
#
1
2
3
4
5
6
7
8
9
10

11

12

13
14
15
16
17
18
19
20
21
22
23
24

25

26

27
28
29
30
Questions:
primitive data types are store in stack
Size of float,double,long?
default value of boolean,char and short?
Access modifier-default,private and protected
what is local variable?
what is class variable?
what is variable?
what is wrapper class?
what is null pointer execption ,when it occurs?
when will the java program show following
error occurs
execption occurs
Both of them occurs
none of the above
Static binding use which informations?
i)type
ii)object
iii)both of them above
iv)none of the above
dinamic binding use which informations?
i)type
ii)object
iii)both of them above
iv)none of the above
what is method overriding?
correct format for main() method
can constructor be inherited?
does class contains a default constructor? True or false
compositoin referr as ?
I)has a relationship
II)is a relationship
which is faster string builder or buffer?
marker interface?
what is abstraction?
Set interface?
is it necessary to have finally after try block?
when is finalize() invoke by garbage collector?
what happen if keyword static is removed from main method?
i)compilation error
ii)programe compiler without any output
iii)programe compiler with expected output
highest precedence operator ?
i)(),[]
ii)++.--
iii)*,/
Iv)>>,<<
which arithmetic operator throws arithmetic execption
i)-*,/
ii)-!,-=
iii)->>,<<-
which is not a keyword?
i)static
ii)booliean
iii)void
iv)private
JRE function?
what is applet in java
what happen when static function in java is invoked using null reference object
which of the following is true in string in java
i)string is mutable
ii)string is immutable
iii)string is data type
Iv) none of the above
# Questions:
S.No Questions
1 Brief about your personal summary
2 Brief about your automation project
3 What is collection, what are the collections u used in your project
4 What is interface , say some interfaces you know?
5 Explain about testNG frame work?
6 What is the use of webdriver?
7 How can test your testcases with multiple inputs
8 Difference between list and set
9 How to handle multiple windows?
10 What is the return type of getWindowHandles ?
11 What is api, say some api names which is used in ur project?
12 How can you pass data to the excel sheet?
13 List some selenium webdriver exceptions
14 what kind of files will return reports
15 What are the difficulties you fased while automating ur project?
16 How to handle an alert
17 Have you involved framework development?
18 How you schedule the test runs
19 Rate your self in java out of 5
20 Any questions from your side?
Classification
General
General
Collections
Selenium
TestNG framework
Selenium
General
list,set
Windows
Windows
API
DataProvider
Exceptions
Reports
Selenium Challenges
Alerts
General
General
General
General
Questions
# are :- Classification
# Questions are :- Classification
1 1. Eclipse IDE and Selenium interaction - Architecture Selenium WebDriver
2 2. System.setProperty("webdriver.ie.driver", "path of ie driver.exe) Selenium WebDriver
3 In the above statement you have provided .exe. then selenium interacts with desktop based appln? Selenium WebDriver
4 Why we need drivers? Selenium WebDriver
5 3. Write a code to read file ( in java) Core Java
6 4. Syntax for Implicitwait and Explicit wait , Explain it in detail Selenium WebDriver
7 5. How to achieve file upload in Selenium ? Selenium - Uploads
8 6. Explain about Javascriptexecutor Core Java
9 7. What is POM? Selenium - POM
10 8. Have you worked on Cucumber? Selenium - FrameWork
11 9. I have to click an element. You are not supposed to use all possible locators. How would you achieve it? Selenium - Locators
12 10. Can main() method return type be int Core Java
13 frame handling c code
14 launch IE browser
15 sql code to pull empl id from two table both when emp id match
16 What is join
17 CVS file reading (flat file read)
18 What is xpath
19 sibling following
20 What is final keyword on variable and methods
21 What isstatic keyword
22 (String[] args)
23 What isOverridding concept
24 How to scroll down at page
25 What is BDD (cucumber framework)
26 What is bit Bucket
27 Different between CSS vs Xpath
28 How to get only string number anfrom special character from string in java
29 Different beteeen selenium 3.0 and older version
30 testnG Anotation
describve following
@test
@beforeclass
31 Continous Intergation tool
32 When Defect is Deferred
33 GIthub
Commit and Push
Pull
How you pull different branch code in your system
# Questions are :- Classification
1 Step1:Have a excel sheet with two columns(city,keyword) Selenium WebDriver
Step2:Goto
Step3:Pass sulekha,com,two
the datais from fields there field,select
One buttoncity
dropdown and another Search Text field. to search text Selenium WebDriver
Step4:Search field AJAX excel to it
field so search in drop
loads matching data,we needdown and data
to verify when u give
loaded keyword
as we typed,and collect
2 field.
those list and write the search result list in the excel file from where we took input.Below is the model how the Selenium WebDriver
3 output excel file should like..rs1,rs2..rs10=is the Ajax search result loaded.. Selenium WebDriver
4 Like that i have to do for six rows with diff values.
eg:
city Keyword rs1 rs2...rs10
chennai nokiashowroom a b c

5 Step5:After the result file generated it should be sent to a specific mail. Core Java
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Questions are :-
1.Exception is a class or interface..?
2.Will the below code work.. if try block throws exception
Try{
driver.findElement....}
Catch(Exception e){
}
Catch(NoSuchElementException){
}
3. If the catch block fails...why and whats the error u get..
4. There are five windows, how to switch to 3rd window to interact..
5. Dynamic webtable handling..
6. The network or URL is not working for you alone.. how do u trouble shoot it.. without any 1 help..
7. How do you handle if security authentication occurs.
8. What kind of negative testcases hav you automated..
9. Get the largest substring of non repeating characters.. in a string..
10. Number to binary..pg
Java program find the first repeated number in the list using very simple program I have used to for loop they didn't accept and ask me to optimize.
Second program given a 4 digit integer and ask me print the corresponding value like one thousand three hundred and thirty five for 1335
Reverse the word Am a hero to ma a oreh
If recursive program don't have an end then when it will stop for 32gb ram 1tb rom and intel core orocessor
Sort a value in object using collections like employee is an object and it has 3 variables like id, name, salary and ask me sort only the name using employee object
What is threat
Difference between synconiza and non synchronize
Difference between interface and abstract class and where to use interface over abstract class and vice versa and explain with a scenario for both cases
What is polymorphism
What is inheritance
Mutiple inheritance
What is constraints
What is normalization
Inner join query
Api testing questions
How to see the request and response
What is 201 response mean
What are the methods in rest api
Difference junit and testNg
Given a scenario like a ui and ask me write test cases
Another scenario write test cases for new launched browser
What is test plan
What is test strategy
What is software test life cycle
What is design pattern
Explain about my project
Explain about my framework
Explain about agile process
How to configure Jenkins
Explain MVC model in Java
Classification
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42

43
44
45
46
47
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
Questions are :-
1. What is the framework used and explain the components of it
2. What is grid and how do you implement for your project.
3. I want to execute in two browsers and how can I achieve the same ?
4. What is the difference between Assert and Verify ?
5. How do you upload a file ?
6. How do you perform right click operations ?
7. How do you create a .bat file and configure a job in Jenkins?
1. Tell about yourself.
2. Challenges faced in Selenium? How do you overcome it?
3. In Java, Is it possible to use String object in switch statement?
4. What is Absolute and relative Xpath?
5. How will you handle multiple windows in Selenium ?
6. How will you handle dynamic elements in Selenium ?
7. Locator of an element contains multiple strings , lets say string 1 & 2 are predictable, string 3 is dynamically changing. How will you locate this element?
8. A web application is given to you, How will you automate the web application? Define the framework Structure?
9. What are the details that a automation test report should contain?
1.differemce between implicit and explicit wait
2.methid overloading and overriding
3.have you given any solution to reduce the runtime of regression suite in ur automation experience ...
4.How to read data from excel and what is ye difference between Apache poi and JXL
5.Will Apache POI read the excel row wise ?and how will you specify the sheet name here
6.have you connected to DB from selenium code
7.Have you worked on framework development from scratch ?
8..What are the initial considerations you will do before developing a framework?
9.Can you manage a team of 7 members for writing framework from scratch..rate yourself ...
10.ur day to day activities ...What will you do daily in your project
) why you need to switch job
2) what is webdriver
3) write logic to find even numbers and explain the logic
4) what Is static
5) what is maven and it's uses
6) how to get text from elements inside frames if you have three frames in application
7) write code for taking screenshot
8) what is this keyword used for
9) what are the dependency you used in maven
10) what is the version of selenium you are using and what you started with
11) why do we need main method...
12) what are exception and why we need to handle
13) how would you rate yourself in Java
14) will you extend on Saturday if needed
15) do you know web table
16) have you taken any course for selenium
Second round: This was with delivery manager where the questions were specific to project

1) how to came into automation


2) if team demands to do manual as well as automation will you be able to do and deliver that
3) what challenges you faced using selenium in your project
4) have you given any kt to your team
5) what is your expectation ?
What is Polymorphism
Collections concepts and questions around hashmap
What is inheritance
What are the different types of joins in SQL, Explain them
How to fetch the highest salary from a table with columns employee I'd, name and salary.
Explain your framework
How do you handle multiple windows and tabs during execution
What are the various testNG annotations
What is maven, it's uses
Explain Rest
Scenario: on your webpage thre is an hidden element, how do you write xpath for it.
How do you handle pop ups, how to enter text on a pop up screen.
Write code for reading and writing excel.
Write code for dynamic webtable
On the web page, the password text box doesnt have any locators, how will u send value to it
Jenkins configuration ( I said haven't worked on it) so question changed to Bamboo configuration
What are the inputs required for scheduling jobs
What are the challenges in running using a remote server. How to overcome it?
Role in ur current project
How to handle alert
Consider 3 windows are available, how u navigate to 2nd window
Difference between try catch & throws
Can a child class handle exception in the super class
When hash maps will be used
How u will add an item & remove an item using hash map
How do u maximise window
Difference between explicit and implicit wait
Which framework u r using in your current project
Difference between Project Object Model & Page Object Model
Difference between interface and abstract class
Which test management tool u are using
How do u upload a file using Selenium
Explain Robot class
How to get Title of the page
How do u identify presence of a button in a page
Syntax for button in HTML code
How to automate mouse hover action in a web page
How to select USA in a country drop down
How to switch between frames
Different types of maps
How to connect to database and verify the result of ur test case
Some queries related to SQL (different joins, stored procedure)
Explain Project Object Model
About yourself, current project and explain the framework
How third party tools used
Challenges faced
Have u involved in designing scratch from framework and what are the issues faced
How u handled alerts
How u handle windows pop ups
How to perform mouse hover action
Testng annotations
Maven project structure
If u have 3 @test and if u want to run only 2.... what do u do... w/o grouping
How to do parameterization in testng
How do u do build management
What is desired capabilities
If there is a change control how do you update the script
Difference between hashmap and hashtable?
What is webdriver ?
Create a method which can be helpful for reading for common xpath
How u will handle search filter in a module using selenium
How to handle Drop down when the tag is not a select class
How do you get your requirements from BA ?
Explain about jenkins, how you will schedule a job in jenkins?
Which tool do you use for test management?
What are all the meetings or calls do you have in your project ?
Given a web table, asked me how to find the count
is it possible to run parallel in JUnit
Are u using any interface in your project. If yes explain ?
Write a program to transfer money from your account in selenium.
Give me Detailed explaination on Cucumber.
Explain about agile flow of Ur project
Write a feature file for requirement in cucumber ?
If you have a calendar how would you fetch the exact date or time ?
Classification
Selenium - FrameWork
Selenium - Grid
Selenium - Grid
Selenium WebDriver
Selenium - Uploads
Selenium WebDriver
Selenium - Maven, Jenkins
# Questions are :- Classification
1 Fibonacci Series Core Java
2 method Overriding Core Java
3 data abstraction Core Java
4 Tell me abt ur project Selenium
5 How do u upload File Selenium
6 difference between Webdriver and Grid Selenium
7 Who r all.in scrum call General
8 why u swich over the job General
9 How you create ur framework General
10 Explain ur framework structure Selenium
11 How to do click action using Java script excecutor Selenium
12 You have 300 feature files hw will you execute them Cucumber
13 What does put and get do in soapui General
14 Explain selenium grid Selenium-Grid
15 What is the max instances a node can have Selenium-Grid
16 Can we run more than one node in same machine? Selenium-Grid
17 What background in cucumber Cucumber
18 Explain gherkin keywords Cucumber
19 What finally will do in java Java
20 What is maven? Why u created maven project Selenium
21 What is POM ? Explain strecture Selenium-Framework
22 How to Create job in jenkins Jenkins
23 what repository u used in ur project General
24 How will you handle merge conflicts GitHub
25 How will you handle Ajax elemants in ur application General
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Column1

1
2
3

4
5
6
7
8
9
Questions are :-
Round 1 F2F
There is a web table with a filter button how will you validate the name column contains the name that only contains the alph
User applied the sort filter for any of the column on the table how would you validate the values are sorted
Sql query for fetching all the names that contains a particular alphabet more than once.

Round 2 F2F
Explain the framework used in your project
Give any real life example of method overloading and overriding
If a class has 5 @Test annotations then how many times @BeforeTest would run
What is a singleton class
What is an interface
can we make a class static
Classification
Column Questions are:
1 How to use "Iterator"
2 what are the different ways to read data available (in market)
3 There is any method available like assert
4 In testng from where execution will start
5 Write Dataprovider code
6 What are the tags available in testNG
7 Difference bitween junit and testNG
8 Performance difference bitween chrome and firefox
9 Typecasting in XL reading
10 How to read the data from .xml
11 Front end questions html/css..
12 SQL queries
Classification
Questions are :-
1 Tell me about yourself.....
2 what is the framework you used in your project
3 What is difference between hybrid and data driven frame work?
4 Can we run multiple suites using Test NG.xml
5 What type of annotations we use?
6 explain about grouping in testng?
7 What is Data Provider?
8 What type of group concepts you use?
9 Difference between Method Overloading and Method Overriding
10 Test Plan and Test Strategy
11 Can we run multiple suites using TestNG
12 Explain about Data Providers in TestNG
13 Interface and Abstract Method
14 How to take Screenshot in WebDriver which method we need to use
15 Palindrome program
16 sorting program
17 explain Interface
18 Constructor
19 abstract class and methods
20 difference between setSpeed and thread.sleep
21 explain about your framework
22 Tell about TestNG Annotations
23 Difference between list and Set
24 what is collections
25 Oops
26 what is stack class
27 program for reverse string
28 What is blank final variable ?
29 What is static class loading and dynamic class loading ?
30 Difference between Iterator and Enumiterator?
31 How to select 3rd element from the list of elements?
32 How to refresh the browser in selenium
33 what is Cucumber feature file? What it will contain?
34 what is Step definition file
35 What is DryRun?
36 What is background in cucumber
37 What is Runner in cucumber
38 Write a prog Reverse string « tech » without using inbuild function or methods
39 Write a prog to add strings in list and use iterator to transverse
40 How you will upload a file
41 Explain about tags in cucumber and where you will mention tags on feature file
42 How you will pass data using parameter in testng
43 Genernal question about API testing
44 Will map keys can be duplicate
45 Is Map inserts collection class ?
46 What is object repository
47 Write a code for scroll using JavaScript executor
48 How to convert list to set write a syntax
49 What is scenario and scenario outline
50 What all java concepts you have used in selenium
51 Explain this keyword in java
52 What is super class and super keyword in java
53 Given a scenario you have multiple data each run the test case should be run in different environment
54 How you will intergrate extend reports in cucumber
55 Write a code for extend reports
56 Given a scenario you have conflict with your developer how you will solve it
57 What is retrospective document in agile
58 How to schedule job in Jenkins
59 What is the format for schedule time in Jenkins
60 Reverse String program in multiple ways
61 How will you get all dropdown values without using select class
62 Cucumber keywords
63 Wath are the tags used in cucumber options
64 How to handle multiple windows
65 Explain alerts, frames?
66 Explain Collections in java
67 Difference between map and set and list?
68 Explain Locators in selenium
69 WAP for Fibonacci program
70 Difference between Testng and cucumber
71 Rate urself in java out of 10…
72 what are the major five parameters to ensure before start the framework in your project?
73 what is the difference between frames and iframes?
74 how to iterate the multiple frames with id is having frame1,frame2 and frame3?
75 how to use jenkins and how it works?
76 What do you know about remote webdriver?
77 write the script for chrome browser initiation and explain how it works
78 Explain synchronization
79 If suppose admin user is having no alert popup and user is having alert popup and then how to handle this alert
80 how to write the script for WebDriverWait for alert
81 Explain hashmap
82 Explain Exceptional handling
83 Can we have multiple catch blocks if yes explain?
84 explain interface and abstract methods
85 Write a program for , string str = "geeks for geeks";
86 convert each first character in each words to upper case
87 String = "vignesh waran.B"; print the letter /letters after the dot(.)
88 Difference between Hashmap and Hash Table
89 What is Method overloading n Method overriding,other name of those?
90 Write a pgm to get input from the user n print it in the console
91 Diff bw String, String buffer and String builder . Explain with a program for immutable.
92 What are the difference between throw and throws.
93 What is the Super class for all the selenium exceptions.
94 What all the exceptions u came to know in selenium.
95 How to print the values from drop-down
96 Write a Pgm to find the duplicate values.
97 Write a property which will not allow the parent class to inherit the child class properties
98 What is Enum, did you used any where in ur project
99 What is Difference between driver.get and driver.navigate
100 Write a selenium code to load Google page and type in the text box.
101 Why do we need System.setProperty
Classification
General
General
Selenium - FrameWork
Selenium - TestNG
Selenium - TestNG
Selenium - TestNG
Selenium - Excel
Selenium - TestNG
Core Java
General - Testing
Selenium - TestNG
Selenium - TestNG
Core Java
Selenium - Snapshot
Core java
Core java
Core java
Core java
Core java

Selenium - TestNG
Core java
Core java
Core java
Core java
Core java
Core java
Core java
Core java
Core Java
Core Java
Selenium - Snapshot

Core Java
Core Java
Column Questions: classification
1 Remote web driver is an interface or class?
2 asked to write about Chromedriver driver=new Chromedriver. And asked the diff between remote webdriver and chrome driver
3 How can we call a method from other class without inheritance
4 Asked to write different xpath for the scenario he gave
5 diff between string and string buffer
6 How to write xpath using css selector
7 How to write xpath using two attributes to locate same web element
8 Tell me overloading method tat u came across in selenium
9 What is the webdriver version tat u started of with ur career and wat version u r using now
10 what is the difference in webdriver version 2 and 3
11 whether windows.maximize will work in version 3
12 How will u write xpath for dynamic values
Questions are :-

1 Temenos interview questions


2 1. Explain abt your project
3 2. Explain about selenium automation in your project
4 3. Testing methodologies
5 4. Automation roles and responsibilities
6 5. Tell about yourself briefly
7 6. Agile process
8 7. Given a scenario and asked to develop framework
9 1. How many test scripts u develop per day
10 2. How long it 'll take to run 100 test scripts
11 3. How do u run the scripts in sequential or parallel
12 4. When do u do automation for Sprint stories

1st round was completely on project that we have done and the framework architecture
2nd round
Selenium based
13 1. If you have 100 buttons on a webpage how would you click on all of them
14 2. How would you iterate through all the options from a drop-down
15 3. Difference between class and abstract class
16 4. Write a simple program for thread implementation
17 5. Explain framework architecture
18 6. How do you create a text file in a particular location
19 7. Data provider concept
20 8. driver.findElement(By.id()).Click how do you achieve this type of method chaining in java
Classification
Questions are :- Classification
1 Telephonic
3 Give professional introduction about your self General
4 How web services will work? General
5 Explain your framework Selenium - FrameWork
6 Explain important OO concepts Core Java
7 What is reflection class in Java, where have you used in your framework? (Got Selenium - FrameWork & Reflection
these because I told I know what it is)
8 What is factory class? (Got this question because I told I know basic design Core Java
patterns)
9 What you know about the thoughtworks? General
10 What are the build tools you have used? What you think maven is better than ANT. Selenium - Maven
12 1st Round
14 Tell me about yourself and project General
15 Explain your framework (Had to right full flow, even with codes wherever they Selenium - FrameWork
asked to write). {This question took almost 1 hour to explain them}.
16 Explain inheritance, interface, abstraction and polymorphism Core Java
17 What is virtual invocation (in C# why to use virtual keyword) ? Core Java
18 Since I mentioned DS & Algo in my resume, I got questions from Recursion, Data Structure
HashMap, Stack and Queues (Questions like where to use what)
19 String s = "I am a wonderful person". Find the number of occurrence of each Core Java
letters using any programming language.
20 What is maven? What is its life cycle? Selenium - Maven
21 What is testNG? How testNG will identify the annotations(How it will decide which Selenium - TestNG
one is first, which is next and which is last)?
23 2nd Round
25 How can you write custom exceptions? Core Java
26 How will you test a bulb, which is very expensive. Feature to test: Company claims General - Testing
that if you drop the bulb from 100 feet it won't break. Apply some test
27 How to test WinZip. Explain both positive and negative scenarios.
methodologies. General - Testing
28 There is application which accepts numbers from 0-9999. And returns the output Core Java
in words. Write a program for the application.
29 eg: input: 10, output: ten
30 input: 450, output: Four hundred and fifty
31 Write the positive and negative test data for the above question. Core Java
32 What is test plan and what are the sections in it? General - Testing
33 How you will measure the test coverage? General - Testing
34 There is a partially built application for which you don't have test scenario or test General - Testing
cases. How will write the test cases , on what basis and how will you decide
36 whether
3rd Round your test cases covers all the functionality.
38 Aptitude test (There were set of standard 11 questions which consist of flowchart Quantitative Aptitude
problems, in thought-works hand book)
39 Speed Test (There were 50 simple questions which need to be completed in 12 Quantitative Aptitude
minutes, Rule: Should not jump to other questions, need to go through all the
41 4th Roundone by one).
questions
43 Manager round: This was more likely to know each other, there were no particular General
questions. They wanted to know what I am , my interests, where I want to see
44 Later
myselfthey explained
after aboutlong
4 years. How TWIfor 15 mins,
would like towhat
staybusiness they will do, their work
in TW etc. General
toward government projects, free projects they are doing for society etc.
48 This was purely non technical. There is no right or wrong for these questions, it is General
purely opinion based.
49 Tell about your self which is not there in your resume General
50 Mention 3-4 things that you think which need to be changed in our country.(There General
were lot of discussion here)
51 If you become a PM of the country, what are the necessary steps you will take in General
order to correct/change the points you told for 2nd question. (There were lot of
52 discussion
Whether 'Ghar Vapsi' program
and debate here) going in north India, is right or wrong. What is your General
opinion and why?
53 Supreme court has opposed homo sexuality in India, What is your opinion and General
why? (I told it should be banned/punished, so there were lot of discussion here to
convince him why I am opposing it too)
Questions are :-
1 1. Introduce your self
2 2. How long you are in selenium and pls explain about the process you followed..( frame work explaination)
3 3. Differents betweek absolute xpath and relative xpath
4

4. Ask me to write three relative xpaths for exampls given by interviewer.


5 5. Differents between ancester and following- sibilling in relative xpath?
6
6. Window handling technic
7 7. How can i open second window in overall three windows?
8
9
10
11
12
13
14
15
16

17

18

19

20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40

41
42
43
44
45
46
47
48
49
50
51
52
53
54
Classification
1
2
3
4

5
6

7
8
9
10
11
12
13
14
15
16

17

18

19

20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40

41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
Questions are :-
1. If am giving you one project, how will you automate that?
2. How many scripts hav you developed and name some of them?
3. Can we do performance testing in selenium?

4. Application contains menus at the top and at the left side panel there will be 3 links, upon clicking 3 link application will load some datas in a table. How you will com
that datas with database
5. What will you do if the tag name changes dynamically?

6. How to call java class in the sequence java class1-> java class2-> java class3 then from java class2-> java class4?
7. Tell about yourself and your selenium experience?
1. What is selenium and what are the tools available?
2. QTP vs Selenium? Which is better?
3. Possible ways to identify an element
4. Explain your framework
5. Advantages of testNg
6. Problems in using xpath
7. Challenges faced in selenium
8. Briefly explain about your project

9. What are the different types of waits in selenium webdriver and explain it with example?

10.In a given table, email address of the employee is unique and that is any column of the table and you need to find the name of the person and that will in 1st colum
the table based on the email.

11. Without using Select class methods, how can you select the dropdown values?

12. How can you find the parent tagname of an element if given id, name or xpath
13. Tell about yourself
14. what is junit
15. annotation in junit
16. @ Ignore what is this
17. Xpath?
18. SOAP
19. script for google page
20.D/B explcit wait & implicit wait
21. select multiple values from list
22. script for tab
23.how to select the sub tab from tab where subtab is available only on hover
24.handling alert
25.Issue in IE using selenium
26.diff b/w get window handle & getwindow handles
27.selenium tool suite
28. frame work
29.how to get date from excel sheet
30.Apache POI
31.build tool used
32.Selenium or QTP (which one is better)
33.Jenkins & Jenkins

Verizon interview :
Round 1
Xpath- scenarios
Project details
Framework used
Challenges faced
Round 2
Xpath
TestNG
Round 3
Passage reading
Comprehension
5mins have talk bout a picture
5mins have to talk bout a topic
Grammar
Listening skills
WRP to find the max of two numbers an store them in a Map.
Difference between vector and arraylist
Why using generics for map. What is happening inside the collection?
What is an interface - few question around interface and inheritance
Constructor override related questions
Primitive data types.
using generics in java collections..
How is data stored in a String class.
Database jdbc. How to begin a session and close a session. Before Connecting to database he said thr I something we do to begin a session. I dint know. 😐
Related to sikuli.. Uploading multiple files using sikuli.. About the transactions happening during the file upload. How to rollback to the previous file a transaction failed
Roles and Responsibilites in you project
What Framework you use and why you use it?
Tell abt yourself
Advantages of Testng
Diff.Btw Selenium V2 and Selenium V3
What is Data Provider
Code to get values from xl
Selenium Grid
Window Handle scenarios
Extent Reports
Expalin your project and frame work used
Parallel execution
about drivers(firefox, chrome)
Code to launch browser and get url
What is your role
What is Apache POI?
Questions from our project scenarios
What are the difficulties faced in reporting
What is Hash Map and where you use it in your Project
How is Parallel execution done in selenium
What is Maven?Is Maven a Framework?
How to Handle Frames?
Provide some Negative Scenarios you have used
How to Handle Exception?
What is assertion?
Explain Apache POI?
Scenarios regarding Static Method
Difference between Arraylist and linked list ?
How you will do parallel testing at method level ?
How to reverse a string with out inbuilt methods ?
Explain about set and list interface ?
What is web driver ?
Explain about feature file briefly ?
Write a program in Storing array of integers in arraylist
Difference between static and non static methods
Difference between normal array and array list ?
Explain about select class and tell me the methods you avair ?
Explain Git overall flow in your project ?
How you rate yourself in java oops concept
Explain about Synchronize and thread concept in java
when there are multiple windows opened how will navigate to 5th window using for loop
What is maven and how to run testNG and selenium codes if ur maven dependencies are not present
How to read data in excel without using iteration.
What s the use of robot class in selenium
How to handle desktop window based application using selenium??
How to upload desktop files in selenium?
Is it possible to automate the captcha in selenium?
Classification
General
General
General - Testing

Selenium - Database/MySQL / Oracle / SQL


Selenium WebDriver

Core Java
General
Selenium WebDriver
General
Selenium WebDriver
Selenium - FrameWork
Selenium - TestNG
Selenium - Xpath
General
General

Selenium WebDriver

Selenium WebDriver

Selenium WebDriver

Selenium - Xpath
General
Selenium WebDriver
Selenium WebDriver
Selenium WebDriver
Selenium - Xpath
General - Testing
Selenium WebDriver
Selenium WebDriver
Selenium WebDriver
Selenium WebDriver
Selenium WebDriver - Actions
Selenium - Alerts
Selenium WebDriver
Seleium - Windows
Selenium WebDriver
Selenium - FrameWork
Selenium - Excel
Selenium - Apache POI
Selenium WebDriver
General
Selenium - Maven, Jenkins

Selenium - Xpath
General
Selenium - FrameWork
General

Selenium - Xpath
Selenium - TestNG

General
General
General
General
General
General
core java
core java
core java
Selenium WebDriver
Selenium - GITHUB
core java
core java
Selenium WebDriver
Selenium - Maven
Selenium - Excel
Selenium WebDriver
Selenium WebDriver
Selenium WebDriver
Selenium WebDriver
Questions are :- Classification
1 First Round Technical Questions
2 1. Tell about yourself General
3 2. What kind of Framework have you implemented in your project? Selenium - FrameWork
4 3. Describe the Structure of the Framework Selenium - FrameWork
5 4. Write a program of Reverse of String Using String methods Core Java
6 5. How do you execute your framework test cases Selenium - FrameWork
7 6. Write a program to copy all contents from one excel sheet to another sheet? Selenium - Excel
8 7. What if I have 50 test cases and how do I execute all those test cases? Selenium WebDriver
9 8. What all Test Estimation Technique you know of? What Test estimation technique you General
applied
- Testing
in your project?
10 9. In my browser, I face security certificate violation how do I avoid that using TestNg script?
Selenium
What- TestNG
kind of desired capability you would be using it to avoid it?
11 10. How do you change your webdriver to run in remote machines? Selenium - Grid
12 Second Round Technical Questions
13 1. Tell about yourself General
14 2. Explain Framework Implementation in your project Selenium - FrameWork
15 3. What all Challenges you have faced in selenium General
16 4. Do you have the knowledge of continuous integration like Jenkins Selenium - Maven, Jenkins

1st round
17 Draw the architecture diagram of selenium inplementation in your project Selenium WebDriver
18 Expalin what sdlc model u r using in ur project General - Testing
19 How can you check whether a particulat text present in a webpage. What are the predefinSelenium WebDriver
20 How to check whether the check box is selected or in unselected without using Selenium WebDriver
21 How to find whether the element is in visible or in hidden Selenium WebDriver
22 difference between findElement and findElements Selenium WebDriver
23 How you will handle pop up windows Seleium - Windows
24 what is testng Selenium - TestNG
25 how you are handling keyword driven and datadriven framework in your project Selenium - FrameWork
26 What is mean by hybrid framework Selenium - FrameWork
27 How can u upload file in webpage Selenium - Uploads
28 How u will handle popup in webdriver Selenium - Windows
Round 1:
29 1. What are the Tools you know?. General - Testing
30 2. Draw your application and explain the flow: General
31 Asked to write code for the above and explain. General - Testing
32 Asked to use HTMLdriver. HTML
33 Asked to use Xpath and CSSSelectors for locating. Selenium - Xpath
34 (So i explained the flow covering: dropdown, alert, frame, windowhandles, Excel read data,)
35 3.Asked to write program for the below scenario:
36 Consider a website selling books. After some 20 days: you have to look for the no. of booksSelenium WebDriver
37 I explained with the dynamic webtable concept:
38 Get the no. of available books using findElements and so on.
39 The interviewer said: there will ne flag called sold/ not sold and you can use that... Anyways he was satisfied with my answer.
40 4.Asked about other interests/hobbies. General
41 5.Why looking for change? General

Round 2: (It happened via telephone )


42 1.Explain your roles and responsibilities. General
43 2.How many scripts you have designed so far (i said 300 :)) General
44 3.Did you have any certifications in java? Is java as part of your subjects in your education.General
45 (i said purely experience based and not done any certifications)
46 4.Have you worked with Regular Expressions Selenium - Regex
47 5.Do you know Test plan, Test Strategy? and added You should be able to handle the entire General - Testing

Round 3: HR Round:
48 1.Why looking for change? General
49 2.Your positives & negatives. General
50 3.If we hire you: what would be the 3 things you will be looking for? General
51 4.Ready for relocation? General
52 5.Current CTC and Expected CTC? General
53 1. About framework? Selenium - FrameWork
54 2.structure of framework? Selenium - FrameWork
55 3.Testng annotations in which oder it will execute he gave the senario. Selenium - TestNG
56 4.Testng dependsonmethod senario to explain Selenium - TestNG
57 5.drop-down he said to select last dropdown and 10th drop-down Selenium WebDriver
58 6.how will u click submit button without using locators?(using Actions class). Selenium - Locators
59 7.three windows opened have to click ok button in all the windows and come back to the Seleium - Windows
60 8.Testng groups? Selenium - TestNG

61 (1)How many years selenium exp I have?


62 (2)write a program to swap two number without third variable
63 (3)Write a program to print prime number series
64 (4)write a pragram to find the count of i in the string (" This is Anjali Shrivastava")
65 (5)What is HashMap
66 (6)write a program to find out duplicate chacters in a string using HashMap
67 (7)Explain Set,List and Map and its difference
68 (7) How to upload the file in selenium and write its code
69 (8)How to perform action in the the tab opened by clicking any element of current page
70 (9)How to scroll the page
71 (10)Write a code for java scriptExecutor , I have used in my project
72 (11)Explain about project
73 (12)what is runTime Polymorphism
74 (13)Explain DataProvider
75 (14)Write a program to print fibonacci series
76 (15)Why I want to switch company
77 Sorting numbers with out using java collections

2nd Round -
78 1.Explain about your project and my role
79 2.Explain about my framework
80 3.why i am not using craft and using POM (reason)
81 4.Explain POM framework(On board)
82 5.How I used TestNG annotation
83 6.Why I used jenkin and Maven in project
84 7.Why I want to switch company
85 8.Ready to join in 40 days ?
89

90 How to locate 3rd cell from 2nd row in a web table


91 Print the count of alternate words starting with S for each line in a file
92 Print the last word in the first line of a file
93 Oops concepts in your project
94 Draw n explain ur framework
95 Where you will have ur main method in testng
96 What is the use of Interface
97 How will you prioritize it test case in testng
98 What are the Annotations you know in testng
99 Have you worked in Cucumber
100 Pgm to establish db connection
101 Where u use method overloading n overriding in ur project
102 How you will identify web elements by using java script
103 How you will execute batch file
104 Explain JIRA workflow
105 Some of Agile questions
106 What exceptions will throw for alerts
107 Assume you are clicking a link and 3 windows are opening randomly. How will the system identify which window has the details of ur requirement. Can anyone t
108 how you will handle the dynamic element
109 Expain POM.why and what is the use of pom
110 which version control software your using
111 Explain E2E testing
112 What is an alert?
113 Explain Webtable concepts?
114 They gave one scenario (related to window ,alert ,sendkeys) to write the selenium code
115 Where will you pass the static data and dynamic data in your framework
116 Write the code used in your project for passing data in excel
117 provided there is login screen and home page in your web applications,now they have a added disclaimer page with check box and submit button in it. How do yo
118 Explain cucumber architecture and write the syntax for runner class file
119 Code for taking snapshot
120 Challenges faced when doing automation
121 What is sprint retrospective and scrum meeting
122 What is API and what are the response code
123 What language you used in your automation script
124 Career or work experience in previous organisation
125 Script in java to pick the current date time from calendar
126 Given 10 tc's how to reduce execution time from 1 hr to 20 mins
127 What version of Java r u using in Ur project
128 Version of Testng Nd is there any versions fr Testng
129 What all annotations are used in Testng
130 How would u manage inputs using which annotation
131 Given an excel sheet write a script to copy a data from one column and paste in diff column within excel
132 What is the diff b\w HSSF & XSSF
133 How to scroll through the values in a table or box
134 Database testing with cucumber.
135 How will you access a box which is visible only to the admin user and to the read only user. And u r accessing the application as read-only user.
136 Tmrw we need to close the execution, what all are the ways to save the time through test Ng?
137 How will u work on building the scripts during environment downtime ( you should not ask developer for DOM) but you've to build the scirpt for the webpage on
138 Explain about your framework in detail with actual application you worked.? (Not the example of random one, they asked to explain what you actually worked w
139 Did u really work in selenium grid? Explain what you have done using grid?
140 Explain about cucumber keywords ?
quirement. Can anyone tell ans for this??

mit button in it. How do you write code for the disclaimer page

scirpt for the webpage on the 1 hour without wasting it.


at you actually worked with that functionalities)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

22
23

24
25
26
27
28
29
30
31
32
33
34
35
36
37

38

39
40
41
42
43
44
45
46
47
48
49

50
51
52
53
54
55
56
57
58
59
a.
b.
60
Round 2: (HR Inte
61
62

Wipro Questions:Tech
63
64
65
66
67
68
69
70
71

72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87

88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114

115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135

136
137
138
139
140
141
142
143
144
145
146
147

148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
Questions are :-
Tell about urself.
Automation experience in your project
What is Xpath. Write Xpath for given scenario. [Navigate upwards]
Write xpath of two text boxes which don’t have any locators to find.
How to select value from Dropdown
What are the Waits in selenium. Explain briefly. Write code of each. [ImplicitlyWait, Sleep, WebdriverWait]
Exception Handling. Write code for given scenario.
Use "Throws" keyword.
Use of "Finally" keyword
Diff - 'Final' & 'finally'
Diff - 'List' & 'Set'
Diff - 'Abstract Class' & 'Interface' with Code
POM
Page Factory
**Did u develop any Framework
How to take screenshot - Code
**Real time experience in BUILD tool [Apache Ant or Maven]
**Version Controlling
Member access modifiers
Diff - 'Array' & 'ArrayList'
How to Sort using 'Collection
Questions in Round 1:
1. What kind of framework you have worked? Explain it?
2. Write xpath to locate the div that has no tags?
<div class = 'try123'>
<div>
3. How will you run Smoke test cases seperately?
4. Explain about static and final key words?
5. Explain about interface and abstract class? Why interface than abstract class?
6. Do you know collections in java?
7. Write a program to loop through Arraylist?
8. "09/24/2015". seperate numbers only from this string.
9. What is the difference between Commit and Push in Github?
10. Writer a program to keep current browser but close other browsers?
11. There are three webelements having same property. Write a program to go to third one?
12. How will you push your code to server in github?
13. Brief about your automation testing experience?
14. What is protected access modifier?
15. Do you know Page object model framework and Pagefactory?
16. Write script to drag drop a text box?*9
Questions in Round 2:
1. Write a program to find occurrence of every characters in following string:
String s = 'Welcome to Wipro";
2. Have you worked on Page object model framework?
3. Implicit and explicit wait. difference?
4. Thread.sleep and Thread.wait. difference?
5. Inerface and Abstract class. difference?
6. Why interface than abstract class/
7. How will you manage build?
8. What is the purpose of using Maven?
9. I am facing an error says 'Fast forward' while pusing my code to server in Github. How to resolve it/
10. How will you push your code to server in github?
11. How will you handle popups?
12. How will you run a machine in grid?

Tell me about yourself


Tell me about your project and domain
What is your role in your project?
How will you rate yourself in Selenium
What is the advantage of Selenium?
How will resolve the bug?
Once test case creation is completed, what will be the next step you do?
Will you connect with developer, if you have an issue? (continuation from Q.No 7)
Tell me about the framework you used in your project and explain in detail
Interviewer gave me a piece of paper and explain, there is a web table inside the frame, please write a code to store the values in array. (only one question from Selen
How do you rate yourself in JAVA
If I give you an analytical question from JAVA, will you solve it? (Just 2 simple question from JAVA)
Then, interviewer explained, there is two array, say 5 values in each. Now write a code to print only one lowest number among 10 numbers.
From the same array, if you find any number repeated in another array, then print ‘-1’
20 min later, Interviewer said you have been shortlisted and send me to second round.
Round 2: (HR Interview
Just common questions asked from ‘Consolidated interview question sheet’, like why do you quit current job? (I never said about PAY, all I focused on limitations of te
Then HR person shown Wipro’s e-recruitment portal and explain how to fill all my personal details and asked me to send certificate soft-copy by same day EOD.

Wipro Questions:Technical
1. Write Selenium code for login page - enter username and password & login. We have to check resulting page url contains https and verify text of the heading of the
2. Write java program to print nos of integer array in ascending and descending order.
3. Write code to initiate chrome browser
4. Explain framework
5. Write xpath gave 3 scenarios - used contains, * instead of tag name, column in webtable
6. Have you written CSS for a element
7. Annotations in TestNG
8. Explain about Apache POI
9. What reports do you use

HR Round:General HR question
1. About work history
2. About automation experience and challenges faced
3. About current org, family etc

1) Tell about your professional experience ?


2) Whats POM ? why?
3) Have you used hybrid model?
4) What are diff locators?
5) Write a code to move between one class to another class< page to another page?
6) Explain the POM entire structure?
7) How could you say object have been returned in calling methods ? Please write a code for that ? < already explained the structure ֠he asked sample code>
8) How do switch between frames ? write code for that?
9) Can you able to find which method or part of code is executing? < I told we using testng ֠and extent reports once run finished to track issue>
10) Can you fail a particular test case wontedly?
11) How to skip a case?
12) Can you check which method is running during run time unlike reports?
13) Have you heard about listeners?
14) Whats pageload.timeout?
15) Whats difference between implicit and explicit wait?
16) How do find current web element of the current window ? is that value in which format?

Page factory and initelements methos


TestNG listeners
Browser stack
Depends on method and purpose of it
Types of waits and syntax including fluent wait
How to handle file download and saving in the web page and verify the size of the file
Java program to count each character in a string
Write code to handle multiple windows
How to get customized report in testNG
Page load timeout
How to take screenshots
explain about your automation experience in your project
explain about your automation framework
what is overriding and overloading
explain about your mobile application testing
explain about your testing management tool
what is relative xpath and absolute xpath
how to handle dynamic element in selenium
how do you find element in selenium
how to run the odd number of test case alone from my test case list
how to load properties file and get the property
explain about the report used in your project
Exception handling in your project
recovery secnarios
how to handle frame in selenium
how familiar are you with maven
any idea about mobile automation

enligted round
take me through your resume
explain automation framework
why should n't we use selenium for .NET applicatoin
Annotation in Test NG
write a simple code in selenium that you developed last in your project
explain about your project
how do you rete your self in java
test data handling in your framework
Java programs like removing duplicates in an array and sorting it , checking for a word in a string
Basic selenium web driver questions and gave a scenario and asked to write a program which would handle both waits, pop ups , alerts and Windows .
TestNG concepts like @Test , handling groups , parallel testing code and was asked to write sample code for above.
Lot of Java questions including collections , real time scenarios were given and asked to write programs which would implement basic oops concepts.
how to find duplicate character in string "spirit of wipro
Write a program to Check two strings whether it is anagram or not
Explain about Page Object Model
Write syntax for Gettitle
How to call Java Script in Selenium
How to run Batch file using Selenium
How to switch to frame
Difference between Implicit/ Explicit wait
How to scroll down in Selenium

First Rount
Give a brief on yourself
Advantages of using BDD
Reason for implementing Cucumber in your project
Web table handling- In specific column check for specific value and Print the value of other column in the same row.
In what memory objects are getting stored in java
Is it possible to save file without anyname(eg:- .java). justify your answer.
What is .jar and .war, What do you know about that, did you used any where in your project?
What are the new modules in latest Java version.
Java prgm to find and print reoccurance of char in a String.
Write prgm- click on "department" menu then list of webelements getting displayed.
select all elements with word "echo" then click on the First element which again displays another list of webelements.
Print all elements with "echo" word from latest list.

2nd Round

how you do Automation feasibility for a requirement.


How you prioritise the requirements for Automation
what is the CI tool used in your project and what is ur role in it.
what is it recent hands-on in framework extension.
Rate urself in java
write a prgm for string reversal without using reverse function.
write a prgm to check whether the given string is palindrome or not.
what is JSON?
What are the different types of Exceptions you handled in ur project
Explain about wrapper class in java?
What are the Listener annotation you know in TestNG
How will you run the failed test cases alone using testNG
Difference between throw and throws
How to Pull a build from GIT
How to run test cases parallely in TestNG.
How to run failed test cases alone in TestNG.
How to run test cases using different drivers through TestNG.
how will you implement implicit, explicit and fluent wait in a page and explain why you implement them ..and advantage over each type of wait
how will you handle if 100 windows opens when you click on login button.
how will you eleminate windows with same name (duplicate) and from those multiple page only in one page "profile" tab will be available -how will you find the "profi
What is nested frames? Have you worked on frames?
What is BDD? have you used BDD in your project?
How will you implement interface in your project ?
how will you use multiple data for cucumber.
what you know about synchronization ?
Explain about Thread.
SQL query for joining employee and purchase in table.
Difference between HashMap and HashTable
Difference between LinkedList and Vector.
If there are 3 elements in a page and all its attribute values are same. How u will identify it.
If the cursor is in 1st field, then how u will move to the 2nd field. (Continuation to 1st question)
Scenario: totally there are 7 check boxes in a page, in which 5 are checked. How u will get the count that 5 check boxes are checked ?
I u r in one element, how u will go to the parent element ?
What are desired capabilities ?
What is java script injection ?
How u will fetch a data from data base ?
Scenario: if i want to run in MAC, safari, chrome and IE browsers simultaneously, how u will do it ?
Explain the code on how u will implement grid
Test NG annotations and how u will implement it
How will you handle java script popups, did you handled anywhere in your application ?
What is the build tool u have used ? And explain it
How u will navigate from one window to another window ?
Explain polymorphism in details?
Difference between final, finally and Finalize?
how many way you create object of a class
What is the super class for Exception class?
How content is transferred to Extent report ?
Have you implemented logger in Extended Report
What all the testNg annotations you have used.
How will you handle drop down and select particular drop down and print all the drop downs? Explain with code.
How you will invoke browser? Complete syntax.
How you will skip the test cases?
Classification
General
General
Selenium - Xpath
Selenium - Locators
Selenium WebDriver
Selenium WebDriver
Core Java
Core Java
Core Java
Core Java
Core Java
Core Java
Selenium - POM
Advanced - Java
Selenium - FrameWork
Selenium - Snapshot
Selenium - Maven
Selenium - GITHUB
Core Java
Core Java
Core Java

General
Selenium - Xpath

General - Testing
Core Java
Core Java
Core Java
Core Java
Core Java
Selenium - GITHUB
Selenium WebDriver
Selenium WebDriver
Selenium - GITHUB
General - Testing
Core Java
Selenium - POM
Selenium WebDriver

Core Java
Core Java
Selenium - POM
Selenium WebDriver
Selenium WebDriver
Core Java
Core Java
Selenium - GITHUB
Selenium - Maven
Selenium - GITHUB
Selenium - GITHUB
Seleium - Windows
Seleium - Windows
Selenium - Grid
Questions are :-
1 Your experience and project background
2 What type of framework do you use?
3 What are your regular selenium activities?
4 How do you manage test data for Selenium tests?
5 Do you know RDBMS and what do you use?
6 How do you make reporting in Selenium?
7 How do you verify a given login button is named as “SignUp” and how will you confirm it is not “Login”
8 What statement do you use verify specific error message in the application?
9 What is your notice period and can you join earlier than 30 days?
10 Explain the framework that we have worked
11 Wat jar file is used for excel and why
12 What build tool is used and whether we have exp in maven
13 What is inheritance
14 What unit framework is used
15 How reports are generated
16 How do we write test cases
17 Asked to write some manual test cases
18 How do we handle dynamic web elements in webpage
19 If a text is displayed in different places in all subsequent pages how do we handle it
27 What are the framework used
29 Whether we worked on custom framework and existing framework - product and what are the possible as
31 How we build framework
33 If there are severity 1 test cases in all modules to automate how do we select and automate
35 How parallelly TestNG can be executed
37 If 1 thread of 1 machine is dependent on 3rd thread of other machine how can we execute
39 How to run the scheduler and to run the bat file
41 If there are 10 link boxes with 10 unique fields each boxes have then how many permutations we can have t
Classification
General
Selenium - FrameWork
General
Selenium - POM
Selenium - Database/MySQL / Oracle / SQL
Selenium - Reports
Selenium WebDriver
Selenium WebDriver
General
Selenium - FrameWork
Selenium - Apache POI
Selenium - Maven
Core Java
Selenium - FrameWork
Selenium - Reports
Selenium - POM
General - Testing
Selenium WebDriver
Seleium - Windows
Selenium - FrameWork
Selenium - FrameWork
Selenium - FrameWork
General - Testing
Selenium - Grid & TestNG
Selenium - TestNG
Selenium - Grid
Selenium WebDriver
Questions are :- Classification
1 Explain about SDLC life cycle. General - Testing

There is a Website to be given to you which shows information which is based upon the
countries you opened. For example in chennai it shows "welcome to chennai" and
2 Canada "welcome to Canada" how do you test them all in the same place? Selenium WebDriver & Java
Assume that you have different antivirus softwares and how will u choose which one is the
3 best. General
If u want to add some additional features to insurance application for the user friendliness
4 beyond what was the requirements to be given what will u prefer? General
5 The resolution "differ" in the bug report what it means? Selenium - Reports
6 What is regression testing and retesting? General - Testing
7 What is the purpose of testng framework? Selenium - TestNG
8 Why we are writing testcases? General - Testing
9 How your ticketing system works? General
10 Tell me about yourself. General
# Questions are :- Classification
1 Program to find string palindrome
2 Delete vs truncate in sql
3 Why can't we use == to compare string
4 Types of testing methodologies
5 How to run 3 cases parallel and next three cases in series
6 Fibonacci program
7 Java star patterns
8 Agile methodology
9 Explain the framework you used
10 What is POM
11 what is testNG
12 What is annotations
13 What is Attributes
14 Why do we need testNG
15 SQL groupby
16 SQL having clause
17 Diff between groupby vs orderby
18 What's junit
19 Advantages of testNG over junit
20 How do you add two strings
21 How to declare strings using array

You might also like