Automation Testing Interview Questions| Selenium Interview Questions| 0-2 years
Вставка
- Опубліковано 15 жов 2024
- @RD Automation Learning
#AutomationTestingInterviewQuestions
#AutomationInterviewQuestions
#FresherInterviewQuestions
#SeleniumInterviewQuestions
1. Consider two methods in TestNG, one is having prioity 1 and other is having priority as 0 so which one will execute first
priority 0
2. Consider two methods in TestNG, one is having prioity 1 and other is having no priority so which one will execute first?
If test priority is not defined while, running multiple test cases, TestNG assigns all @Test a priority as zero(0). Now, while running; lower priorities will be scheduled first
3. Consider two methods in TestNG, one is having prioity 1 and other is having priority as 1 so which one will execute first?
based on their alphabetical order
4. What is super keyword in java
The super keyword in java is a reference variable that is used to refer parent class objects. The keyword “super” came into the picture with the concept of Inheritance.
7. difference between hardassert & soft aseert
Hard Assert - Hard Assert throws an AssertException immediately when an assert statement fails and test suite continues with next @Test
The disadvantage of Hard Assert - It marks method as fail if assert condition gets failed and the remaining statements inside the method will be aborted.
To overcome this we need to use Soft Assert. Let’s see what is Soft Assert.
Soft Assert - Soft Assert collects errors during @Test. Soft Assert does not throw an exception when an assert fails and would continue with the next step after the assert statement.
8.
Can we use regular expression in TestNG groups?
Yes, regular expressions can be used in TestNG to execute the groups which have some typical pattern in their name. For example, if I want to run all the groups with a name starting from “abc,” then I can write the regular expression as abc.* in the XML file.
9. What is the significance of “timeout” in TestNG?
In TestNG, “timeout” is a parameter that defines the maximum time that a method can take for execution. The timeout parameter is handy if the execution time is a constraint during testing, or the tester wants to take precautions against the endless execution of tests. We can declare the timeout parameter at:
suite level: To put a time constraint on all the methods in the suite.
method level: To put the time constraint on a particular method.
Syntax:
@Test (timeout = 1000)
10. thread.sleep(-1000) what exception u will get
Illegal argument exception
11. what is thread, what is sleep?
The sleep() method of Thread class is used to sleep a thread for the specified amount of time.
13. Output of Java Program
byte a=10;
byte b=10;
//byte c=a+b;//Compile Time Error: because a+b=20 will be int
byte c=(byte)(a+b);
System.out.println(c);
14. Naming conventions for Constant variables:
Should be all uppercase with words separated by underscores (“_”).
There are various constants used in predefined classes like Float, Long, String etc.
Examples:
static final int MIN_WIDTH = 4;
15. Negative test scenarios for COWIN portal
Network failure
wrong aadhar caard
wrong number
try to book
16. What is JSON?
JSON stands for JavaScript Object Notation. JSON is a lightweight format for storing and transporting data. JSON is often used when data is sent from a server to a web page. JSON is not a programming language. It is a common and open standard format for storing and exchanging data. JSON is language independent.
18. What are the main challenges faced in API testing?
Some of the challenges we face while doing API testing are as follows
Selecting proper parameters and its combinations
Categorizing the parameters properly
Proper call sequencing is required as this may lead to inadequate coverage in testing
Verifying and validating the output
Due to the absence of GUI, it is quite difficult to provide input values
19. What are the principles of Software Testing?
Testing shows presence of defects
Exhaustive testing is impossible
20. What is Exhaustive Testing?
Testing all the functionalities using all valid and invalid inputs and preconditions is known as Exhaustive testing.
21. What is Early Testing?
Defects detected in early phases of SDLC are less expensive to fix. So conducting early testing reduces the cost of fixing defects.
222. What is Defect clustering?
Defect clustering in software testing means that a small module or functionality contains most of the bugs or it has the most operational failures.
23. What is Pesticide Paradox?
Pesticide Paradox in software testing is the process of repeating the same test cases, again and again, eventually, the same test cases will no longer find new bugs. So to overcome this Pesticide Paradox, it is necessary to review the test cases regularly and add or update them to find more defects.
Most polite person i have ever seen... Thank you so much sir for uploading mock interviews
Very RealTime Q&A, Every Question is Useful. Thank you so much Sir.
Your videos are really too good. The way you are interacting with people is also good. Question set is also really helpful. Thank you sir. It is helping me a lot to prepare for Interviews.
feeling very grateful after getting this mock interview and it was a nice experience for a real time scenarios questions and fresher should try for this. it would be best preferable to go for it.
Thank you Raman for giving opportunity! All the Best for your career
Thank u, its really boost our confidence
@@rdautomationlearning609 can you please share your mail id?
Very well planned questions by the interviewer and clear precise understandable answers given as well. Loved this video!! Informative!
Glad it was helpful!
Thanks for your explaination sir.
Very Useful.
I learned how to not panic if you don’t know the answers and think and try your best from the candidate
Great sir, it's very helpful for me.
Appreciate both the candidates who appear for mock and interviewer for giving his time. All your interview questions so very helpful in recalling concepts.
Good job sir very helpful for me.
Thanks for watching.
Very well explained thanku sir 👌🙌🙌
Thanks for watching
sir , aap bohot accha interview lete ho , and explain bohot accha karte ho , thank u sir
Thanks for watching & supporting!!
Good refresher!
Thanks for watching.
Very mature and pleasing interview ✨🙏👍🏻
Thanks for uploading. It is helpful to gain confidence
Glad it was helpful!
Your videos are very helpful sir....keep doing this👍
Thank u both of you, its really very useful, sir please post more vedios.
Thank you for watching, please like and share these videos in your network, Thanks in Advance!
So much helpful video because most of the question may be asked in the interview room...
So before going to interview this video will refresh all the topics...
Also variety of questions covered..👍👌🙏
Glad it was helpful!
Did interviewee asked any of these questions
Awesome session ever seen before. Keep going.
👍👏
Sir you are awesome ❤
It was really great that sir was really patient all the time
Great work 👍🏻
One humble request pls try to cover questions which are dependent on previous questions and can be linked by the interviewers
Okay sure
Hi Sir , I have a question regarding when priority of test case are equal in testNG it will execute the test cases according to the alphabets of method , but what will happen if method is overloaded?
Sir can you take interview once for me i am really waiting for interview....
Could you please arrange a mock interview for me
Thankyou so much Sir... Very helpful video 😊🙏
Thanks for watching
Please ask scenario based automation questions more
Please make video on manual testing series
Sir , I have total years of experience in manual testing are 2.5 yrs. And I have done a course to learn automation testing. So I have basic knowledge about automation. Now I want to get a job in automation. It seems very difficult to me. I got rejected in several times even before interview. So how can I move in automation? What should be my approach?
i have the same dilemma, have you become an automation tester now?
Hats off to you sir
Also thanks to kernel Bakshii
Thanks for watching!!
But Kherde Don is great 😊
But who is kherade don
@@pavanmehare8779 he is one of the best trainer and guide. Also IIT return 😊
If kernel is 19 then Don is 20.
Don is great 😎
Hi sir, I have 2year experience in manual testing, automation testing, Rest api but I have knowledge in page object model framework only know only one framework only whether it's enough to get job sir
Yes one framework knowledge is enough but you should know end to end, with more years of experience you will be expected to know more frameworks
hello sir, I want to talk to you regarding my career in software testing please let me know how can I connect!
Take the interview on Git/bit bucket and Jenkins CI/CD PIPELINE @RD Automation Training
Sure please share your CV at rdautomationlearning@gmail.com will conduct a mock interview for you
@@rdautomationlearning609
I meant to say
Upload a video by taking mock interview on any of your subscribers
Concepts
Git/Github
Jenkins Pipeline
Want to know how CI/CD how automation test cases trigger after new build release ?
Need detailed video
Other wise please create a video from your end to know this concept using PPT or white board or using eclipse.
@@KkdvPrasad okay sure👍
@@rdautomationlearning609 swag
@@shahanshashake5020 what is swag?
Hello Sir,
I would like to give a Mock interview.
Please share your CV at rdautomationlearning@gmail.com
How much salary we can expect for automation tester with 5 yrs exp
Atleast 15 LPA
Hi sir, I would like to take mock interview
sir i want give mock interview how can i
Please share your CV at rdautomationlearning@gmail.com
Sir I want give you mock
Sir please take my interview 🙏
Sure please share your CV at rdautomationlearning@gmail.com
@@rdautomationlearning609 Sure sir
Fake experience wala banda h. No problem bro... Keep it up
Sir, I've sent an e-mail to You regarding Mock interview...Please check 🙏
I really like the way you taking interview. Can I get your email id.
Sure it's rdautomationlearning@gmail.com