Friday, June 18, 2021

Manual QA Lead position Interview Questions and Answers SET-1

                                           

***********************************************************************************
Manual QA Lead position Interview Questions and Answers SET-1
***********************************************************************************





What are the responsibilities of a QA Lead?

QA lead, as any other tester, will have to perform all testing activities in common. But, along with those, there are certain expectations to be met:
  • Taking leadership/ownership in the project
  • Mentoring juniors
  • Team handling – mainly coordination activities
  • Reviewing everybody’s tasks
  • Handling Client communication
  • Handling delivery management
  • Providing billing details to the customer for entire team


2. Brief upon how will be your typical/ideal day as a QA lead
The typical/ideal day for a QA Lead will be as:
  • Check for emails
  • Handle client emails at first 
  • Analyze the tasks for the day and delegate it to the team based on priority and team member’s experience (keep few to yourself as well, because test lead also will have testing activities to perform)
  • Keep track on status at particular intervals, if lagging have a conversation with team
  • Call for daily meetings
  • Review tasks at the end of the day and Daily reports
  • Plan for training, mentoring, etc if necessary

3. Is QA lead expected to write test cases?
Yes. The QA lead is expected to write test cases as any other team members do.

4. Can the team rely on you in case of issues? How do you handle team member issues?
Yes. Firstly have an informal talk over the coffee and understand their point of view on the issue. If something can be resolved easily, advise them to resolve it mutually. If not, call for a meeting and handle it as a non-offending discussion to both the parties. Let the things not to get escalated at this point in time.

If there is some serious issue and is affecting the project, send out the mail to the member(s) including project management in the loop about the impact and ask not to hamper the work. If required escalate the issue to higher management/human resources team.


5. How do you set objectives for the team members?
Setting objectives for the team members depend on their experience. Higher the experience, higher the expectations and so will be their objectives. It’s always good to set objectives keeping in mind to create a positive environment within the team, healthy competition among team members, and encouraging to learn new things.


6. How do you provide feedback to a member who is not performing well in the team?
Be prepared to have a discussion with the poor-performing team member. Make note of the objectives set for the member and the statistics on the deviation or lagging from each point. Call for a meeting and present the analysis done. Explain the expectations from the member and where he stands for correct reasons. Let the member also speak so that he/she can communicate the reasons for lagging. Once done, give the time period of 15 days or 30 days to improve the performance. Again if things are not satisfactory, set-up new plan to up-bring the member, come up with measures to fix the lagging.

Also, appreciate the member for good things he/she has done to the project. Keep the member motivated and encouraged to learn new things or existing things in a new way.


7. How do you plan for training?
Identify the subject matter expertise for each component and ask them to keep all the related artifacts ready. Plan the dates for training and send out the meeting request for training to the team or new members or selected members of the team, based on project necessities. Make sure training is carried out on time and all the key points are delivered during training.

Have an audio recording, screen recording of the training and share it with the team. Also, save the recordings in sharing location so that any team member can access it at their need.


8. How do you review test cases?
Test cases are reviewed against requirements documents. The review is done for:

  • To check whether the test steps are clear to understand
  • To check whether test case is complete
  • To check whether no ambiguity introduced
  • To check whether test is serving the purpose and is the requirement
  • To check whether any functionality is missed out
  • Is the test case name following naming convention
  • Is the template used correctly
  • Are the previous review comments implemented
  • To analyze the coverage
Once the review is done, list out review comments for the test cases and share it with the member who has written to incorporate the review comments. Once the review comments are incorporated, perform one more round of review to make sure all the review comments are taken care.


9. How do you appreciate a team member’s work?

Good thing is to send out the mail detailing the outstanding work done by the member. Mention the challenges he/she took client feedback for the work in the mail and send it to the member keeping the entire team, project management in the loop.

Also, bring up this in the meeting and appreciate the member for the work he/she has done. Meanwhile, encourage other team members to take up such challenges and prove their efficiency in this regard.


10. How do you handle the situation if a team member is having a problem with you and has escalated the issue to higher management?
Let’s answer this way: If the issue is known to me, then will definitely talk to the member in-person and will try to resolve it in good manners. If something has skipped at my level and has been escalated, they will analyze the situation and provide all the statistics regarding the issue and will try to defend in case not wrong. If the team member has mistaken for something where the fault is not mine, I will give a try to coordinate with the member and resolve the issue the other possible way.


11. Do you prefer team outings? How often?
Yes, team outings are the most preferred ones to keep the team together and build the strong bond between members. This is one such activity which keeps the team motivated, help them to relax a while keeping work pressure apart, they can come back start with great enthusiasm, etc. Overall, this helps in team bonding. But again this has to max once in a month.


