---
title: ResolvedIntentResult
framework: appintentstesting
role: symbol
role_heading: Structure
path: appintentstesting/resolvedintentresult
---

# ResolvedIntentResult

A type-safe result from performing an app intent.

## Declaration

```swift
@dynamicMemberLookup struct ResolvedIntentResult
```

## Mentioned in

Testing your App Intents code

## Overview

Overview After performing the app intent with run(), use the value property to inspect the output as shown in the following example: let result = try await intent.run()

// Compare the result with an expected value. XCTAssertEqual(try result.value, "Hello World")

// Access the return value's nested properties. let name: String = try result.value.customerName

// Pass the return value to another intent for additional verification. intent2.coffee = try result.value

## Topics

### Supporting types

- [ResolvedIntentResult.ValueKeyPath](appintentstesting/resolvedintentresult/valuekeypath.md)

### Subscripts

- [subscript(dynamicMember:)](appintentstesting/resolvedintentresult/subscript(dynamicmember:)-69dzb.md)
- [subscript(dynamicMember:)](appintentstesting/resolvedintentresult/subscript(dynamicmember:)-7og7e.md)
- [subscript(dynamicMember:)](appintentstesting/resolvedintentresult/subscript(dynamicmember:)-kbqk.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Intent and query result verification

- [ResolvedValueQueryResult](appintentstesting/resolvedvaluequeryresult.md)
