What is Soft Assertion in selenium and how can you mark a test case as failed by using soft assertion? |
Explain what is a Group Test in TestNG? |
Explain How does TestNG allow you to state dependencies with an example? |
Explain what does @Test(InvocationCount=?) and @Test(threadPoolSize=?) indicate? |
How is Selenium different from commercial browser automation tools? |
What are the set of tools available with Selenium? |
Which Selenium tool should be used? |
Which language is used in Selenium IDE? |
What are Accessors in Selenium IDE? |
Can I control the speed and pause the test executed in Selenium IDE? |
Where do I see the results of Test Execution in Selenium IDE? |
Where do I see the description of commands used in Selenium IDE? |
Can I build a test suite using Selenium IDE? |
What verification points are available in Selenium IDE? |
There is id, name, XPath, CSS locator, which one should I use? |
Selenium RC, any way to speed up the Selenium Server load time? |
How to set a global base URL for every test case of one test suite file in Selenium IDE? |
How to check for 404 using Selenium WebDriver? |
How to get HTTP Response code using Selenium WebDriver? |
How to stop selenium from creating temporary Firefox profiles using web driver? |
How to close the browser popup window in Selenium WebDriver? |
How to select values in the combo-box item using Selenium WebDriver? |
What is the difference between Selenium IDE, Server, RC and WebDriver? |
How to get the HTML source code of a particular web element using Selenium WebDriver? |
What are the different driver classes available in Selenium WebDriver API? |
What automation tools could be used for post-release validation with continuous integration? |
Does the latest version of Selenium WebDriver support Mobile Testing? |
What is the major differences between XPath Expressions and CSS Selectors? |
How to select a checkbox in Selenium? |
How to verify whether the checkbox option or radio button is selected or not? |
What is the alternative way to click on the login button? |
How can you find the value of different attributes like name, class, value of an element? |
How to verify whether a button is enabled on the page? |
What kind of mouse actions can be performed using Selenium? |
What kind of keyboard operations can be performed in Selenium? |
Can Bar Code Reader be automated using Selenium? |
How to locate a link using its text in Selenium? |
Write the program to locate/fetch all the links on a specific web page? |
What is Robot API? 106. What methods of Robot class do you know? |
How do you get the height and width of a text box field using Selenium? |
Which package can be imported while working with WebDriver? |
What is the purpose of deselectAll() method? |
What is the purpose of getOptions() method? |
How to handle alerts in Selenium WebDriver? |
What is a hybrid framework? |
Can you explain the line of code WebDriver driver = new FirefoxDriver();? |
What could be the cause for Selenium WebDriver test to fail? |
What is the difference between @Factory and @DataProvider annotation? |
How can we run test cases in parallel using TestNG? |
What are the different forms of Selenium? |
Can we test APIs or web services using Selenium WebDriver? |
How can we locate an element by only partially matching its attributes value in XPath? |
How can we locate elements using their text in XPath? |
How can we move to the parent of an element using XPath? |
How can we move to the nth-child element using XPath? |
What is the syntax of finding elements by class using CSS Selectors? |
What is the syntax of finding elements by id using CSS Selectors? |
How can we select elements by their attribute value using CSS Selector? |
How can we move to the nth-child element using CSS Selector? |
How can we submit a form in Selenium? |
How can we fetch a text written over an element? |
What are some expected conditions that can be used in Explicit Waits? |
How can we fetch the title of the page in Selenium? |
How can we fetch the page source in Selenium? |
What are some randomly encountered exceptions in Selenium? |
How to check which option in the drop-down is selected? |
How to handle HTTPS websites in Selenium? Does Selenium support them? |
How to accept the SSL untrusted connection? |
What is HtmlUnitDriver? |
What is the use of @Factory annotation in TestNG? |
What are some common assertions provided by TestNG? |
Name an API used for logging in Java? |
What is the use of logging in Automation? |
Can Selenium test an application on the Android Browser? |
How to select a radio button in Selenium WebDriver? |
How to handle AJAX popup windows? |
Give the example for method overload in Selenium? |
Write the code for Reading and Writing to Excel through Selenium? |
What are the pre-requisites for running Selenium WebDriver? |
What is WebDriverBackedSelenium? |
How to invoke an application in Selenium WebDriver? |
How to get the number of frames on a page using Selenium WebDriver? |
What is the command line we have to write inside a .bat file to execute a Selenium Project when we are using testng? |
How to check if a text is highlighted on the page? |
How to check whether a text is underlined or not? |
How to change the URL on a web page using Selenium WebDriver? |
There is a scenario whenever “Assert.assertEquals()” function fails automatically it has to take a screenshot. How can you achieve this? |
Open a browser in memory, means whenever it will try to open a browser the browser page must not come and can perform the operation internally? |
While explaining the framework, what are points which should be covered? |
How to press Shift+Tab? |
What is the use of contextClick()? |
How do you accommodate the project-specific method in your framework? |
What are the different components of your framework and explain each? |
How to select all the checkboxes in a page? |
Count the number of links in a page? |
How do you identify the XPath of an element on your browser? |
Which one is better XPath or CSS Selectors and the reasons for the same? |
How will you handle dynamic web tables when you don’t have any idea on the number of rows or columns will be displayed every-time? |
What are the different assertions or checkpoints used in your Selenium WebDriver scripts? |
What is the Actions class in WebDriver and its methods? |
What is the difference between @BeforeMethod and @BeforeClass? |
What are the different attributes for @Test annotation? |
What are OOPS concepts? |
Provide real-time examples for each and every OOPS concepts? |
What is inheritance? |
What is the difference between method overloading and method overriding? |
Does java support multiple inheritances? Give reasons? |
Write a java program to find the factorial of a given number? |
What are the different access specifiers in Java? |
Why do we go for Automation Testing? |
Write a code to make use of assert if my username is incorrect. |
Define Selenium? |
What are the top Selenium alternatives available for free? |
What are the open-source frameworks does Selenium support? |
What are different versions of Selenium available you have used and what are the additional features you have seen from the previous versions? |
What is the principle difference between a Data-driven framework and a Keyword Driven Framework? |
What are the two most common practices for automation testing? |
What is Test-Driven Development (TDD) Framework? |
What is Behavior Driven Development (BDD) Framework? |
What are the main traits of a good Software Test Automation framework? |
What are the challenges have you faced with Selenium and how did you overcome them? |
What are the different components of the Test Automation Framework? |
What are the benefits does WebDriver have over Selenium RC? |
Which of the WebDriver APIs is the fastest and why? |
What is the command to bind a node to Selenium Grid? |
Which of Java. C-Sharp or Ruby can we use with Selenium Grid? |
What are Selenium Grid Extras and the additional features does it add to Selenium Grid? |
Write a simple Java program? – 100 Java questions by Technomar starts from here |
Write a Java program to print an integer value? |
Write a Java program to print the command line arguments? |
Write a Java program to print the input from the scanner? |
Write a Java program to convert from Fahrenheit to Celsius? |
Write a Java program to swap two numbers? |
Write a Java program to swap two numbers without using third variable? |
Write a Java program to add two numbers? |
Write a Java program to find the largest number? |
Write a Java program to demonstrate if..else statement? |
Write a Java program to demonstrate nested if … else if .. statement? |
Write a Java program to demonstrate nested if …else statement? |
Write a Java program to find odd and even numbers? |
Write a Java program to compare two strings? |
Write a Java program to demonstrate for loop? |
Write a Java program to print stars using for loop, where the number of stars printed should be equal to the row number? |
Write a Java program to demonstrate while loop? |
Write a Java program to print the entered number in reverse? |
Write a Java program to demonstrate the usage of break statement inside while loop? |
Write a Java program to demonstrate the usage of break and continue statements inside while loop? |
Write a Java program to print the alphabets using for loop? |
Write a Java program to demonstrate for each loop? |
Write a Java program for printing the Multiplication table? |
Write a Java program for printing the prime numbers? |
Write a Java program to check whether a given number is Armstrong? |
Write a Java program to print Floyd’s triangle? |
Write a Java program to find all the sub-string of a given string? |
Write a Java program to print the given string in reverse? |
Write a Java program to check whether the given number is a palindrome? |
Write a Java program to add two matrix? |
Write a Java program to multiply two matrix? |
Write a Java program to get the transpose of matrix? |
Write a Java program to compare two strings? |
How to find whether a string ends with a specific character or text using Java program? |
Write a Java program to demonstrate indexOf() ? |
Write a Java program to demonstrate how to replace a string with another string? |
Write a Java program to split the given string? |
Write a Java program to remove the spaces before and after the given string? |
Write a Java program to convert all the characters in a given string to lower case? |
Write a Java program to demonstrate creating a method? |
Write a Java program to find the length of the given string? |
Write a Java program to concatenate the given strings? |
Write a Java program to replace a string? |
Write a Java program to demonstrate a Static block? |
Explain the difference between static and instance methods in Java? |
Write a Java program to demonstrate creating multiple classes? |
Write a Java program to demonstrate creating a constructor? |
Write a Java program to demonstrate constructor overloading? |
Write a Java program to demonstrate Exception Handling? |
Write a Java program to demonstrate throwing an exception? |
Write a Java program to demonstrate the advantage of finally in Exception Handling? |
Write a Java program to demonstrate the creation of Interface ? |
Write a Java program to print date and time? |
Write a Java program to demonstrate SQL Date? |
Write a Java program to demonstrate Date format? |
Write a Java program to demonstrate generating a random number? |
Write a Java program to demonstrate garbage collection? |
Write a Java program to get the IP Address of your own machine? |
Write a Java program to open a notepad? |
Write a Java program to demonstrate Leaner Search? |
Write a Java program to demonstrate Binary Search? |
Write a Java program to demonstrate Bubble sort? |
Write a Java program to demonstrate connecting to a Database? |
Write a Java program to demonstrate inserting data into a table using JDBC? |
Write a Java program to demonstrate inserting an image using JDBC? |
Write a Java program to demonstrate executing a Procedure in JDBC? |
Write a Java program to check Regular Expressions? |
Write a Java program to create Multi-threading? |
Write a Java program to demonstrate joining thread? |
Write a Java program to write data into the text files? |
Write a Java program to read data from the text files? |
Write a Java program to convert string to an integer? |
Write a Java program to convert an integer to string? |
Helpful Collection.
Best part I can work on the answer part on myself which gives more confidence.
Thanks!
Thanks!
Really Helpful
Thanks
Thanks!
Good collection of Questions.But Answers are not provided.
It would take time to search for answer and learn
Hi Ajay,
Thanks for the feedback!
Admin is working on the solution part, but trust me if you will work for the solution and answer part from your end it will boost your knowledge and confidence.
The effort we will put in solving these will not go in vain.