12. What are the things to keep in mind when planning for team outings?
Any test case is considered as qualitative only when it meets below criteria:

  • Discuss the venue and date well in advance with the team
  • Inform the project manager about the unavailability of team for the period
  • Get the approval from client
  • Ensure that the work is not affected
  • Ensure that the deliverables are still met (plan for early entry for the day or come back and late exit, or try to compensate subsequent days – based on priorities)
  • Share the compensation plan with management and client
  • Make sure that the plan is well-executed. Do not stretch the activity time as there will be permitted from the project management only for certain period


13. How do you hire a member of the team?
Hiring a member of the team depends on various factors:
  • Communication
  • Attitude
  • Technical knowledge of the domain and project specific requirements as mentioned in description
Here make sure that the member is answering interview purely based on experience. Observe for the statements which may hint that member is answering based on preparations rather than experience.


14. What factors make you release a member of the team?
Common factors to release the member from the team:
  • Poor performance even though fair chances were given to improve
  • Maybe the member’s experience does not match with client’s current needs
  • Non-willingness to work on the project
  • Skills not up-to-the-mark

15. How do you make the new member in the team feel comfortable?
When the new member has entered the team, give equal importance as given to other members of the team.
  • Introduce the new member formally in the meeting.
  • Send out welcome mail
  • Make sure he/she has been allocated seating at the earliest (if not, they may be asked to work in meeting rooms or share some other’s workspace – which may not be comfortable)
  • Provide them basic access to project resources
  • Provide training and get their feedback on the training provided
  • Involve them in all the meetings, so that they can understand the process much better before actual tasks start
  • Let them speak in the meeting, share their ideas if any
  • Encourage them to be-a-part of the team – take them for coffee, a walk, lunch together


16. How do you introduce your team to the new process to be followed?

It’s very difficult to new things in place on the team. This is because everyone will have their own opinion and their way of working. New things are not so easy to adapt. But if the project demands, then call for meeting
  • Give them overview on the current process being followed
  • Give overview on the new process that has to be adapted
  • Explain the advantages of using new process
  • Provide training or detailed discussion on the new process
  • Pass out the references to new process in the mail


17. Explain why is the decision taken to move to new process
Which areas do you prefer that your team should specialize in?

Technical areas like automation, scripting, and upcoming methodologies are few where the team has to be specialized in. Encourage the team to learn new things in this direction so that it will be helpful to the project as well as themselves. Provide training or short demos to the team so that they can take it forward with their own interest.


18. Apart from testing activities, what other activities you would like your team to engage with?

  • Take the training provided at organizational level
  • Involve in workshops conducted within the organization
  • Involve in tech-summits within the organization
Write technology related standard articles and share it within the project or can take it forward to management level with the help of leads to publish
Involve in case-studies, proof-of-concepts for the projects


19. How will you reject a member’s leave plan?
The only reason when the leave plan has to be rejected is that it is on production launch day or near to production or it is during tight deadlines. Reject the leave plan with proper reason how the work will be hampered in case of approval.


20. What are the risks that have to be avoided while testing?
Risks to avoid during testing are:
  • Resource crunch
  • Missing deadlines
  • Exceeding allocated budget

Manual QA Lead position Interview Questions and Answers SET-2








Saturday, June 12, 2021

Most Important 15 basic Java Question and answers






1. Why Java doesn't support multiple Inheritance?
The reason behind this is to prevent ambiguity. Consider a case where class B extends class A and class C and both class A and class C have the same method "display()". Now Java compiler can't decide,
which display method it should inherit. To prevent such situations, multiple inheritance is not allowed in Java.


2. Why are string objects immutable in Java?
Because Java uses the concept of string literal. Suppose there are 2 reference variables, all refer to one object "Hello". If one reference variable changes the value of the object, it will affect the other reference variable. Also, String class in Java is final.


3. Define Class and Object in Java.
In OOPS, a class is a template for creating and describing objects (real-life entities) and providing
initial values for the state and implementation of behaviour.
States are called as attributes or data members. Behaviours are called as methods or member functions.
An object is an instance of the class. It is a real-life entity that has states and behaviour(s).


4. What do you mean by encapsulation? 
It is defined as wrapping up of data members and member functions into a single unit called class.
Since the data is hidden from other classes, it is also known as data hiding.



5. What is Polymorphism?
It is the ability of an object to take multiple forms. There are two types of polymorphisms.
i) Compile time polymorphism - The function call is resolved by the compiler at the compile time itself. For example, function or method overloading. It is also known as Early binding.
ii) Runtime polymorphism - The function call is resolved by the compiler at the runtime. For example, method overriding. It is also known as Late binding or Dynamic binding.


