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 printer drivers
C.Only computer processors
D.Only network cables
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 sequence of testing steps
B.A diagram of a processor
C.A collection of network passwords
D.A list of computer brands
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.Cable tracing
C.Memory formatting
D.Disk partitioning
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 hardware diagnostic tool
B.A mobile screen layout
C.A group of test cases
D.A programming language
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.Designing Android icons
C.Compiling computer hardware
D.Monitoring internet traffic
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.Video editing tools
B.Database administration tools
C.Android testing tools
D.Network security 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.Upgrading a processor
C.Replacing a battery
D.Changing a screen cable
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.onView()
B.getWindow()
C.findPage()
D.onScreen()
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.Creating a user account
C.Installing an Android device
D.Compressing an application
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.Desktop printers
B.Web server hardware
C.Wireless routers
D.Android applications
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.Network cable testing
B.Database backup testing
C.Processor performance 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.Changing a SIM card
B.Repairing a charging port
C.Entering text in a field
D.Replacing a device screen
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 replaces the Android operating system
C.It supports automated Android tests
D.It builds physical mobile devices
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.Mobile network towers
C.User interface controls
D.Battery chemistry
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.Designing computer chips
B.Editing mobile photographs
C.Managing email servers
D.Testing Android applications
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.Bluetooth Manager
C.Selenium WebDriver
D.Android Kernel
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.Audio API
C.WebDriver API
D.File system 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.Only desktop operating systems
B.Only physical keyboards
C.Native Android applications
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.Increasing battery capacity
D.Verifying Android app behavior
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.Update the locator of the shared object in the Object Repository
B.Replace every mobile keyword with a custom Groovy script
C.Duplicate the login test object in every affected test case
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 element's current screen coordinates
B.Use only the changing index attribute
C.Use the complete hierarchy with every attribute
D.Use the stable resource-id 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.Bind test data columns to test case variables in a test suite
C.Record the login procedure once for every account
D.Create a separate Object Repository folder for each account
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 the application contains a WebView component
B.Whether the test suite has a data binding configuration
C.Whether USB debugging is enabled and adb devices detects the phone
D.Whether every test object uses an XPath locator
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.Implement the sequence as a parameterized custom keyword
B.Store the sequence as a new mobile test object
C.Save the sequence as an execution profile
D.Add the sequence to the desired capabilities
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.Add a fixed delay before every assertion
C.Move the assertion into the application source code
D.Retry the complete test until it passes
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?
Basics of Espresso
Medium
A.Use onData() with an index of 4
B.Use screen coordinates captured from the emulator
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.Select the first matching button returned by Espresso
B.Add a delay so that one button disappears
C.Replace the matcher with a fixed screen coordinate
D.Combine withText() and withId() using allOf()
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 an Espresso ViewAssertion for the system dialog
B.Use UI Automator to interact with the system dialog
C.Use a longer Espresso timeout for the system dialog
D.Use RecyclerViewActions to select the permission
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 Solo object
B.A ViewInteraction object
C.A WebDriver 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.waitForText("Welcome")
B.solo.searchButton("Welcome")
C.solo.enterText("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.Press the Enter key after counting focus changes
D.Retrieve the view by ID and call clickOnView()
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.Compare the device's current screen coordinates
B.Use solo.waitForActivity("DetailsActivity")
C.Check whether the button remains clickable
D.Restart the application and inspect its launcher
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.searchText() after each test
B.Call solo.finishOpenedActivities() after each test
C.Call solo.waitForActivity() after each test
D.Call solo.clickOnScreen() 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.Store all test results inside the application APK
B.Translate WebDriver requests into actions on Android
C.Convert Android layouts into Espresso test source
D.Generate unit tests from application requirements
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.Replace the WebView with an Android activity
C.Switch from the native window to the WebView window
D.Restart the application in native-only execution mode
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.Katalon Execution Profile
B.Robotium Solo
C.Espresso Test Recorder
D.Selendroid Inspector
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.Replace the application's resource IDs with XPath expressions
B.Convert the complete test suite into Espresso assertions
C.Move the APK into the Android system applications directory
D.Register the APK with the server and use its matching aut value
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.id("login_button")
B.Tap the button using its recorded pixel position
C.Locate the button with By.cssSelector("login_button")
D.Locate the button with By.linkText("login_button")
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.Increase the default element timeout so the original XPath can resolve eventually
B.Build Test Objects from stable attributes and parameterize only the dynamic values
C.Place every recorded action inside a retry loop without changing the object repository
D.Replace each XPath with fixed screen coordinates recorded on the reference device
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 mobile session starts, by modifying the active driver object
C.After the first test case, by editing the generated execution log
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.Copy the login steps into the parent and use CONTINUE_ON_FAILURE
B.Call the login test case with variable bindings and use STOP_ON_FAILURE
C.Invoke the login case without bindings and depend on its design-time defaults
D.Store both values inside Test Objects and use OPTIONAL failure handling
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.Capture the HTML button as a native Test Object using only its screen coordinates and then disable Appium context discovery
B.Convert the CSS selector into an Android resource-id without changing context
C.Restart the application with image recognition enabled for the entire session
D.Switch the driver to the available WebView context before using a DOM locator
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.Increase the object-identification timeout in both execution profiles
C.Merge both test suites into one serial test case while retaining the shared driver session
D.Use identical desired capabilities so both executions create equivalent sessions
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 waits only for fixed delays declared directly in the test method
C.Espresso synchronizes only with activities launched from explicit intents
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.Disable Espresso synchronization and insert a long sleep so that only one of the matching buttons remains available when lookup occurs
B.Add a root or hierarchy matcher that uniquely identifies the intended button
C.Call onView() repeatedly until Espresso selects the correct matching button
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 an unrestricted coordinate click at the item's expected off-screen position
B.Use onData() because every scrolling collection is an AdapterView
C.Use RecyclerViewActions to scroll to or act on the matching item
D.Use onView() with isDisplayed() and assume Espresso will create the item
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 onData() to inspect the package manager's list of email applications
B.Disable instrumentation and parse the email application database after the test
C.Use Espresso-Intents to intercept, stub, and verify the outgoing intent
D.Open the external application and locate its controls with ordinary onView()
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()) guarantees that all application and external-service side effects have completed before returning to the test process
B.perform(click()) waits for every network request made anywhere on the Android device
C.perform(click()) waits for the UI thread to become idle, not for arbitrary untracked network completion
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.Assert that waitForText() returns true before continuing
B.Move the wait into teardown so that the test result is evaluated after activity cleanup
C.Call getCurrentActivity() because it implicitly verifies all visible text
D.Replace the wait with solo.sleep() and ignore its outcome
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.Wait for HomeActivity, verify the transition, and then query its controls
B.Create a second Solo instance before the new activity is launched
C.Terminate LoginActivity manually and access home controls through static fields
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.Convert every Robotium interaction into a WebDriver request while leaving the package signatures and instrumentation manifest unchanged
B.Enable USB debugging after both differently signed APKs are installed
C.Re-sign the target and test APKs with a compatible certificate
D.Change only the target package name in the Robotium source code
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.Use solo.clickOnText() because instrumentation can always control system UI
B.Declare the permission dialog as an activity inside the tested application
C.Use solo.finishOpenedActivities() before the dialog appears to grant the permission
D.Combine Robotium with a cross-application tool such as UI Automator
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.Use waitForActivity() only after the entire suite finishes
B.Preserve the existing activity stack and reset only local Java variables
C.Create additional Solo objects for every assertion
D.Call solo.finishOpenedActivities() during teardown
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 requires every test to execute as an Espresso view matcher
B.It converts Selenium scripts into manual test instructions that must be performed on the device before each remote session begins
C.It supports only direct in-process calls to Android activity objects
D.It exposes a WebDriver-compatible client-server automation interface
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 native view hierarchy became inaccessible because CSS selectors were enabled
B.The device rejected all applications controlled through a remote HTTP server
C.Re-signing changed the application's certificate identity and broke signature-based trust
D.The WebDriver protocol changed the Android package name during every command
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.Translate the CSS selector into an Android numeric view index
B.Switch to the WebView window or context exposed by the session
C.Reinstall the application before every DOM lookup
D.Use the native hierarchy to reconstruct the entire HTML document and then execute the selector without changing the active automation context
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.Bind each session to a distinct device or emulator and isolate its test data
B.Disable the Selendroid server's session handling and issue commands directly to the application package
C.Use identical user accounts so application state remains synchronized
D.Send commands from both clients to one shared session identifier
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.Espresso, because it remotely automates any APK without instrumentation or source access
B.Selendroid, because it targets legacy Android automation through a WebDriver-style server
C.Katalon Studio, because selecting it automatically removes all Android-version and application-signing constraints from the underlying automation stack
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 →