Learnprogramingbyluckysir

Friday, October 23, 2020

Project Manger Interview Questions and answer for Automation Testing

 In this post you will know real time project manager interview questions and answers for automation testing experienced engineers. These manager round interview questions helpful who are going face technical round. 


The following are the  FAQ's for automation Testing engineers:


if you want answers with explanation watch this video:



1. Explain about your project?

2. Explain about responsibilities in your project?

Identification of test cases for automation from existing test case documentation.

Applying Designing and Test Automation Strategy Document

Creating an automation test plan and getting approval.

Configure Selenium Test Environment for setup(ex: Java, Selenium WebDriver and TestNG etc.).

Participation in Selenium Environmental Setup with IDE.

Automation framework design and implementation according to project structure.

Creating, Enhancing, Debugging and Running Test Cases.

Organizing, monitoring defect management process Handling changes and conducting regression tests.



3. How will you receive the project Requirements?

Project requirement will be receive from project repository like github. Once SRS completed then this SRS will put into the repository from there every tester will access.

4. What are the challenges you faced in the project?

5. What is your team size?

6. What you people discuss in sprint plan meeting?

7. How many test cases will execute per day?

8. Have you involved in the project release process?

9. Do you run all regression tests for every bug fixed?

10. Have you written any SQL Queries in your project? If you write SQL Query in which situation you used.

When we are going to fill data in the application form to ensure that the data is stored in the correct tables and columns and retrieve the data from the database by that time we used SQL Queries.



Wednesday, October 21, 2020

what should i learn selenium with java or selenium with python 2021

 In this post you will know which is better career option selenium with java or selenium with python in 2021. Selenium is automation Testing tool it is used to automate the web applications. 

Python is a good language, no doubt about it and works pretty well with Selenium. But there are good reasons to choose Java for Selenium:


For More Information watch this video in detailed: 



a) Java is a more powerful language and has been evolving regularly with updated versions for every 6 months to one year that means that it will be able to constantly provide you more efficient code writing ability. 

If we learn the Java programming language, then we can learn Rest Assured tool for Web services Automation. Rest Assured API will use Java programming language. Similarly we can learn Appium for mobile Automation and JMeter for performance testing. So learning Java will make you as an Full stack QE easily.

These are highly demand skills in IT market now and upcoming years also. 

Selenium with Java community is much larger and it means that, if you are stuck, you will have plenty of support available to get out of that.

Job Opportunities : More than 70-80 % of companies uses Selenium with Java. , Means existing companies already they are having their own framework and they want expansion either in the existing projects or new projects. Probability of chances with Java with Selenium is High. Most of the level 4 and level 5 companies come under this strategy.


Python: 

 Python is mostly used in Telecommunications companies.

Who are introducing and traversing from Manual Testing to Automation they used selenium with python and who are working with Robot Framework they are using selenium with python.

The overall probability of getting jobs Selenium with Java : Selenium with Python = 7 : 4


My suggestion is to learn Java with Selenium and work for 2 years you will be hands on. Then learn Python language also, if you have both skills then you will better career scope in feature. After learning and getting experience with Selenium with Java. Learning Selenium with Python is easy.


You should be open to learn newer technologies, rather than going into comfort zone either you choose selenium with java or python

8. if you upgrade your skills will make you confident and also gives an upper edge over the other resources in the company.

Trends in current Market :

1. SDET is the most wanted skill set in the current market.

2. Learning Cloud based platforms such as AWS and Microsoft Azure is an added advantage.

3. Learning DevOps tools like Jenkins, Docker, kubernetes makes you to become Testing architect with high package. 


My conclusion words are choose any programming langue depending on the application you test. 


Tuesday, October 20, 2020

Page Object Model Interview Questions and answers for Selenium Tester

 In this post you will know Most asked page object model interview questions and answer for selenium automation Tester. These POM interview questions frequently asked for automation testing engineer.

The following are the POM interview questions and answers:

If you want more questions with explanation watch below Video:




1. What is POM ? Advantages of POM?

Page Object Model (POM) is a design principle to manage the test cases and page objects separately.Framework types like data-driven, behavior-driven, keyword-driven, etc. can be designed with the page object model. 

The main advantage of Page Object Model is that if the UI changes for any page, it don’t require us to change any tests, we just need to change only the code within the page objects.

improves code readability - Allows us to separate operations and flows in the UI from Verification

Re-usability of code - a locator or function can be reused in the tests.Eliminate 

redundancy – no duplicity of functions or locators.

2. What is Page Factory?

Page Factory is enhancement of POM. Page factory provide the facility to locate and initialize web elements of an page without using findElement( ) or findElements( ) method of selenium

Page factory provides annotations like @FindBy, @FindAll, which locate the web element and return the WebElement instance for the same

These annotations use the attributes for specific locator types like id, name, class name, CSS, link text, partial link text, class-name, and XPath

3. How page classes will interact with Web Elements in POM?

