Infosys Certified Selenium Basic Automation Tester
Practice with real exam-pattern questions for Infosys Certified Selenium Basic Automation Tester. Each question includes a detailed explanation to help you understand the concept, not just memorise the answer. Try 10 questions free — no login required.
Full question bank for this exam + 1,357+ others. Cancel anytime.
Join Premium10 Infosys Certified Selenium Basic Automation Tester practice questions with answers
Real Lex exam-pattern multiple-choice questions for the Infosys Certified Selenium Basic Automation Tester certification. Each question includes the correct answer. The full question bank is available to Premium members.
- Question 1
The below is the html source code for a textbox object on a webapplication
Choose the CSS selector to identify the object uniquely.
<input name="search" title="Search" class="txtbox" id="q" onkeyup="return autoComplete(event);"
onclick="clearSearchText('q')" type="text" value="Search"/>- ✓input.txtbox[value="Search"]Correct
- Binput.txtbox[type="Search"]
- Cinput.q[value="Search"]
- Dinput.q[type="Search"]
- Question 2
While trying to automate the a Webelement Radio button the end user wants to check if the element is displayed on the screen which commands from the below are used
- ✓buttonPresence = driver.findElement(By.id(“gbqfba”)).isDisplayed();Correct
- BbuttonSelected = driver.findElement(By.id(“gbqfba”)).isSelected();
- CsearchIconEnabled = driver.findElement(By.id(“gbqfb”)).isEnabled();
- DAll of the above
- Question 3
What is stale element reference exception? choose more than one option.
- ✓A stale element reference exception is thrown when the element is deleted entirelyCorrect
- BA stale element reference exception is thrown when the element is no longer associated with DOM
- CA stale element reference exception is thrown when the element is not visible
- DA stale element reference exception is thrown when no such element is found
- Question 4
The below is the html source code for a WebButton object.Identify the object uniquely
using CSS selection.
<input name="ageConfirmChk" class="large_checkbox ageConf" id="confirm" style="margin-top:10px;
" type="checkbox" value="true"/>- ✓input.confirmCorrect
- Binput.large
- Cinput#confirm
- Dinput#large_checkbox ageconf
- Question 5
Identify the correct xpath to identify the Radiobutton named Business:(Choose two)
<form id="fromRegisterPopUP"" name="fromRegisterPopUP"">
<div style="text-align:left;">
<div style="margin-top:10px;">
<label style="float:left;">
<div class="register_row">
<input class="post_ad_field_r" type="radio" value="Individual"/>
<input class="post_ad_field_r" type="radio" checked="checked" value="Business"/>- ✓//form/div[2]/div/input[2]Correct
- B//form[@id='fromRegisterPopUP']
- C//form[@value="Business"]
- D//*[@id='fromRegisterPopUP']/div[2]/div[1]/input[2]
- Question 6
Which of the below Annotation runs once after all methods in the class?
- ✓@TestCorrect
- B@BeforeTest
- C@AfterClass
- D@BeforeClass
- Question 7
If you are using multiple @Test annotations in a single JUnit file, and the methods c_test, a_test, and b_test are there which not arranged alphabetically in the code. Then in which sequence they will be executed?
- ✓The testrunner runs the methods in alphabetical orderCorrect
- BDepends as testrunner treats all methods to be independent of each other
- CRuns the methods in random order during each test run
- DAll of the above
- Question 8
How do we run setup() and teardown() methods once for all the tests in the class for JUnit framework?
- ✓Use @Before annotation before all tests and @After after all tests.Correct
- BUse @BeforeTest annotation before all tests and @AfterTest after all tests.
- CUse @BeforeClass annotation before all tests and @AfterClass after all tests.
- DNone of the above
- Question 9
Differences between Arrays & ArrayList? Pick the odd one out?
- ✓Arrays are fixed in size whereas ArrayList is dynamicCorrect
- BArrays can hold both primitive and object datatypes whereas ArrayList can hold objects only
- CArrays and ArrayList can hold both primitive and object datatypes
- Question 10
Choose the correct option for the main disadvantage of arrays in Java?
- ✓Difficult to access an array element using the indexCorrect
- BDifficult to use arrays with primitive and object datatypes
- CIt holds elements that belong to one datatype only
- DAn array has its size known as array length
More in IVS Academy
Infosys Certified TOSCA Automation Tester
Infosys certified Digital Accessibility Expert
Infosys Certified Data QE platform Expert
Pay once. Clear every cert this year.
One subscription, full Telegram channel access, every PDF posted during your membership.
- Full access to all 1,357+ certifications
- Monthly updated question banks
- Telegram private channel access
- Cancel anytime
- Everything in Monthly
- Save ₹2,100 vs monthly billing
- Priority answer key requests
- Best for increasing DQ score fast
- Everything in Quarterly
- Lifetime channel access — no renewals
- All future certifications included
- Priority response from admin team
Common questions, straight answers.
A monthly-updated Telegram channel where we post real exam-pattern question banks and detailed answer keys for 1,357+ Infosys Lex certifications. You join once, you get every PDF posted during your membership.
Right after payment on our Graphy page, you'll receive a private invite link to the Telegram channel. Access is instant — usually under 30 seconds.
We compile question banks from the actual Lex test pattern, sourced and verified by 180K+ community members who've recently cleared these exams. Match rate is consistently 85–95%.
Every single month. When Infosys rolls out new versions of certifications, we post updated dumps within 7–10 days. You'll see channel activity weekly.
Clearing certifications is one of the highest-weighted DQ factors. Members typically clear 3–5 certifications in their first 3 months, which moves DQ scores up by a full band.