0% found this document useful (0 votes)
28 views3 pages

Ashutosh Kumar Singh

Uploaded by

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

Ashutosh Kumar Singh

Uploaded by

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

Ashutosh Kumar Singh

Experience – 7 years, manual +Automation testing API and Web both

Framework
1. Explain the BDD Framework ? [correct]
Feature file, Step Defination, Test Runner file
integrated with POM
HTML reporting

2. What are Hooks ? [correct]


Special method executed before a scenario and after a scenario , before steps and after steps

3. What are various ways of passing dat in feature file ?


Scenario Outline – Example and pass multiple set of data separated by |
Scenario
Data Table

4. What are the listners ? [correct]


ItestListner interface is used
onTestStart, OnTestSucess, OnTestFail are used and where we define the logic

5. How do you set the dependency between the TC in TestNG framework ? [partially correct]
DependOnMethod

Selenium
1. code to take a sreenshot [correct]
2. How to drag and drop a particular image in selenium?

3. different types of xpath[unable to explain properly]


Absolute(/ is used, it starts from html tag and continues till target) and Relative xpath(// is
used, )
4. Write the xpath using axes method [correct]

5. Different wait in selenium [correct]


implicit wait- applies to all webelements,
explicit – applies to specific webelementfor certain condition to satisfy for a specifies time , if
condition fails throws the error
Fluent wait -polling frequency and it called in intervals
6. How to locate frames in selenium
id, name and index to locate the frames

Java
1. What is String? Why is it immutable? Explain design pattern of it.[partially correct]
Its a character array, specified in “”. its immutable because its value cannot be changed.
using literals(string constant pool is utilized) and new keyword(Heap memory)
2. Difference between String buffer and String builder?[incorrect]
String Buffer and String builder are mutable
String builder is thread safe and String buffer is not thread safe
3. Can we Initialize multiple Catch blocks?[correct]
Yes
4. What is Method Overloading and Method Overriding?[correct]
M overloading – Same method name but different number of Arguments in same class
M overriding – same method name defined in super class and child class
5. Difference between Final Finally and Finalize [correct]
Final variable cannot be changed, final class cannot be inherited, final method cannot be overridden
Finally is block which is always be used whether a exception is there ot not
Finalize is used for Garbage collectors
6. what is a static method?[correct]
Belongs to class level, donot require object to call, static variable can be aaccessed using static
method

Program
WAP to find factorial of a number using using recursion[correct]

You might also like