Posts

Root Cause Analysis in Testing | Easy way to explain in interview about RCA

Image
 Root Cause Analysis in Testing | Easy way to explain in an interview about RCA. RCA ( Root Cause Analysis ) Define the Problem ==> Collect Data ==> Identify the Possible Casual Factors ==> Identify the Root Causes ==> Recommend and Implement Solutions. 1 Define the problem   -What is happening.   -What are the symptoms. 2 Collect Data   -What evidence do we have for the problem.   -For how long does a problem exist.   -How does the problem affect the system. 3 Identify the Possible Casual factors   - Where is the gap and how big it is   -What circumstances led to the problem    4. Identify the Root Causes    - What is the real reason that leads to the problem     5. Recommend and Implement Solutions     -What measures are to be taken to prevent a problem from happening again?     -How to implement the solution      -Who will be responsible for the implementation   ...

Static and Non Static Method in Python | Class Method in Python

Image
  Static and Non Static Method in Python | Class Methods in Python Methods: Methods are used to define a business logic There are three types of methods in python A. Non-static Method B. Class Method C. Static Method Non-static Method:- Non-static methods are object level Non-static method should have a first argument (Self) Note:-  We can give any other argument name instead of self Class Method:- Class methods are class level Use to have all the class level variable It should have decorator @Class method Must and should have one argument (cls) Note:- We can give another value name instead of cls Static Method:- A static method is used to define small utility actions Example: Addition of a number Subtraction of a number etc. · It should have decorator @ Static method Example: Question:-  How to access the static method? Question: Where we can call the static variable? Answer:  We can call under constructor, non-static method, class method...

OOPS in python | Object Oriented Programming Languages and Systems | Static and Non Static in Python

Image
OOPS in python | Object Oriented Programming Languages and Systems । Static and Non Static In Python OOPS (Object Oriented Programing Languages and Systems): ·          Classroom is a collection of related object ·          Each and every object communicate each other’s (Only related info) ·          A class never consumes a memory ·          Any number of objects can drive from a class ·          A class will have common members Note: - Members means attribute (eyes=2) and behavior (talk) Question : - How the class has been formed? Note:- ·          In the interface all the methods are unimplemented ·          There is no concepts of the interface in python ·       ...

Python IDEs and Code Editor | PyCharm

Image
 Python IDEs and Code Editor | PyCharm Python IDEs and Code Editor: A code editor is a tool that is used to write and edit code. They are usually lightweight and can be great for learning. However, once your program gets larger, you need to test and debug your code, that's where IDEs come in. An IDE (Integrated Development Environment) understands your code much better than a text editor. It usually provides features such as build automation, code inline, testing, and debugging. This can significantly speed up your work. Following are the editor we can use for python coding: 1.    PyCharm (We preferred) 2.     Eclipse 3.    Atom 4.    Thonny 5.     Visual Studio 6.    Spyder 1.    PyCharm (We preferred):   Pycharm provides smart code inspections, code completion, error highlighting, along with automated code refactorings and rich navigation capabilities. How to download and install PyCharm:...

Function in Python | with an Example

Image
  Function in Python with an example | Everything you need to know about functions in python. Function in Python A function is a group of logically related statements Grouped into one block of statement Re-usable As we already know, Python gives you many built-in functions like print (), etc. but we can also create our own functions. These functions are called user-defined functions. Defining a Function You can define functions to provide the required functionality. Here are simple rules to define a function in Python. ·         Function blocks begin with the keyword def followed by the function name and parentheses (( )). ·         Any input parameters or arguments should be placed within these parentheses. You can also define parameters inside these parentheses. ·         The code block within every function starts with a colon (:) and is indented. · ...