Extract text using AI
Easily extract text from the current mobile screen using prompts
Pull text from mobile screens using simple prompts. With FinalRun’s AI-driven extraction, you can capture usernames, prices, error messages, etc.
1. Getting Started
What it does: Converts your plain-English request into text captured from a mobile screen.
Why it matters: Automate verification, reporting, and testing without manual taps or guesswork.
How it works:
You write a request like
Extract the username to variable currentUser.
The AI scans the screen, finds the right element, and saves it to variable.
2. Crafting Your Prompt
Keep it simple:
Specify what to extract (e.g., username, price, error message)
Name your variable (e.g., currentUser, itemPrice, errorText)
Optional: Ask for processing (e.g.,
uppercase
,numbers only
)
Format: Extract the [element] to variable [variableName].
Example:
Extract the price and convert to numbers only to variable itemPrice.
3. Real-World Examples
Extract the username to variable currentUser.
currentUser: john.doe
Get the total amount to variable orderTotal.
orderTotal: $149.99
Extract the error message to variable errorText.
errorText: Invalid email
Extract the price and convert to numbers only to variable p.
p: 29.99
Extract the welcome title to variable title in uppercase.
title: WELCOME BACK!
Each example shows exactly what the AI finds and how it assigns the value.
4. Tips for Success
Be specific: If there are multiple similar labels, mention context (e.g., profile section).
Ask processing properly: Perform calculation (for ex. add all items.) or strip symbols in the same request.
Last updated