Live Demo

Interactive Demo

Experience AiScripto's Test Case Validation in Real-time

πŸ“‹ Control Panel
Server Configuration
Select the server endpoint you want to connect to
Checking connection...
πŸ” Debug Info (Open Browser Console for full logs)
Loading...
Select from available test cases on the server
Quick Test Cases:
πŸ“Š Execution Monitor
Job ID: -
Status: queued
Duration: -
Created: -
πŸ“Š Monitoring Execution in Real-time (Latest 6 Events)
βœ… Execution Result
❓ Agent is waiting for your answer
πŸš€

Submit a job to start monitoring execution in real-time

Check server connection and select test case above

πŸ“₯ Downloaded Scripts & Reports

πŸ“š

No scripts available

Run convert job first to generate scripts

📋 Test Cases

0 Test Cases

📄

No test cases loaded

Connect to server and click Refresh

✎ Editor

New Test Case

CREATE
Format: TC-XXX. Leave empty to auto-generate next available ID.
Must contain 'Test Case ID:' line and at least one numbered step (e.g., '1) ...').

πŸ“– AiScripto Demo - Complete User Guide

Welcome to AiScripto Interactive Demo! This guide covers all features and how to use them.

πŸ“‹ Table of Contents

  1. βš™οΈ System Requirements & Setup
  2. πŸš€ Tab 1: Job Runner
  3. ✏️ Tab 2: Test Case Manager
  4. πŸ“₯ Tab 3: Scripts & Reports
  5. πŸ› Troubleshooting

βš™οΈ System Requirements & Setup

Before You Start

  • βœ… Modern web browser (Chrome 90+, Firefox 88+, Safari 14+, Edge 90+)
  • βœ… AiScripto server running and accessible
  • βœ… Network connection to the server (HTTP/HTTPS)
  • βœ… JavaScript enabled in browser

Server Configuration

Location: Control Panel β†’ Server Configuration (top-left)
Default URL: http://localhost:8080
Action: Enter your server URL and press Enter
Status: Green indicator shows connection is successful
πŸ’‘ Tip: The URL is saved in browser storage, so you don't need to re-enter it.

πŸš€ Tab 1: Job Runner

Execute various commands on test cases to perform validation, conversion, and verification tasks.

Available Commands

βœ“ Validate Test Case

Check test case syntax, structure, and compatibility with the system.

β†’ Convert to Playwright Script

Generate TypeScript Playwright scripts from test case. This is the main conversion function.

βœ” Verify Execution

Execute the converted script and generate verification reports (healing, validation, execution).

βš™ Parameterize Test

Extract and parameterize test data for data-driven testing.

How to Submit a Job

  1. Select Command: Choose from dropdown (e.g., "Convert to Playwright Script")
  2. Select Test Case: Pick a test case ID from the dropdown
  3. Optional Parameters: Add notes or parameters if needed
  4. Submit: Click "β–Ά Submit Job" button
  5. Monitor: Watch real-time execution events in the right panel
  6. View Result: Check completion status and result message

Execution Monitor Panel

  • πŸ“Š Job Information: Shows Job ID, Status, Duration, Creation Time
  • πŸ“‹ Event Timeline: Real-time execution events (latest 6 displayed)
  • βœ… Result Box: Final result message after job completion
  • πŸ”„ Polling Status: Shows polling interval (checks every 2 seconds)

✏️ Tab 2: Test Case Manager

Create, edit, and manage test cases directly in the system.

Left Panel: Test Case List

  • Search Bar: Filter test cases by ID or title
  • Refresh Button: Reload the list from server
  • + New Button: Create a new test case
  • Click Item: Select and edit a test case
  • Count Display: Shows total number of test cases

Right Panel: Editor

CREATE Mode: Fields for new test case
  • Test Case ID: Optional (auto-generated if empty)
  • Title: Name of the test case
  • Content: Test steps in specific format

EDIT Mode: Modify existing test case
  • Test Case ID is locked (cannot change)
  • Can update title and content
  • Changes are saved immediately

Content Format Requirements

⚠️ Important: Content must have:
  • One line with "Test Case ID:" (e.g., "Test Case ID: 1")
  • At least one numbered step (e.g., "1) Step description")
  • Each step can have "Action:" and "Expected:" sub-lines

Template Examples

Basic Template:
Test Case ID: 1

1) Step description
   Action: Describe what to do
   Expected: Describe expected result