The Page object is an object-oriented class which acts as an interface for the page of your Application under test. Page class contains web elements and methods to interact with web elements. While automating the test cases, we create the object of these Page Classes and interact with web elements by calling the methods of these classes

4. What are the OOPS Concepts applied in POM?

Abstraction:
Both POM and page Factory  Design patterns inspired through abstraction.
Interface:
WebDriver driver = new FirefoxDriver(); 
Inheritance:
Polymorphism:
Encapsulation:

5. What are the Design Pattern used in the Project?

Most frequently used design patterns is POM (Page Object Model). Enhanced POM, also known as Page Factory can be used which helps you in resolving stale element exception, also provides cache management.Both POM and Page Factory design patterns are inspired through Abstraction 
Strategy Design pattern

6. What are the Challenges faced while Working with Selenium Automation?

Generally an automation engineer face is maintaining the code.
If your application is frequently changing html elements of the page and some new components are being added and so on, this may affect your code especially locators.
To get rid of these situations we have certain design patterns like POM (Page Object Model), Page Factory.
One more challenge is while working with Selenium is Synchronization.

7. How to Explain Project in Interview For Experienced?











Wednesday, October 14, 2020

Tell me about yourself interview question for Java Experienced Developer

 In this post you will know how to introduce yourself as senior java developer in the interview. This is one of the best answer for the interview question is tell me about yourself some thing or introduce yourself or how your friends describe you.





How to Prepare Java Interview for 3 Years Experinced

 In this post you will know how to crack Java Developer interview for Experienced Candidates. Java is one of the popular programming Language in the world. Java is every where. With the help of java we can developer Web applications, Mobile applications , enterprise applications and it also supports to work with Bigdata and IoT.

Now we will see what are the  concepts must prepare before attending technical interview. 

Core java : You have must have deep knowledge on String class, Collections Framework, Oops, exception handling, multithreading, Logical thinking,(You are going to asked 50% of the questions from Core java only)


If you want too see more Explanation on this topic then watch this video:



Core java 

OOPS ( specially differentiating abstraction & encapsulation)

String ( immutability ), String Buffer , String Builder 

Threads (implementing ways ,race around condition, deadlock etc )

Exception Handling

Object class ( hash code and equals methods )

Comparator , comparable 

Interface , abstract class

Collections ( differences and when to use )

static class , static method , static block difference

final keyword - significance and use

heap area , stack area , string pool

Singleton class and its implementation




Advance Java: Concepts of servlet, Jsp (Basics), life cycles(15% questions)

Advanced Java

3. Difference between JSP , Servlet

4. forward and redirect

5. life cycle of JSP and servlet 

6. JSP scriptlets , directives , declaration , expressions


FrameWork : 

Spring(Dependencynjection,AOP.JDBC,MVC, autowiring, annotations like @component @controller @repository, spring MVC related interview questions like validate data from spring web mvc, Transaction management, Dispatchservlet, Security,cache, spring integration) is must, 

SpringBoot related Interview Questions

hibernate Interview Questions 

 webservices Interview Questions like SOAP/REST (25% question )

Design patterns like strategy, singleton, factory, abstract factory.

Build Tools: Maven or Gradle

Version Control: SVN , Git

Servers: tomcat, web logic and Web Sphere

Project methodology: Agile, Scrum

Project Manager round: which domain you are working, who is you client, which part you have developed in the project, which App server you are using and version, Describe your role in project.(10% questions)


If you are attending Interview with product based company then you must prepare Data Structure and algorithms in Depth. Since Product based companies most focus on problem solving skills and algorithms. 

Data structure & Algorithm : this is one of the major section where you have to code on the provided question or explain the one. so prepare & practice well on trees, tries, BFS, DFS, String search, searching & sorting, Arrays etc


Monday, October 5, 2020

How to Learn Java 2021 | What are the skills required to become Java Developer 2021

 In this post you will now what are the skills required to become a java developer 2021 based on their experience. Java has been a leading programming language In IT. It is widely used for developing web applications, enterprise applications, cloud computing applications, Machine learning environment and IoT . Java is most popular choice writing android apps. 


Fresher or Beginner

Core Java

Advanced Java Servlets and JSP(Good to have)

Basic Knowledge Of spring framework

Database Skills like SQL , oracle 

Frontend Tech like HTML,CSS and JS

Basic knowledge on Linux and windows environments



For 1 to 3 Years Experience Java Developer

Core Java

Advanced Java Servlets and JSP

Web framework like Spring and Springboot framework

Hibernate Framework

Database skills: SQL, ORACLE

Micro services

Frontend Tech like HTML, CSS and JS

Web services like SOAP/REST(Intermediately) 

Java Build Tool: Maven, ant

Any web or application server like Tomcat, web logic

Comfortable with Linux/Unix and Windows environments.



For 3 to 7 Years Experience Java Developer:

Core Java

Advanced Java Servlets and JSP

Web framework like Spring and Springboot framework

Hibernate Framework

Database skills: SQL, ORACLE

Microservices

Front-end Tech like HTML, CSS and JS

Web services like SOAP/REST

Design Patterns 

Java Build Tool: Maven, ant, Gradle 

Any one JS framework( React, angular,JQuery)

JUNIT( Testing framework)

Any application server like weblogic , JBOSS, Tomcat and web sphere

Software methodology like agile

Any automation Testing tool like Selenium

Any Cloud Services Exp like AWS , azure or GCP

Basic Network  related skills.

Comfortable with Linux/Unix and Windows environments.



For 7 to 15 Years  Experience Java Developer:

The above Skills and the following skills:

Strong Experience with relational databases, SQL, ORACLE . Experience with PostgresSQL 

Experience working with Docker

Familiar with security, authentication , authorization (Oauth2.0) technologies

Comfortable with Linux/Unix and Windows environments.

Software development and engineering skills on large-scale, mission-critical infrastructure applications is a plus.

Demonstrated ability to develop tests at the unit and component level for either frontend or backend.

Exp with Agile SCRUM development methodologies

Experience with SaaS, container development strongly desired.


• Experience with distributed and/or big data systems 

Experience with concurrency issues in multi-threaded programs

Experience working with Kubernetes

Experience working with jenkins

Should have good debugging skills, project set up etc..

Project Management skills(nice to have PMP Certification)

Nice to certifications like OCAJP ,Spring profession certification, aws solution architect, scrum master certification, pmp certification









Tuesday, September 29, 2020

How to Learn Python

 In this post you will learn how to learn python as beginner step by step easy way to learn python within one month.If your are thinking to start learning python then I guess you made the right choice by starting to learn Python because Python is the world’s fastest and most popular programming language not just among SDE’s but also among  Data Analysts, Scientists and even Kids too!!! The reason is simple because Python is a very beginner-friendly programming language and one of the most used programming language. Python has found its places everywhere such as web development, machine learning, and artificial intelligence or even the programming of micro controls – 

You may have  doubt why everyone says python is easy programming language the reason is due to its syntax and readability. hence it reduces the cost of maintenance of the program. The syntax of Python is smaller than most other programming languages like Java, C, C++.

Before starting learning about Python, it is very important to understand your areas of interest. Pick an area you’re interested in, such as:

 Data science / Machine learning

  AI

  Mobile apps

 Web Development

  Games

  Scripts to automate your work 

Now we will see step by step the best way to learn python programming




Step 1: ( one week to 15 Days)

Python Basics like history of python, variables, oprtaors, functions and control structures these topics extremely easy compared to other languages like JAVA, c, c++

Step 2: OOPS concept, Built-in Data Structures (10 to 15 Days)

OOPS in Python

List, Tuples, Dictionary.

String Formatting

Exception Handling

If you are a beginner then I would recommend you to focus on this section as it is widely used while making complex applications.You might not understand a lot of things at first, but give things time to sink in and it will make sense.

Step 3: Web Frameworks(2 Weeks)

There are so many frameworks for web applications in Python.

 Django: A high-level web framework mostly used in startups and enterprises for web development. It follows the MVC pattern and you can use multiple databases such as PostgreSQL, MySQL, SQLite, and Oracle.

Flask: Flask is one of the easiest micro-frameworks to learn in Python.

Web-crawler:   

Building a web crawler was interesting as well,  crawler which was used by search engines back in the early days to crawl web pages, find links and store those links in a file.

Step 4: Python Libraries ( 1 week)

If you aspire to be a data analyst/ data scientist then focus on learning these libraries.

Learned about the Numpy and Pandas library which are extensively used to perform data analysis with Python. 

Step 5:     ML: (2 weeks)

For learning you need to learn 

TensorFlow: It is one of the most famous and popular deep learning library developed by Google

Scikit-Learn: It is Machine learning library for Python designed to work with numerical libraries.

 PyTorch: It is the library that can handle dynamic computation graphs.

Step 6: Learn Automation with selenium(1 week)

After learning almost everything about Python selenium felt pretty easy.

Selenium is originally used for testing purposes but it turns out that you can automate various tasks with it. So overall It took around 10 - 14 weeks to complete the python course

Note that  you have to dedicate 2–3 hours every day for learning.

After learning everything try to build your own projects like calculator, weather applicaton, E commerce, online cv generator etc.. 

Here are the python best books for beginners

learn python

python cookbook

python essenstional reference

python in nutshell

online Resources:

Some of the tips from my side:

 Have patience, it’s not just in case of learning Python but also it’s in the case of learning another language. Learning a first language always requires more effort and time so understand that it will take time to sink everything.

 Be consistent, if you are not consistent in learning it will take a lot more time and effort.

The building project is always helpful in building confidence so don’t ignore its importance.

Due to some complex terms, errors, and issues, you will feel like giving up. Don’t do that, it happens with everyone in programming.