6. Define an Interface.
An interface is an abstract data type that is used to specify a behaviour that classes must implement.
It is used to achieve 100% abstraction. Members of an



7. What is Abstraction?
It is the property by virtue of which only essential details are displayed to the user.
For example, consider the case of a driver driving a car.
The driver only knows how to use the controls to drive the car but is unaware of the internal working of those components of the car.
In Java, abstraction is achieved by using interfaces and abstract classes.100% abstraction can be achieved using interfaces.


8. What do you understand by Object-Oriented Programming?
OOP is a programming paradigm based on the concept of "objects" that contain data and methods.
It is used to increase flexibility and maintainability of programs.


9. Mention some features of Java.
1. Platform independent. 2. Object-oriented 3. Automatic memory allocation & garbage collection 4. Portable 5. Used in creation of Desktop, Mobile and Web applications.


10. Why doesn't Java have pointers?

Java doesn't have pointers because it doesn't need them for general purpose object-oriented programming.
Furthermore, adding pointers to Java would undermine the security and robustness and 1,e the language more complex.


11. Describe the usage of the final keyword in Java.
final keyword is used with variables when the value of the variable is not going to change and is going to remain constant.
When the final keyword is used with methods, then they can't be overridden in the derived class.
Final keyword is used with class to prevent the class from being subclasses when writing APIs or libraries so that the base behavior is not altered.


12. Why can't static methods call non-static methods?
A static method is not tied to any object/instance of the class, while a non-static method always refers to an actual object/instance of the class.
It is to be noted that non static methods can access any static method/variable without creating an instance of the class.


13.What do you mean by static?
static is a keyword used for a constant variable or a method that is the same for every instance of the class. 


14. Is Java 100% Object-oriented?
Java is not 100% object-oriented because it makes use of primitive data types such as Boolean, byte, char, int, float, double which are not objects.


15. Difference between HashMap and HashSet

HashMap

HashSet

Hashmap is the implementation of Map interface Hashset on other hand is the implementation of set interface.
Hashmap internally do not implements hashset or any set for its implementation. Hashset internally uses Hashmap for its implementation.
HashMap Stores elements in form of key-value pair i.e each element has its corresponding key which is required for its retrieval during iteration. HashSet stores only objects no such key value pairs maintained.
Put method of hash map is used to add element in hashmap. On other hand add method of hashset is used to add element in hashset.
Hashmap due to its unique key is faster in retrieval of element during its iteration. HashSet is completely based on object so compared to hashmap is slower.
Single null key and any number of null value can be inserted in hashmap without any restriction. On other hand Hashset allows only one null value in its collection,after which no null value is allowed to be added.


Thursday, June 10, 2021

Different ways to write XPATH




XPath is a technique in Selenium that allows you to navigate the structure of a webpage’s HTML. XPath is a syntax for finding elements on web pages. 
Using XPath in Selenium helps find elements that are not found by locators such as ID, class, or name. XPath in Selenium can be used on both HTML and XML documents. Below are the syntax of writing the XPath can help you to handle the dynamic element.

Different ways to write XPaths

•// TagName[@AttributeName='AttributeValue']

•//TagName[@AttributeName='AttributeValue']/*[@AttributeName='AttributeValue']

•//TagName[@AttributeName='AttributeValue' and @AttributeName='AttributeValue']

•//TagName[@AttributeName='AttributeValue' or @AttributeName='AttributeValue']

•//TagName[@AttributeName='AttributeValue']/TagName[n]/TagName[n]

 

Selects first child element --> /div/TagName[1]

Selects last child element --> /div/TagName[last()]

Selects the second to last child element --> /div/TagName[las()-1]

 

• //TagName[starts-with(@AttributeName,'AttributeValue’)]

• //TagName[contains(@AttributeName,'AttributeValue’)]

• //TagName[text()=’Value’]

 • //TagName[contains(text(), 'Value’)]

• //TagName[text()=’Value’]//preceding::TagName[n]

• //TagName[@AttributeName=’AttributeValue’]//preceding::TagName[n]

• //TagName[text()=’Value’]//following::TagName[n]

• //TagName[@AttributeName=’AttributeValue’]//following::TagName[n]

 • //TagName[@AttributeName=’AttributeValue’]//parent::div

• //TagName[@AttributeName=’AttributeValue’]//ancestor:div

• //h3[contains(text(), 'Value’)]/following-sibling::div/label/input

 • //div[div[p[contains(text(),’Value’)]]]/preceding-sibling::div/div/span[3]/span

How to install Java on EC2

***************************************** How to install Java on EC2 ***************************************** To be continued, In this post...

All Time Popular Post