Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

What if I have 50 test cases and how do I execute all those test cases?

What all Test Estimation Technique you know of? What Test estimation technique you
applied in your project?

In my browser, I face security certificate violation how do I avoid that using


TestNg script? What kind of desired capability you would be using it to avoid it?
How do you change your webdriver to run in remote machines?

Explain Framework Implementation in your project

What all the challenges you have faced in selenium

Draw the architecture diagram of selenium implementation in your project

Explain what SDLC model you are using in your project

How can you check whether a particular text present on a webpage?

In Selenium, you can use the getText() method to verify the text on a webpage. This
method returns the inner text of an element, including its sub-elements, as a
string, removing any whitespaces from the front and back. For example, you can use
the getText() method to verify the "Get started free" button. You can use the
getText() method for various purposes, including: Locating an element by its text,
Verifying error messages, and Asserting the presence of an element.

How do we verify text present on the webpage in Selenium ...


21 Jun 2017 — User can verify text present on the web page using the method
"getText". getText() is a method which returns the visible innerText of the
specified element, along with its sub-elements which does not include drawn along
white space. Most of the links, labels or texts present on a web page are inner
text.

BrowserStack
How to Get Text of an Element in Selenium: Tutorial | BrowserStack
7 Feb 2023
You can also use the ` getPageSource()` method to fetch the full page source and
then verify if the text exists there. This method returns content in the form of
string.
You can also use the findElement method with an xpath locator to check if some text
exists. The findElement() method returns a list of elements. You can use the size()
method to verify if the list size is greater than 0.
What is the method used to verify the text present in a webpage?
How do I know if a page contains text?
How do you verify the text inside the text box is present or not?
Ask a follow up

What are the predefined method in selenium for checking this

There are more than one ways to find it. We can use the getPageSource() method to
fetch the full page source and then verify if the text exists there. This method
returns content in the form of string.

We can also check if some text exists with the help of findElements method with
xpath locator. Then we shall use the text() function to create a customized xpath.
The findElements() method returns a list of elements. We shall use the size()
method to verify if list size is greater than 0.

How to check whether the checkbox is selected or in unselected

In order to check if a checkbox is checked or unchecked, we can used the


isSelected() method over the checkbox element. The isSelected() method returns a
boolean value of true if the checkbox is checked false otherwise.

How to find whether the element is invisible or in hidden

To check the presence of an element, we can use the method – findElements. The
method findElements returns a list of matching elements. Then, we have to use the
method size to get the number of items in the list. If the size is 0, it means that
this element is absent from the page.

manual testing fresher questions

What if the software is so buggy it can’t really be tested at all?


If the software is so buggy, the first thing we need to do is to report the bugs
and categories them based on Severity. If the bugs are critical bugs then it
severely affects schedules and indicates deeper problems in the software
development process. So you need to let the manager know about the bugs with proper
documentation as evidence.

what is static testing


Static Testing involves reviewing the documents to identify the defects in the
early stages of SDLC. In static testing, we do code reviews, walkthroughs, peer
reviews, and static analysis of a source code by using tools like StyleCop, ESLint,
etc.,

What is Dynamic Testing?


Dynamic testing involves the execution of code. It validates the output with the
expected outcome.

You might also like