Infosys Certified Selenium Advance Automation Tester
Practice with real exam-pattern questions for Infosys Certified Selenium Advance 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 Advance Automation Tester practice questions with answers
Real Lex exam-pattern multiple-choice questions for the Infosys Certified Selenium Advance Automation Tester certification. Each question includes the correct answer. The full question bank is available to Premium members.
- Question 1
While executing the Testng framework the user wants to generate the customised reports after each test case execution.Which class is used from the below
- ✓ListenersCorrect
- BReporters
- CJunit Reports
- DDefault Reporting
- Question 2
While executing a TestNG class from an XML file, one group got included in
execution which does not exist. What will happen with the execution?- ✓The program will give runtime error.Correct
- BThe programm will give compilation error.
- CThe program will execute without any error.
- DNone of the above
- Question 3
Arrange the below tags from parent to child?
a)<test>
<suite>
<class>
<methods>
<classes>b)<suite>
<class>
<class>
<methods>
<classes>c)<suite>
<test>
<classes>
<class>
<methods>d)<suite>
<classes>
<test>
<class>
<methods>- ✓aCorrect
- Bb
- Cc
- Dd
- Question 4
Can we generate the Junit Report for the test cases generated in TestNG ?
- ✓YesCorrect
- BNo
- Question 5
What is the main node that contains everything in the configuration file for our tests?
- ✓GroupsCorrect
- BSuite
- CTest
- Dcollection
- Question 6
Consider an XML file to execute a TestNG class. If the tag is empty
whereas group names are included in tag, what will be the result of the
execution of this XML file?- ✓The programm will give runtime error.Correct
- BThe program will give Syntax error in XML file.
- CThe program will execute all the classes in current package.
- DThe program will execute nothing with 0 runs, 0 failures and 0 skips.
- Question 7
Inorder to execute the script parallely on different browsers,@Before method should be run with which of the below annotation.
- ✓@RunWith(Browser.class)Correct
- B@Parameters({"name of the parameter"})
- C@Browser({"name of the browser"})
- DNone of the above
- Question 8
Consider following two classes:
public class BaseClass {
@BeforeSuite
public void beforeSuite() {....}
@AfterSuite
public void afterSuite() {....}
@Test
public void f() {....}
}
public class Derived1 extends BaseClass {
@Test
public void testOne() {....}
}
What methods will be executed when Derived1 is executed through xml?- ✓testOne() will be executedCorrect
- BbeforeSuite(), afterSuite() and testOne() will be executed.
- CbeforeSuite(), afterSuite(),f() and testOne() will be executed.
- DNothing will be executed as the @BeforeSuite and @AfterSuite are not there in Derived1 class.
- Question 9
While executing 20 testcases using TestNg.xml(CMD)15 testcases have passed and 5 testcases have failed so how can you rerun the testcases which have failed without having to run the entire your testcases again?
- ✓java -classpath testng.jar;%CLASSPATH% org.testng.TestNG -d test-outputs test-outputs\testng-failed.xmlCorrect
- Bjava -classpath testng.jar;%CLASSPATH% org.testng.TestNG -d test-outputs test-outputs\testng-Skipped.xml
- Cjava -classpath testng.jar;%CLASSPATH% org.testng.TestNG -d test test-outputs\testng-failed.xml
- Djava -classpath testng.jar;%CLASSPATH% org.testng.TestNG -d test-outputs\testng-skipped.xml
- Question 10
Consider a scenario where you have two @Test annotations in your class for each of the below methods :
a) Login
b) CheckMailNow due to the some reasons (Invalid credentials), @Test Login method fails. Now how can we skip executing the @Test CheckMail method when login fails (Since CheckMail method can be executed only after Login method is success).
- ✓@Test(priority=1,enabled=false) public void CheckMail(){ }Correct
- B@Test(priority=2,enabled=false) public void CheckMail(){ }
- C@Test(priority=1,dependsOnMethods={"Login"}) public void CheckMail(){ }
- D. @Test(priority=2,dependsOnMethods={"Login"}) public void CheckMail(){ }
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.