πŸ“₯ Tab 3: Scripts & Reports

View and download converted scripts and generated reports.

Features

  • πŸ“‹ List All Scripts: Shows all converted test scripts
  • πŸ” Filter by ID: Search for specific test cases
  • πŸ“Š Filter by Report Type: Find tests with specific reports
  • ⬇️ Download Scripts: Get .spec.ts files
  • πŸ“„ View/Download Reports: Healing, Validation, Execution
  • 🎬 Video Support: Download and view videos from execution reports

Three Types of Reports

πŸ‘οΈ Healing Report

Shows how the system fixed issues during execution (JSON format)

πŸ“Š Buttons: [View] [Download]

πŸ‘οΈ Validation Report

Details about test case structure and validation (Markdown format)

πŸ“Š Buttons: [View] [Download]

πŸ‘οΈ Execution Report

Test execution results with videos, step-by-step logs (HTML + Videos)

πŸ“Š Buttons: [View HTML] [Download ZIP+Videos] [Videos List]

Execution Report Video Features

Three Options:
  1. πŸ‘οΈ HTML: View HTML report online (with embedded videos)
  2. 🎬 Videos (N): See video list with metadata and download individual videos
  3. ⬇ ZIP+Videos: Download complete report as ZIP (HTML + all videos)

Workflow

  1. Step 1 - Convert: Go to Job Runner, select "Convert" command, submit
  2. Step 2 - View: Switch to Scripts & Reports tab
  3. Step 3 - Search: Find your test case using filters
  4. Step 4 - Download: Choose how to download (view online or download files)
  5. Step 5 - Use: Use scripts for automation, reports for documentation

πŸ› Troubleshooting

Connection Issues

❌ "Connection Failed: Failed to fetch" message

This error typically appears when the browser cannot communicate with the server. It often indicates a certificate trust issue with HTTPS connections.

πŸ” Debug Information:

If you see in Debug Info: "net::ERR_CERT_AUTHORITY_INVALID"

Problem: Browser doesn't trust your self-signed certificate

βœ… Solution for Self-Signed Certificate Issues:

  1. Open your browser (Chrome, Firefox, Safari, Edge)
  2. Visit the certificate source: https://YOUR_SERVER_URL:8080/api/v1/health
    Example: https://api-gcp-server2025.aiscripto.app:8080/api/v1/health
  3. You'll see "Your connection is not private" warning
  4. Click "Advanced" button
  5. Click "Proceed to [SERVER_ADDRESS]" (or similar button)
  6. Accept the certificate βœ… (browser will remember it)
  7. Return to AiScripto Demo: https://aiscripto.app/demo.html
  8. Enter your server URL again and it should connect successfully βœ…

Other Connection Issues:

  1. Check if server is running and accessible
  2. Verify server URL is correct (e.g., http://localhost:8080 or https://api-gcp-server2025.aiscripto.app:8080)
  3. Make sure you're on same network or can reach the server
  4. Try refreshing the page (F5)
  5. Check browser console (F12) for detailed error messages
  6. Verify firewall/network rules allow access to the server port

Job Submission Issues

❌ Submit button is disabled
  • Make sure server connection is successful (green indicator)
  • Select a test case from the dropdown
  • Ensure you selected a valid command

Test Case Manager Issues

❌ Cannot save test case
  • Make sure title is not empty (for new cases)
  • Check content has "Test Case ID:" line
  • Verify content has at least one numbered step ("1) ...")
  • Check browser console for error details

Scripts & Reports Issues

❌ Scripts list is empty
  • Run convert job first in Job Runner tab
  • Click "Refresh" button to reload the list
  • Check if test case was successfully converted
❌ Video buttons show "?"
  • Wait for the API to load video count
  • Click Refresh to reload the list
  • Check if execution report has been generated

πŸ’‘ Pro Tips

  • βœ… Use "Refresh" buttons frequently to get latest data
  • βœ… Monitor execution events in real-time for long jobs
  • βœ… Download execution reports as ZIP for complete backup
  • βœ… Use filters in Scripts & Reports to find tests quickly
  • βœ… Check browser console (F12) for detailed debug information
  • βœ… Server URL is saved automatically, no need to re-enter
  • βœ… Reports can be opened offline after downloading ZIP

AiScripto Interactive Demo | For more help, check browser console (F12) or contact support

Report

Loading...