Katalon Studio is a testing tool used to create and execute automated tests for web, API, mobile, and desktop applications.
Incorrect! Try again.
2Which type of application can be tested using Katalon Studio?
Basics of Katalon Studio
Easy
A.Mobile applications
B.Only computer processors
C.Only network cables
D.Only printer drivers
Correct Answer: Mobile applications
Explanation:
Katalon Studio provides features for automating tests on mobile applications as well as other software platforms.
Incorrect! Try again.
3What does a test case in Katalon Studio contain?
Basics of Katalon Studio
Easy
A.A list of computer brands
B.A collection of network passwords
C.A diagram of a processor
D.A sequence of testing steps
Correct Answer: A sequence of testing steps
Explanation:
A Katalon test case defines the actions and validations needed to test a particular feature or behavior.
Incorrect! Try again.
4Which feature helps users create Katalon tests by recording actions?
Basics of Katalon Studio
Easy
A.Object spying
B.Memory formatting
C.Disk partitioning
D.Cable tracing
Correct Answer: Object spying
Explanation:
Object spying helps identify application objects and supports the creation of automated test steps.
Incorrect! Try again.
5What is a test suite in Katalon Studio?
Basics of Katalon Studio
Easy
A.A programming language
B.A hardware diagnostic tool
C.A mobile screen layout
D.A group of test cases
Correct Answer: A group of test cases
Explanation:
A test suite organizes multiple test cases so they can be executed together.
Incorrect! Try again.
6What is Espresso mainly used for?
Basics of Espresso
Easy
A.Testing Android user interfaces
B.Monitoring internet traffic
C.Designing Android icons
D.Compiling computer hardware
Correct Answer: Testing Android user interfaces
Explanation:
Espresso is an Android testing framework designed for testing interactions and behavior in user interfaces.
Incorrect! Try again.
7Espresso is provided as part of which development environment?
Basics of Espresso
Easy
A.Database administration tools
B.Android testing tools
C.Network security tools
D.Video editing tools
Correct Answer: Android testing tools
Explanation:
Espresso is part of the Android testing ecosystem and is commonly used with Android Studio.
Incorrect! Try again.
8Which action can an Espresso test perform?
Basics of Espresso
Easy
A.Clicking a button
B.Changing a screen cable
C.Replacing a battery
D.Upgrading a processor
Correct Answer: Clicking a button
Explanation:
Espresso can simulate user interface actions such as clicking buttons, entering text, and selecting items.
Incorrect! Try again.
9Which method is commonly used in Espresso to find a view?
Basics of Espresso
Easy
A.onScreen()
B.getWindow()
C.onView()
D.findPage()
Correct Answer: onView()
Explanation:
The onView() method is used to locate a view before performing an action or checking an assertion.
Incorrect! Try again.
10What is an assertion in an Espresso test used for?
Basics of Espresso
Easy
A.Checking an expected result
B.Compressing an application
C.Creating a user account
D.Installing an Android device
Correct Answer: Checking an expected result
Explanation:
Assertions verify that the application displays or produces the expected result after an action.
Incorrect! Try again.
11What is Robotium primarily designed to test?
Basics of Robotium
Easy
A.Android applications
B.Wireless routers
C.Desktop printers
D.Web server hardware
Correct Answer: Android applications
Explanation:
Robotium is an open-source framework created for automating tests of Android applications.
Incorrect! Try again.
12Robotium is mainly associated with which type of testing?
Basics of Robotium
Easy
A.Processor performance testing
B.Network cable testing
C.Database backup testing
D.Android user interface testing
Correct Answer: Android user interface testing
Explanation:
Robotium helps testers automate interactions with Android application user interfaces.
Incorrect! Try again.
13Which user action can Robotium automate?
Basics of Robotium
Easy
A.Repairing a charging port
B.Replacing a device screen
C.Changing a SIM card
D.Entering text in a field
Correct Answer: Entering text in a field
Explanation:
Robotium can automate common Android actions, including entering text, clicking controls, and navigating screens.
Incorrect! Try again.
14What is a major benefit of using Robotium?
Basics of Robotium
Easy
A.It removes the need for source code
B.It supports automated Android tests
C.It builds physical mobile devices
D.It replaces the Android operating system
Correct Answer: It supports automated Android tests
Explanation:
Robotium provides APIs that make it easier to write and run automated tests for Android applications.
Incorrect! Try again.
15Robotium tests can interact with which part of an Android application?
Basics of Robotium
Easy
A.Camera hardware circuits
B.User interface controls
C.Battery chemistry
D.Mobile network towers
Correct Answer: User interface controls
Explanation:
Robotium tests interact with controls such as buttons, text fields, menus, and other Android user interface elements.
Incorrect! Try again.
16What is Selendroid used for?
Basics of Selendroid
Easy
A.Editing mobile photographs
B.Designing computer chips
C.Testing Android applications
D.Managing email servers
Correct Answer: Testing Android applications
Explanation:
Selendroid is a test automation framework for Android applications.
Incorrect! Try again.
17Selendroid is based on which testing technology?
Basics of Selendroid
Easy
A.JUnit database
B.Android Kernel
C.Selenium WebDriver
D.Bluetooth Manager
Correct Answer: Selenium WebDriver
Explanation:
Selendroid uses the Selenium WebDriver interface to automate interactions with Android applications.
Incorrect! Try again.
18Which programming interface does Selendroid commonly use for automation?
Basics of Selendroid
Easy
A.Graphics API
B.File system API
C.WebDriver API
D.Audio API
Correct Answer: WebDriver API
Explanation:
Selendroid exposes a WebDriver-compatible API for writing automated Android tests.
Incorrect! Try again.
19What kind of application can Selendroid test?
Basics of Selendroid
Easy
A.Native Android applications
B.Only physical keyboards
C.Only desktop operating systems
D.Only spreadsheet files
Correct Answer: Native Android applications
Explanation:
Selendroid can automate tests for native Android applications and other supported Android application types.
Incorrect! Try again.
20What is one purpose of a Selendroid test?
Basics of Selendroid
Easy
A.Repairing damaged hardware
B.Replacing a mobile carrier
C.Verifying Android app behavior
D.Increasing battery capacity
Correct Answer: Verifying Android app behavior
Explanation:
Selendroid tests check whether an Android application behaves as expected when users interact with it.
Incorrect! Try again.
21A mobile application's login button receives a new resource ID. Several Katalon test cases use the same stored test object for this button. What is the most maintainable action?
Basics of Katalon Studio
Medium
A.Duplicate the login test object in every affected test case
B.Replace every mobile keyword with a custom Groovy script
C.Update the locator of the shared object in the Object Repository
D.Create a separate execution profile for the new resource ID
Correct Answer: Update the locator of the shared object in the Object Repository
Explanation:
Updating the shared Object Repository entry applies the locator change to every test case that references that object.
Incorrect! Try again.
22While capturing an Android element in Katalon Studio, the element's index changes between runs, but its resource-id remains constant. Which locator strategy should be preferred?
Basics of Katalon Studio
Medium
A.Use the stable resource-id attribute
B.Use the complete hierarchy with every attribute
C.Use the element's current screen coordinates
D.Use only the changing index attribute
Correct Answer: Use the stable resource-id attribute
Explanation:
A stable resource-id is less sensitive to layout changes than an index, coordinates, or a complete hierarchy.
Incorrect! Try again.
23A Katalon login test must run with 20 username and password combinations stored in an external data file. Which approach best supports this requirement?
Basics of Katalon Studio
Medium
A.Store all credentials as mobile desired capabilities
B.Create a separate Object Repository folder for each account
C.Record the login procedure once for every account
D.Bind test data columns to test case variables in a test suite
Correct Answer: Bind test data columns to test case variables in a test suite
Explanation:
Test data binding allows one test case to execute repeatedly with different values supplied from a data source.
Incorrect! Try again.
24Katalon Studio cannot list a connected Android phone, although the test object's locators are valid. What should be checked first?
Basics of Katalon Studio
Medium
A.Whether every test object uses an XPath locator
B.Whether the test suite has a data binding configuration
C.Whether USB debugging is enabled and adb devices detects the phone
D.Whether the application contains a WebView component
Correct Answer: Whether USB debugging is enabled and adb devices detects the phone
Explanation:
Katalon depends on the Android debugging connection. If ADB cannot detect the phone, Katalon cannot use it for execution.
Incorrect! Try again.
25A sequence that logs in, dismisses a welcome dialog, and opens the dashboard is repeated across many Katalon test cases. How should the sequence be made reusable?
Basics of Katalon Studio
Medium
A.Add the sequence to the desired capabilities
B.Store the sequence as a new mobile test object
C.Save the sequence as an execution profile
D.Implement the sequence as a parameterized custom keyword
Correct Answer: Implement the sequence as a parameterized custom keyword
Explanation:
A custom keyword can encapsulate a reusable sequence of actions and accept parameters such as usernames or environment values.
Incorrect! Try again.
26An Espresso test checks a label that is updated after a request executed by a custom background executor. The test sometimes checks the label too early. What is the preferred solution?
Basics of Espresso
Medium
A.Register an IdlingResource for the background operation
B.Move the assertion into the application source code
C.Retry the complete test until it passes
D.Add a fixed delay before every assertion
Correct Answer: Register an IdlingResource for the background operation
Explanation:
An IdlingResource tells Espresso when custom asynchronous work is active, allowing the test to wait without fixed delays.
Incorrect! Try again.
27A test must click the fourth item in a RecyclerView. Which Espresso approach is most appropriate?
onView() selects the view, check() performs an assertion, and matches(isDisplayed()) verifies visibility.
Incorrect! Try again.
29An Espresso test using withText("Submit") fails because two visible buttons have that text. One intended button has ID confirm_button. How should the matcher be improved?
Basics of Espresso
Medium
A.Combine withText() and withId() using allOf()
B.Add a delay so that one button disappears
C.Select the first matching button returned by Espresso
D.Replace the matcher with a fixed screen coordinate
Correct Answer: Combine withText() and withId() using allOf()
Explanation:
Combining stable attributes makes the matcher specific enough to identify exactly one view.
Incorrect! Try again.
30An Android test must grant permission through a system dialog displayed outside the application's process. Which testing approach should complement Espresso?
Basics of Espresso
Medium
A.Use UI Automator to interact with the system dialog
B.Use an Espresso ViewAssertion for the system dialog
C.Use RecyclerViewActions to select the permission
D.Use a longer Espresso timeout for the system dialog
Correct Answer: Use UI Automator to interact with the system dialog
Explanation:
Espresso primarily interacts with views inside the application process, while UI Automator can interact with system UI and other applications.
Incorrect! Try again.
31A Robotium test needs to use methods such as clickOnButton() and waitForText(). Which object should normally be initialized with the instrumentation and starting activity?
Basics of Robotium
Medium
A.A WebDriver object
B.A Solo object
C.A ViewInteraction object
D.A UiDevice object
Correct Answer: A Solo object
Explanation:
Solo is Robotium's main API object for interacting with activities, views, text, and other application elements.
Incorrect! Try again.
32After tapping Sign In, the text Welcome appears only when an asynchronous login request completes. Which Robotium method is preferable to a fixed sleep?
Basics of Robotium
Medium
A.solo.searchButton("Welcome")
B.solo.enterText("Welcome")
C.solo.waitForText("Welcome")
D.solo.getCurrentActivity("Welcome")
Correct Answer: solo.waitForText("Welcome")
Explanation:
waitForText() waits for the expected text to appear and is more reliable than pausing for a fixed amount of time.
Incorrect! Try again.
33Two buttons in a Robotium-tested activity display the same label, but the intended button has a unique resource ID. Which interaction is most reliable?
Basics of Robotium
Medium
A.Call clickOnButton() with the shared label
B.Tap the stored coordinates of the intended button
C.Retrieve the view by ID and call clickOnView()
D.Press the Enter key after counting focus changes
Correct Answer: Retrieve the view by ID and call clickOnView()
Explanation:
A unique resource ID identifies the intended view more reliably than duplicated text, coordinates, or focus order.
Incorrect! Try again.
34A Robotium test taps a button that opens DetailsActivity. What is the most suitable way to verify that navigation completed?
Basics of Robotium
Medium
A.Restart the application and inspect its launcher
B.Use solo.waitForActivity("DetailsActivity")
C.Compare the device's current screen coordinates
D.Check whether the button remains clickable
Correct Answer: Use solo.waitForActivity("DetailsActivity")
Explanation:
waitForActivity() waits for the named activity and directly verifies that the expected navigation occurred.
Incorrect! Try again.
35Robotium tests leave activities open, causing later tests to begin in an unexpected state. Which teardown action best addresses this issue?
Basics of Robotium
Medium
A.Call solo.waitForActivity() after each test
B.Call solo.searchText() after each test
C.Call solo.clickOnScreen() after each test
D.Call solo.finishOpenedActivities() after each test
Correct Answer: Call solo.finishOpenedActivities() after each test
Explanation:
finishOpenedActivities() closes activities opened during the test and helps isolate subsequent test executions.
Incorrect! Try again.
36A Selendroid client sends WebDriver commands to a standalone Selendroid server. What is the server's main role?
Basics of Selendroid
Medium
A.Translate WebDriver requests into actions on Android
B.Store all test results inside the application APK
C.Generate unit tests from application requirements
D.Convert Android layouts into Espresso test source
Correct Answer: Translate WebDriver requests into actions on Android
Explanation:
The Selendroid server receives WebDriver-compatible requests and executes the corresponding operations on an Android application or browser.
Incorrect! Try again.
37A Selendroid test opens a hybrid application's WebView and must locate an HTML input using a CSS selector. What should the test do first?
Basics of Selendroid
Medium
A.Convert the CSS selector into Android screen coordinates
B.Restart the application in native-only execution mode
C.Replace the WebView with an Android activity
D.Switch from the native window to the WebView window
Correct Answer: Switch from the native window to the WebView window
Explanation:
Web elements become accessible through Selenium-style locators after the driver switches from the native context or window to the WebView.
Incorrect! Try again.
38A tester needs to examine the current Android UI hierarchy and try possible element locators before writing a Selendroid test. Which component is intended for this task?
Basics of Selendroid
Medium
A.Robotium Solo
B.Selendroid Inspector
C.Espresso Test Recorder
D.Katalon Execution Profile
Correct Answer: Selendroid Inspector
Explanation:
Selendroid Inspector displays the current UI hierarchy and helps testers examine elements and identify useful locators.
Incorrect! Try again.
39A Selendroid session fails because the standalone server does not recognize the requested application under test. What is the most appropriate configuration fix?
Basics of Selendroid
Medium
A.Move the APK into the Android system applications directory
B.Convert the complete test suite into Espresso assertions
C.Register the APK with the server and use its matching aut value
D.Replace the application's resource IDs with XPath expressions
Correct Answer: Register the APK with the server and use its matching aut value
Explanation:
The server must know the application APK, and the desired aut capability must identify the registered application and version.
Incorrect! Try again.
40A native Android button exposes the stable resource ID login_button. Which Selendroid WebDriver strategy should generally be tried before coordinate-based tapping?
Basics of Selendroid
Medium
A.Locate the button with By.linkText("login_button")
B.Locate the button with By.cssSelector("login_button")
C.Locate the button with By.id("login_button")
D.Tap the button using its recorded pixel position
Correct Answer: Locate the button with By.id("login_button")
Explanation:
A stable resource ID supports a direct By.id() lookup and is generally more robust than coordinates or web-specific selectors.
Incorrect! Try again.
41A Katalon Studio mobile test recorded taps against absolute XPath expressions containing runtime-generated indices. The test fails whenever the screen contains an additional list item. Which redesign most directly improves locator stability?
Basics of Katalon Studio
Hard
A.Replace each XPath with fixed screen coordinates recorded on the reference device
B.Place every recorded action inside a retry loop without changing the object repository
C.Increase the default element timeout so the original XPath can resolve eventually
D.Build Test Objects from stable attributes and parameterize only the dynamic values
Correct Answer: Build Test Objects from stable attributes and parameterize only the dynamic values
Explanation:
Stable identifiers, accessibility attributes, and parameterized Test Objects are less sensitive to hierarchy and index changes than absolute XPath expressions.
Incorrect! Try again.
42A Katalon mobile suite must launch the same application with different Appium capabilities for two device classes. At what point should capabilities such as automation engine or system port be assigned?
Basics of Katalon Studio
Hard
A.During object spying, where Katalon can infer and permanently attach every required capability to each captured Test Object
B.After the first test case, by editing the generated execution log
C.After the mobile session starts, by modifying the active driver object
D.Before session creation, through execution settings or the desired-capability configuration
Correct Answer: Before session creation, through execution settings or the desired-capability configuration
Explanation:
Desired capabilities are negotiated when the Appium session is created. Changing them afterward does not reconfigure the existing session.
Incorrect! Try again.
43A reusable Katalon login test case accepts username and password variables. A parent test case must invoke it with environment-specific values and stop immediately if login fails. Which design is most appropriate?
Basics of Katalon Studio
Hard
A.Store both values inside Test Objects and use OPTIONAL failure handling
B.Copy the login steps into the parent and use CONTINUE_ON_FAILURE
C.Call the login test case with variable bindings and use STOP_ON_FAILURE
D.Invoke the login case without bindings and depend on its design-time defaults
Correct Answer: Call the login test case with variable bindings and use STOP_ON_FAILURE
Explanation:
Variable bindings preserve reusability, while STOP_ON_FAILURE prevents dependent steps from running after a failed login.
Incorrect! Try again.
44A Katalon test successfully locates native controls, but cannot locate an HTML button rendered inside a hybrid application's WebView. The WebView has already loaded. What is the essential missing action?
Basics of Katalon Studio
Hard
A.Restart the application with image recognition enabled for the entire session
B.Switch the driver to the available WebView context before using a DOM locator
C.Convert the CSS selector into an Android resource-id without changing context
D.Capture the HTML button as a native Test Object using only its screen coordinates and then disable Appium context discovery
Correct Answer: Switch the driver to the available WebView context before using a DOM locator
Explanation:
Native and WebView elements belong to different automation contexts. DOM locators work only after switching to the relevant WebView context.
Incorrect! Try again.
45Two Katalon mobile executions run in parallel against separate Android devices but intermittently attach to the wrong Appium-side resources. Which configuration change best addresses the root cause?
Basics of Katalon Studio
Hard
A.Assign isolated device identifiers and unique Appium system ports to each execution
B.Use identical desired capabilities so both executions create equivalent sessions
C.Merge both test suites into one serial test case while retaining the shared driver session
D.Increase the object-identification timeout in both execution profiles
Correct Answer: Assign isolated device identifiers and unique Appium system ports to each execution
Explanation:
Parallel Android sessions need distinct device targets and collision-prone server resources, such as system ports, to remain isolated.
Incorrect! Try again.
46An Espresso test clicks a button that starts work on a custom background executor. The result view appears later, but Espresso sometimes checks it too early. Why does Espresso's normal synchronization not solve this?
Basics of Espresso
Hard
A.The result view must be accessed with onData() regardless of its container type
B.Espresso synchronizes only with activities launched from explicit intents
C.Espresso waits only for fixed delays declared directly in the test method
D.The executor is unknown to Espresso and should be represented by an IdlingResource
Correct Answer: The executor is unknown to Espresso and should be represented by an IdlingResource
Explanation:
Espresso automatically tracks the main looper and known tasks, but custom asynchronous work must expose its busy and idle states through an IdlingResource.
Incorrect! Try again.
47An activity contains two visible buttons with the same text and resource ID, one in the main layout and one in a dialog. onView() raises an ambiguous-match error. What is the strongest correction?
Basics of Espresso
Hard
A.Call onView() repeatedly until Espresso selects the correct matching button
B.Add a root or hierarchy matcher that uniquely identifies the intended button
C.Disable Espresso synchronization and insert a long sleep so that only one of the matching buttons remains available when lookup occurs
D.Replace the click with onData() because all duplicated views are adapter data
Correct Answer: Add a root or hierarchy matcher that uniquely identifies the intended button
Explanation:
Espresso requires one unambiguous match. A matcher such as inRoot(), isDescendantOfA(), or another structural constraint distinguishes the target.
Incorrect! Try again.
48A test must click an item that is not currently visible in a RecyclerView. Which Espresso approach is conceptually correct?
Basics of Espresso
Hard
A.Use onView() with isDisplayed() and assume Espresso will create the item
B.Use RecyclerViewActions to scroll to or act on the matching item
C.Use an unrestricted coordinate click at the item's expected off-screen position
D.Use onData() because every scrolling collection is an AdapterView
Correct Answer: Use RecyclerViewActions to scroll to or act on the matching item
Explanation:
onData() is intended for AdapterView-based widgets. RecyclerView requires its dedicated Espresso contribution actions.
Incorrect! Try again.
49Pressing a button sends an email intent to an external application. The test needs to verify the intent's action and recipient without depending on an installed email client. Which method is best?
Basics of Espresso
Hard
A.Use Espresso-Intents to intercept, stub, and verify the outgoing intent
B.Open the external application and locate its controls with ordinary onView()
C.Use onData() to inspect the package manager's list of email applications
D.Disable instrumentation and parse the email application database after the test
Correct Answer: Use Espresso-Intents to intercept, stub, and verify the outgoing intent
Explanation:
Espresso-Intents can validate and stub outgoing intents, avoiding fragile dependence on another application's UI or availability.
Incorrect! Try again.
50Immediately after perform(click()), an Espresso assertion runs successfully on most devices but fails when the click starts an untracked network request. Which statement correctly interprets the behavior?
Basics of Espresso
Hard
A.perform(click()) waits for every network request made anywhere on the Android device
B.perform(click()) waits for the UI thread to become idle, not for arbitrary untracked network completion
C.perform(click()) guarantees that all application and external-service side effects have completed before returning to the test process
D.perform(click()) disables synchronization until the next activity is launched
Correct Answer: perform(click()) waits for the UI thread to become idle, not for arbitrary untracked network completion
Explanation:
Espresso synchronization is not a universal network barrier. The request must be integrated with an appropriate idling mechanism.
Incorrect! Try again.
51A Robotium test calls solo.waitForText("Completed") but ignores the returned value. When the text never appears, later steps fail with misleading errors. What is the best correction?
Basics of Robotium
Hard
A.Replace the wait with solo.sleep() and ignore its outcome
B.Assert that waitForText() returns true before continuing
C.Move the wait into teardown so that the test result is evaluated after activity cleanup
D.Call getCurrentActivity() because it implicitly verifies all visible text
Correct Answer: Assert that waitForText() returns true before continuing
Explanation:
A wait that returns false does not necessarily fail the test by itself. Asserting the result reports the real synchronization failure at its source.
Incorrect! Try again.
52A Robotium test navigates from LoginActivity to HomeActivity, but immediately querying home controls is flaky. Which sequence best uses Robotium's activity support?
Basics of Robotium
Hard
A.Terminate LoginActivity manually and access home controls through static fields
B.Create a second Solo instance before the new activity is launched
C.Wait for HomeActivity, verify the transition, and then query its controls
D.Assume the click blocks until all lifecycle methods of HomeActivity finish
Correct Answer: Wait for HomeActivity, verify the transition, and then query its controls
Explanation:
Solo can span activities in the target application, but the test should explicitly wait for the expected activity before interacting with it.
Incorrect! Try again.
53A team creates Robotium tests for an application available only as an APK. Instrumentation installation fails because the test APK and target APK are signed differently. Which remedy is normally required for this setup?
Basics of Robotium
Hard
A.Change only the target package name in the Robotium source code
B.Re-sign the target and test APKs with a compatible certificate
C.Enable USB debugging after both differently signed APKs are installed
D.Convert every Robotium interaction into a WebDriver request while leaving the package signatures and instrumentation manifest unchanged
Correct Answer: Re-sign the target and test APKs with a compatible certificate
Explanation:
Instrumentation-based testing commonly requires the target and test packages to have compatible signatures. APK-only workflows therefore often re-sign both artifacts.
Incorrect! Try again.
54A Robotium test can interact with the application's activities but cannot reliably approve a modern Android permission dialog owned by the operating system. What is the most appropriate strategy?
Basics of Robotium
Hard
A.Combine Robotium with a cross-application tool such as UI Automator
B.Use solo.clickOnText() because instrumentation can always control system UI
C.Declare the permission dialog as an activity inside the tested application
D.Use solo.finishOpenedActivities() before the dialog appears to grant the permission
Correct Answer: Combine Robotium with a cross-application tool such as UI Automator
Explanation:
Robotium is primarily scoped to the instrumented target application. UI Automator is better suited to system UI and cross-application interactions.
Incorrect! Try again.
55A Robotium suite leaves activities open after one test, causing the next test to begin in an unexpected state. Which lifecycle practice most directly improves isolation?
Basics of Robotium
Hard
A.Preserve the existing activity stack and reset only local Java variables
B.Call solo.finishOpenedActivities() during teardown
C.Use waitForActivity() only after the entire suite finishes
D.Create additional Solo objects for every assertion
Correct Answer: Call solo.finishOpenedActivities() during teardown
Explanation:
Closing activities opened during the test reduces state leakage and gives subsequent tests a more predictable starting point.
Incorrect! Try again.
56A test organization already has Selenium-compatible remote clients and must automate a legacy Android application through a server endpoint. Which Selendroid characteristic makes this integration natural?
Basics of Selendroid
Hard
A.It converts Selenium scripts into manual test instructions that must be performed on the device before each remote session begins
B.It supports only direct in-process calls to Android activity objects
C.It exposes a WebDriver-compatible client-server automation interface
D.It requires every test to execute as an Espresso view matcher
Correct Answer: It exposes a WebDriver-compatible client-server automation interface
Explanation:
Selendroid follows the Selenium WebDriver-style client-server model, allowing remote clients to create sessions and issue automation commands.
Incorrect! Try again.
57A Selendroid workflow re-signs an application during test preparation. The tested app then fails when connecting to another app that validates its original signing certificate. What is the underlying issue?
Basics of Selendroid
Hard
A.The WebDriver protocol changed the Android package name during every command
B.Re-signing changed the application's certificate identity and broke signature-based trust
C.The device rejected all applications controlled through a remote HTTP server
D.The native view hierarchy became inaccessible because CSS selectors were enabled
Correct Answer: Re-signing changed the application's certificate identity and broke signature-based trust
Explanation:
Certificate-sensitive features can fail after re-signing because Android components or external services may rely on the original signer identity.
Incorrect! Try again.
58A Selendroid test locates native controls but fails to find an HTML element inside a hybrid application's WebView using a CSS selector. What should the test do first?
Basics of Selendroid
Hard
A.Switch to the WebView window or context exposed by the session
B.Translate the CSS selector into an Android numeric view index
C.Use the native hierarchy to reconstruct the entire HTML document and then execute the selector without changing the active automation context
D.Reinstall the application before every DOM lookup
Correct Answer: Switch to the WebView window or context exposed by the session
Explanation:
Web content and native controls are represented through different automation contexts. DOM strategies such as CSS require the WebView context.
Incorrect! Try again.
59Two Selendroid sessions are intended to run concurrently, but both are accidentally assigned to the same emulator and application state. What is the best architectural correction?
Basics of Selendroid
Hard
A.Disable the Selendroid server's session handling and issue commands directly to the application package
B.Bind each session to a distinct device or emulator and isolate its test data
C.Send commands from both clients to one shared session identifier
D.Use identical user accounts so application state remains synchronized
Correct Answer: Bind each session to a distinct device or emulator and isolate its test data
Explanation:
Independent devices or emulators and isolated data prevent command routing and state interference between concurrent sessions.
Incorrect! Try again.
60A team must choose between Selendroid and Espresso for a legacy project. The application runs on older Android versions, source code is unavailable, and tests must be driven from a remote WebDriver client. Which choice best fits these constraints?
Basics of Selendroid
Hard
A.Katalon Studio, because selecting it automatically removes all Android-version and application-signing constraints from the underlying automation stack
B.Selendroid, because it targets legacy Android automation through a WebDriver-style server
C.Espresso, because it remotely automates any APK without instrumentation or source access
D.Robotium, because it natively implements the Selenium remote server protocol
Correct Answer: Selendroid, because it targets legacy Android automation through a WebDriver-style server
Explanation:
Selendroid was designed for older Android applications and remote Selenium-style automation, including APK-based workflows without application source.
Incorrect! Try again.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill.
The rest comes out of a student's own pocket: the domain, the storage,
and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it.
What it pays for →