SmartestQADocs
AI ARTIFICIAL INTELLIGENCE

AI Prompt Step

Create AI-powered dynamic content with AI Prompt. Generate test data, email content, random data, and more.

What is AI Prompt?

AI Prompt Step generates dynamic content using AI models during testing. It has two modes: Question (asking questions) and Generate (creating content).

Question Mode

Ask questions about the page content. AI response can be used as a parameter.

Generate Mode

Generate dynamic content: random email, name, address, text, etc.

AI Prompt Dialog

Prompt writing and mode selection

Usage Examples

Random Email Generation

Prompt: "Generate a random email address"

Result: test1234@example.com

Random Name Generation

Prompt: "Generate a full name"

Result: John Smith

Page Content Analysis

Prompt: "What is the main product price on this page?"

Result: $299.99

Dynamic Review Generation

Prompt: "Write a positive product review, 2 sentences"

Result: Amazing product, I am very satisfied. I recommend it to everyone.

Frequently Asked Questions

How do I use the AI result?

The AI result is saved as an output parameter. You can use it in subsequent steps with the {{ai_result}} format.

Are AI responses the same every time?

No. The AI model may produce different responses with each run. This is ideal for dynamic test data, but be careful if you need deterministic results.