HomeExamsIVS AcademyTETAIVSESPIC2001
TETAIVSESPIC2001

Infosys Certified Espresso Tester

Practice with real exam-pattern questions for Infosys Certified Espresso 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.

IntermediateIVS Academy60 min
Free questions

10 Infosys Certified Espresso Tester practice questions with answers

Real Lex exam-pattern multiple-choice questions for the Infosys Certified Espresso Tester certification. Each question includes the correct answer. The full question bank is available to Premium members.

  1. Question 1

    While preparing the automation testing environment for writing Espresso scripts, what are the major components required by the testing team for setting up the testing framework using Espresso? (Choose 2)

    • Android Studio

      Correct
    • B

      Eclipse IDE

    • C

      Gradle build tool

    • D

      MS Visual Studio

  2. Question 2

    Espresso can be used to test mobile apps written in which of the following languages?

    1. Java

    2. Kotlin

    3. Swift

    4. Objective C

    • 1.0

      Correct
    • B

      2.0

    • C

      Both 1 and 2.

    • D

      4.0

  3. Question 3

    What are the different types of tests can be developed in Android Studio?

    • Functional tests using JUnit and instrumented tests using AndroidTests

      Correct
    • B

      Appium tests and functional tests using JUnit

    • C

      Performance tests and instrumented tests using AndroidTests

    • D

      Functional tests using JUnit , instrumented tests using AndroidTests and performance tests

  4. Question 4

    Which of the following is NOT a Text based matcher?

    • equalToIgnoringCase

      Correct
    • B

      containsString

    • C

      endsWith

    • D

      allOf

  5. Question 5

    Consider the below code snippet:

    @Test

    public void changeText_sameActivity() {

    // Type text and then press the button.

    onView(withId(R.id.editTextUserInput))

    .perform(typeText(stringToBetyped), closeSoftKeyboard());

    onView(withId(R.id.changeTextBt)).perform(click());

    // Check that the text was changed.

    onView(withId(R.id.textToBeChanged))

    .check(matches(withText(stringToBetyped)));

    In this code what is onView() method going to return?

    • ViewInteraction object

      Correct
    • B

      RecyclerView layout

    • C

      DateInteraction object

    • D

      ViewAction object

  6. Question 6

    Which library is needed for using Matcher objects in Espresso Framework?

    • Hamcrest

      Correct
    • B

      AndroidX

    • C

      Espresso

    • D

      Junit

  7. Question 7

    Out of all the classes used in Espresso framework, which is the one used to launch the application UI on the android app?

    • ViewMatchers class

      Correct
    • B

      ActivityTestRule class

    • C

      ViewAssertions

    • D

      viewInteraction class

  8. Question 8

    While running Espresso test cases, we need to use JUnit. To use JUnit4 classes, we have to specify AndroidJunitRunner as the default test instrumentation runner in the project. Out of the following code snippets, pick the correct one that does this required task without throwing any error:

    • android { Config { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } }

      Correct
    • B

      android { testConfig { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } }

    • C

      android { defaultConfig { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } }

    • D

      android { androidxConfig { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } }

  9. Question 9

    Consider the following code snippet :-

    onView(withId(R.id.button_signin));

    In this code snippet we are trying to find an object/element using resource id. As android resource ids are not guaranteed to be unique. In our attempt to match to a resource id used by more than one view, Espresso gives the following outcome:

    • MultipleMatcherException exception is thrown.

      Correct
    • B

      AmbiguousViewMatcherException exception is thrown.

    • C

      MultipleViewMatcherException exception is thrown.

    • D

      Collection of all the elements matching resource id.

  10. Question 10

    Identify the sample code with the correct usage of hasErrorText() method that accepts an argument of type Matcher<String> which refers the view’s (EditText) error string value and returns a matcher which matches the view using error string of the view. Also, It applies to TextView only.

    • onView(allOf(withId(R.id.editText_name), hasErrorText(is("name is required"))))

      Correct
    • B

      onView(withId(R.id.editText_name), hasErrorText(is("name is required"))))

    • C

      onView(allOf(withId(id.R.editText_name), hasErrorText(is("name is required"))))

    • D

      onView(withId(id.R.editText_name), hasErrorText(is("name is required"))))

Pricing

Pay once. Clear every cert this year.

One subscription, full Telegram channel access, every PDF posted during your membership.

Monthly
50% OFF
₹1,300₹2,600
Per month · cancel anytime
  • Full access to all 1,357+ certifications
  • Monthly updated question banks
  • Telegram private channel access
  • Cancel anytime
Get Monthly
POPULAR
Quarterly
44% OFF
₹1,800₹3,200
That's ₹600/mo · billed for 3 months
  • Everything in Monthly
  • Save ₹2,100 vs monthly billing
  • Priority answer key requests
  • Best for increasing DQ score fast
Get Quarterly
BEST VALUE
Lifetime
52% OFF
₹2,400₹5,000
One-time · lifetime access
  • Everything in Quarterly
  • Lifetime channel access — no renewals
  • All future certifications included
  • Priority response from admin team
Get Lifetime
FAQ

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.

i
InfyLexDumps

Independent exam preparation platform for Infosys Lex certifications. Real exam-pattern question banks, monthly updates, 180K+ community members.

Join Premium Telegram
Contact
  • @prepflixadmin
  • admin@prepflix.net
This platform is an independent educational resource and is not affiliated with or endorsed by Infosys Ltd. All certification names referenced are property of their respective owners.
© 2026 InfyLexDumps
Join Premium Telegram