Automation Testing Interview| Java Interview Questions| 0-2 YOE
HTML-код
- Опубликовано: 6 дек 2022
- @RD Automation Learning
#manualtestinginterviewquestions
#manualtesting
#AutomationTestingInterviewQuestions
#AutomationInterviewQuestions
#FresherInterviewQuestions
#SeleniumInterviewQuestions
automation engineer interview questions and answers,mock interview for automation testing,Automation Testing questions and answers,automation engineer interview prepartion,mock interview for software testing,software testing,automation testing mock interview,test automation mock interview,selenium interview questions and answers for beginners,automation testing interview questions and answers,selenium mock,selenium mock interview for freshers
automation engineer interview questions and answers,mock interview for automation testing,Automation Testing questions and answers,software testing,automation testing mock interview,automation testing interview questions and answers,software testing interview for experienced,manual testing interview for experienced,manual testing interview questions and answers for experienced,manual testing mock interview for experienced,testing interview questions for experienced
what is final keyword in java
The final keyword in java is used to restrict the user. The java final keyword can be used in many context. Final can be:
variable
method
class
The final keyword can be applied with the variables, a final variable that have no value it is called blank final variable or uninitialized final variable. It can be initialized in the constructor only.
what is method overloading in java
If a class has multiple methods having same name but different in parameters, it is known as Method Overloading.
If we have to perform only one operation, having same name of the methods increases the readability of the program.
Suppose you have to perform addition of the given numbers but there can be any number of arguments, if you write the method such as a(int,int) for two parameters, and b(int,int,int) for three parameters then it may be difficult for you as well as other programmers to understand the behavior of the method because its name differs.
what is method overriding in java
If subclass (child class) has the same method as declared in the parent class, it is known as method overriding in Java.
In other words, If a subclass provides the specific implementation of the method that has been declared by one of its parent class, it is known as method overriding.
absolute vs relative xpath. which one do u use
Exceptions in selenium, how will you overcome them
Team size and do u have direct client interaction
What are the different methods used for window handling in Selenium?
Selenium WebDriver provides various methods for handling of windows. Few of them are:
getWindowHandle( ): When a website opens, we need to handle the main window i.e the parent window using driver.getWindowHandle( ); method. With this method, we get a unique ID of the current window which will identify it within this driver instance. This method will return the value of the String type.
getWindowHandles( ): To handle all opened windows which are the child windows by web driver, we use driver.getWindowHandles( ); method. The windows store in a Set of String type and here we can see the transition from one window to another window in a web application. Its return type is Set String
switchto(): Using this method we perform switch operation within windows.
action: This method helps in performing certain actions on the windows.
automation testing interview questions and answers,manual testing mock interview for experienced,java interview questions for selenium testers,rd automation learning,software testing,manual testing interview questions and answers for experienced
automation testing interview questions and answers,manual testing mock interview for experienced,java interview questions for selenium testers,rd automation learning,software testing,manual testing interview questions and answers for experienced
Very useful video🎉
I love watching your videos they are very useful and helpful, java is not completely oops because of primitive data types...
'Why main is always static' , - because the compiler can call it without the creation of an object or before the creation of an object of the class
Regression testing has lower priority than retesting but in some cases it can be done parallel with retesting.
Java is not 100%oops .... To get 100%oops we have to convert primitive data type into non primitive data type using wrapper clas... By using wrapper class we can say java is 100%oops
Main method is static because - static method ko call karne ke liye we don't have a create instance ,directly class name se we can call method ,that's why main method is static so JVM can access it without object creation...
Main method is static cause the main method should be executed first and then all other methods should be executed jvm execute the method containing static members first.
Java is Always Looking for the sign of main method to execute the programme it will check complete signature
Oops language should only have objects whereas java contains primitive data type like char, boolean, byte etc so java is not purely object oriented.
Regression testing is essential to preserving the program’s quality since it assures that the code is functional after modifications or updates are made to the application. Retesting verifies that the code’s corrected flaws are functional
On the base of priority
1) Retesting
2) Regressions testing
Sir, this keyword and this() different right,, in video ur discussed about this() calling statement.... But u said that like this keyword.....
Java is not purely object oriented programming language because their are primitives. And primitives are not object in form.
Principles of Testing (7)
1. Testing shows the presence of defects.
2. Early testing saves money and time.
3. Exhastive testing is impossible
4. Defect clustering
5. Beware of pesticide paradox
6. Testing is context dependent
7. Absence of errors is fallacy.
Why main is static?
-》bz the object is not required to call the static method.If we make the main method non static ,JVM will have to create its object first and then call main() method which will lead to the extra memory allocation.
Primitive datatype
int
byte
short
long
float
double
char
boolean
primitive datatype,we can call without creating the object of class that is the reason Java is not 100% object oriented
Hlw sir, I am interested in real time interview with ur guidance ,plz sir help me & communicate with you
How can I give mock interview??
What is push notification
Java is not a pure object oriented language
Because it supports 8 primitive data types
i.e byte,short,int,long,float,double,char,boolean
(all these primitive data types will have wrapper classes but not objects)
Sir, How add already having offer letter in naukri profile?
you can say when the recruiter called you at the time i have an offer letter
you cant update that i have an offer letter in naukri
@@Chocoboy1128 thank you
@@rohinik15 yeah ok
Primitive Data type : byte
Short
Int
Long
Float
Double
Char
Boolean
Java is not purely Object oriented programming language.... Because here.... We use ... primitive Data type.....
Java is not completely object oriented, as it can be supported without objects
Java is not 100% object oriented because when we can write a programme by creating an object then it is 100% object oriented and
When we create a programme without creating any object as well.hence java is not 100% object oriented language