Automation Testing Interview Questions| Selenium, Java, Cucumber, TestNG| 02 + Years Of Experience
Вставка
- Опубліковано 3 жов 2024
- @RD Automation Learning
How will you perform Double click in Selenium
Perform Right click
Actions action = new Actions(driver);
WebElement link = driver.findElement(By.ID ("Element ID"));
action.contextClick(link).perform();
How will you give priority in TestNG
Number 0 has the highest priority(it’ll be executed first) and the priority goes on based on the given number i.e., 0 has the highest priority than 1. 1 has the highest priority than 2 and so on.
What is default Appium Server Port number
The default server port is 4723. When you connect to the client machines, you should specify this server port. To change the server port, click on Advanced Tab and you will see a screen with server configuration settings
What is Data Driven Testing?
Data-driven testing is creation of test scripts where test data and/or output values are read from data files instead of using the same hard-coded values each time the test runs. This way, testers can test how the application handles various inputs effectively. It can be any of the below data files.
Datapools
Excel files
ADO objects
CSV files
ODBC sources
What is All pairs Testing?
All-pairs also known as pairwise testing is a testing approach taken for testing the software using combinatorial method. It's a method to test all the possible discrete combinations of the parameters involved.
Assume we have a piece of software to be tested which has got 10 input fields and 10 possible settings for each input field. Then, there are 10^10 possible inputs to be tested. In this case, exhaustive testing is impossible even if we wish to test all combinations.
How will you upload files in selenium.
Why SOAP is more secure than REST
SOAP is more secure than REST as it uses WS-Security for transmission along with Secure Socket Layer.
#AutomationTestingInterviewQuestions
#AutomationInterviewQuestions
#FresherInterviewQuestions
#SeleniumInterviewQuestions
1. Explain the different exceptions in Selenium WebDriver.
Exceptions in Selenium are similar to exceptions in other programming languages. The most common exceptions in Selenium are:
TimeoutException: This exception is thrown when a command performing an operation does not complete in the stipulated time
NoSuchElementException: This exception is thrown when an element with given attributes is not found on the web page
ElementNotVisibleException: This exception is thrown when the element is present in DOM (Document Object Model), but not visible on the web page
StaleElementException: This exception is thrown when the element is either deleted or no longer attached to the DOM
2. What is POM (Page Object Model)?
Page Object Model is a design pattern for creating an Object Repository for web UI elements. Each web page in the application is required to have it’s own corresponding page class. The page class is thus responsible for finding the WebElements in that page and then perform operations on those WebElements.
3. How to scroll down a page using JavaScript in Selenium?
We can scroll down a page by using window.scrollBy() function.
Example:
((JavascriptExecutor) driver).executeScript("window.scrollBy(0,500)");
4. How to scroll down to a particular element?
To scroll down to a particular element on a web page, we can use the function scrollIntoView().
5. How to handle keyboard and mouse actions using Selenium?
We can handle special keyboard and mouse events by using Advanced User Interactions API. The Advanced User Interactions API contains the Actions and the Action Classes that are needed for executing these events.
This Video is helpful for people who are looking for :
Automation Testing questions and answers
Software Testing interview questions and answers
Mock QA testing Telephonic Interview
Automation Testing online interview
Mock java Interview Questions for Automation Testing
testing interview questions
Mock selenium automation testing interview questions
Automation Testing interview asked questions
Mock interview experience quora
Mock Software Testing interview
Mock selenium interview questions
Mock selenium interview questions for experienced
6. Which files can be used as data source for different frameworks?
Some of the file types of the dataset can be: excel, xml, text, csv, etc.
7. What are Listeners in Selenium?
It is defined as an interface that modifies the behavior of the system. Listeners allow customization of reports and logs.
Listeners mainly comprise of two types, namely
WebDriver listeners
TestNG listeners
SDET interview questions
Automation Testing interview questions for freshers
MOCK interview experience
Mock Automation Testing interview questions for experienced
interview questions for automation testing
automation testing interview questions
Software Testing interview questions and answers for freshers
QA interview questions geeksforgeeks
Latest Mock QA Automation Testing interview
Sir I urge you to make more videos of QA interview for tester.. you explanation for each question is awesome please keep on making video
Thank you so much sir for your valuable time and suggestions..
Happy to help 👍
Very good collection of questions.....
Thank you..please share video link in your network
Thank You Sir 🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻 these interviews session means a lot to us...
Great👍
This was very helpful..thank you sir for this video
Happy to help
The way ur taking the interview with patience is amazing
Happy 2 help!
I know I am quite randomly asking but does anybody know a good place to stream new series online?
@Roger Shepherd I use Flixzone. Just search on google for it :)
@Jayce Edward Definitely, I've been watching on flixzone for months myself :)
@Jayce Edward thanks, I signed up and it seems to work :D I appreciate it!
Thank you so much sir u gave the a lot of information about interview
Most welcome
At the last minute ...i felt like you spoke to me....thankyou so much sir.
Hi Rd Automation team,
Thank you somuch for the amazing work you have been doing. It would be a tremendous help to the Automation Testing world.
Thank you!!
Thankyou sir for upload such interview. Really helpful
Glad that it helped you!!!
Thank you so much for this video.. learnt new things..
Glad it was helpful!
Thanks for sharing...
Thanks for watching!
The default server port is commonly 8080, let me know if this is right
Sir could you please explain how to perform localisation testing in selenium?
Please refer to this blog for localisation testing using Selenium
www.lambdatest.com/blog/localization-testing-using-selenium-webdriver/
Thank you
Happy to help!!
Ye banda har channel pe interview deta hai wah
True
Shall I atten your mock..I have 2.8 yr experience in Automation as well as manual (java, selenium,pom,junit, TestNG, cucumber, JIRA,SQL) Please evaluate me
Why there is a restriction of 10 scenarios per feature file.....
This number can vary from project to protect and from organization to another but it is advisable to limit the number of scenarios included in the feature file.
Agree with Raj's answer
Sir, How to test an application that filters data based on location
what is the default port for selenium grid ??
If we need to create around 100-200 scenarios for a particular release so is it advisable to restrict 10 max scenarios per feature file only but by using this strategy after many releases there are going to be a lot of feature files that are difficult to track .What should u advice for that, how many feature files would be created in this case?
Sorry for late response.
Please find the best practices for Feature file.
When separating the features, the amount of files can be enormous, so then you have to think about how to make the division of features in different files.
A popular option is to have a file with the features that group everything related to one aspect of the application and even organize them in directories.
In a specific case, for an entertainment system, you might have this: In the first level we could have a folder, "Shows." Inside, you have different features like creating, editing, deleting and everything that has to do with them. This way it is better organized and easier to locate everything and each test.
sir what is your profile in real time, not in mock
👍
Sir can you please help me how to convert manual test case to automation
That means you need to write test scripts for those test cases...
@@RajKumar-ij5rr yes
You can create test scripts using Selenium tool as it is open source and reliable as well
Who will say sir in IT 🙃🙂
I want to give my mock interview i have sent my resume
Yes will respond to you soon
I use this mock interview for learning purpose. This candidate is not audible and not answering his known answer with confident..
Sir can u please take my interview
Please share your CV at rdautomationlearning@gmail.com
4723