Share this page

EventResponseArgs Class
Configures how to simulate events that interrupt the application flow on the device, such as an incoming call or SMS.
Remarks
These simulated events can help you test that your application responds properly to the event itself and to state transitions. For example, you may want to verify that when an incoming SMS is received, your application is sent to the background for several seconds, and, when it returns to the foreground, the application is in an active state, ready to continue.

C# Syntax

    public class EventResponseArgs

Inheritance Hierarchy

System.Object
HP.LFT.SDK.Mobile.EventResponseArgs

Public Constructors

| Name | Description
--- | --- | ---
| EventResponseArgs Constructor | Initializes a new instance of the EventResponseArgs class with default arguments (TimeInBackground = 10 seconds; RespondToEvent = false).

Top
Public Properties

| Name | Description
--- | --- | ---
| RespondToEvent | Indicates whether there is a response to the simulated event. Default = false
| TimeInBackground | The time (in seconds) that the application remains in the background while the event is being handled. Default = 10

Top

Tips to improve your search results... UFT Developer .NET SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: