All About Testing All About Testing

What is the recipe for successful achievement?

To my mind there are just four essential ingredients: Choose a career you love, give it the best there is in you, seize your opportunities, and be a member of the team.

“All our dreams can come true, if we have the courage to pursue them.”

“I’m a great believer in luck, and I find the harder I work, the more I have of it.”

Success unshared is failure.

To make our way, we must have firm resolve, persistence, tenacity. We must gear ourselves to work hard all the way. We can never let up.

"Everyone you will ever meet knows something you don't."

he fact that I can plant a seed and it becomes a flower, share a bit of knowledge and it becomes another's, smile at someone and receive a smile in return, are to me continual spiritual exercises.

The secret of success is to do the common things uncommonly well.

Good things come to people who wait, but better things come to those who go out and get them.

Thursday, 18 May 2017

Synechron Ahmedabad interview questions

  1. What is need of automation?


  1. Things to be taken care while creating automation framework?


  1. Different types of the framework ?


  1. When to start automation?


  1. Is automation possible in agile?


  1. How to do cross browser testing?


  1. Different types of Wait?


  1. Java code to find string length without in built function?


  1. Find repeated character in a string aabbccdd ?


  1. Is try with multiple catch allowed and finally block?


  1. What is Reflection API?


  1. Why the main method is static?


  1. What is Runtime polymorphism?


  1. What is Static variable?


  1. Overloaded method?

  1. What is the difference between selenium 3:0 and lower version?

Wednesday, 17 May 2017

Synchron Pune interview questions.

Synchrone Pune interview questions


  1. How much you rate yourself in Java out of 5 and in selenium out of 5


  1. Write a program or algorithm to swipe 2 numbers without using 3 rd variable.


  1. Write code to reverse integer 1234.


  1. Write code to calculate the length of string "how are you"


  1. What different type of locators are present in selenium.


  1. How to run test cases via Jenkins


  1. What is reflection in Java.


  1. What is collection.


  1. What is abstract class and abstract methods.


  1. What is static variable and static methods.


  1. What you have done to improve the performance of selenium framework.


Common basic selenium interview questions


How to do following things


  • Implicit and explicit waits


  • Handle-alert and multiple windows


  • Select from dropdown


  • Broken links detection


  • POM framework


  • Parameters related to pom


  • Desired capabilities


  • Scroll bar implementation

  • Mouse hover implementation


  • JavaScriptexecutor


  • Actions implementation


  • Detect Dynamic Objects

Tuesday, 16 May 2017

Capgemini Selenium Interview Questions.


1. Tell your Roles & Responsibilities.

2.  Framework explanation.

3. What is interface ?

4. What is inheritance ?

5. How you achieve  multiple inheritance in Java. ?

6. Write program to reverse a number.?

7. How you select an option in drop down ?
.
8. What is iframe.write code to click on a button which is in a nested iframe ?

9. How to handle file downloading & uploading ?

10. Difference  between  implicit  wait and explicit Wait.

11. How to find total number of rows in a Webtable ?

12. How to select  a checkbox present in a webtable ?

13. What are the webdriver exceptions ?

14. How to read data from an excel file ?

15. How many testing environments u have in your organization ?

16. Write an XPath to get all the links.
.
17. How to read the text on a tool-tip ?
18. Check whether  an element is displayed  or not.

19. There are 3 classes A B C. How to access the methods of B and C in Class A.

Capgemini Mumbai telephonic interview questions for 2 yrs experience....


  1. What are the different locators you have used in webdriver?

  1. Can you give example of absolute and relative xpaths.

  1. What is difference b/w close and quit in webdriver?

  1.  Webdriver is a class or interface?

  1. Can you give class name which implemented webdriver interface.

  1. Scenario: if there is a element which contains id attribute, that id is splitted by two parts by '_' (underscore), first part is constant and second part is changing. how do you find that element using id.

  1. Suppose if element is hidden, how do get text of that element?

  1. Difference b/w implicit and explicit waits.

  1. How you deal drop-downs.

  1. Scenario: there is a link on webpage, click on that link a window will open and now that opened window contains 3 different frames and you have to do operation on different elements in 3 frames and come back to window. how will you do this.

  1. What is timeout in grid?

  1. What is browser timeout in grid?

  1. What do you mean by max instance and max session?

  1. Tell different annotations provided by TestNG.

  1. Suppose i want check particular exception in TestNG, how will you do?

  1. What is soft and hard assertion?

  1. What are different access modifiers and explain each.

  1. Can you define multiple public classes in single java file.is it possible?

  1. Class name and java file name should be same?

  1. What you mean by final,finally,finalize?

  1. What do you mean by for each loop?

  1. Can we remove any element by using for each loop?

  1. Difference b/w arraylist and vector?
  2. How do you write custom class which is immutable?

  1. Create one custom class using interface inside in it, that custom class should responsible for doing for each operation.

              which type of interface will you use to create such a custom class.

Monday, 15 May 2017

Solved Quantitative Aptitude Questions from TCS Placement Papers.

1) Which of the following numbers is divisible by 4?
      a) 1123346
b) 10224
c) 100234
  Answer:
b) 10224. This is the only option with last two digits divisible by 4


2) At 15:15 pm railway time, what will be the angle between minute and hour hand?
a) 0 degrees
b) 180 degrees
c) 360 degrees
d) Both a and c
Answer:
d) At 15:15 both minute and hour hands will be in same position. Hence the angle between them will be zero degrees. However 360 degree also means both minute and hour hands are in same position. Hence correct answers are both zero and 360 degrees


3) Let Raj be 3 years older than Ravi and Hema be two years younger than Ravi. Raj is three times as old as Rahul who is Hema's brother. The ratio of the ages of Hema and Her brother is 3:2. Find by how much percentage Raj's age is more than Hema's when Raj will be 20 years old.
a) 33.33
b) 40
c) 60


Answer: 33.33


4) A hat vendor bought hats at Rs 5 per 3 hats. He sold them at Rs 10 per 4 hats. What was his profit percentage?
a) 25
b) 50
c) 30
  Answer: Cost price per hat = 5/3
Selling price per hat = 10/4
Profit percentage = (S.P - C.P / C.P) x 100
Substituting the above SP and CP we get 50%.


5) Find by how much percentage the average of first 10 odd numbers (starting from 1) is greater than the last term.
a) 900/19 %
b) 800/66 %
c) Cannot be determined


Answer:
First ten odd numbers form an arithmetic progression of the form
1,3,5,7,9......
here a = first term = 1
d = common difference = 2
Average of first n numbers = (2a + (n - 1)d)/2
n th term of the AP = a + (n - 1)d
Substituting a = 1, d = 2 and n = 10 in the above formulas
average of first 10 numbers = 10
10 th term of the AP = 19
Therefore average of first 10 terms is 19 - 10 = 9 greater than
the last term. Hence the average is greater than the sum by

9/19 X 100 = 900/19 %