Tosca to Playwright Migration Studio

Ingest legacy Tosca automations, identify intent, and generate Playwright TypeScript tests.

1 UploadWorkspace Ingested
2 ParseTosca Parsed
3 AnalyzeIntent Extracted
4 GenerateCode Generated
5
5 ReviewIn Review
6
6 RunExecute Tests
7
7 ExportMigration Package
Uploaded Artifacts0

0 B stored

Parsed0

0% parser success

Needs Review0

0% awaiting parser review

Failed0

0% rejected by parser

Upload Workspace

Uploaded Files (0)

Loading artifacts...

Total Size: 0 B

AI Intent Analysis

Phase 2 Ready
Requirement Summary

Placeholder until Phase 2 connects AI analysis to parsed artifact output.

User Story

Parsed artifacts are now available through the migration_artifacts persistence layer for AI consumption.

Gherkin Scenario
Scenario: AI intent analysis from parsed artifacts
Given migration artifacts have been uploaded
When Phase 2 sends extracted_json to the AI analyzer
Then the studio will produce requirement summaries
And generate user stories and Gherkin scenarios
Key Steps Identified
NavigateInputClickVerify TextVerify Element

Tosca to Playwright Mapping

Tosca ActionDescriptionPlaywright Mapping
Open UrlNavigate to urlawait page.goto(url)
ClickClick on elementlocator.click()
InputEnter textlocator.fill(text)
Verify TextVerify text presentexpect(locator).toContainText()
Verify ElementVerify element existsawait expect(locator).toBeVisible()
SelectSelect from dropdownlocator.selectOption(value)
WaitWait for elementawait locator.waitFor()
</>

Generated Playwright TypeScript

TS
import { test, expect } from '@playwright/test';

test.describe('Migrated Tosca login suite', () => {
  test('successful user login', async ({ page }) => {
    await page.goto(process.env.QAPLANET_BASE_URL!);

    await page.getByLabel('Username').fill(process.env.QAPLANET_TEST_USER!);
    await page.getByLabel('Password').fill(process.env.QAPLANET_TEST_PASSWORD!);
    await page.getByRole('button', { name: 'Sign in' }).click();

    await expect(page.getByTestId('dashboard')).toBeVisible();
    await expect(page.getByText('Welcome')).toBeVisible();
  });
});

Review & Confidence

86%Confidence Score
Review Checklist3 Items
Locator username not validatedConsider adding locator validation
Medium
Dynamic data detected in 2 stepsReview data handling logic
Medium
Verify text may be too genericConsider using more specific assertion
Low
Overall mapping confidence is highNo action required
Info

Execution Results

Total Executions192
Passed155
Failed27
Skipped10
Pass Rate81.3%
Test CaseStatusDuration
Successful user loginPassed2.3s
Invalid password loginFailed2.1s
Locked out user loginPassed2.6s
Remember me functionPassed1.8s

Export Migration Package

Package assembly remains staged until generated tests, mappings, and execution results are produced.

  • Generated Playwright TypeScript files
  • Test data and configuration
  • Mapping and analysis reports
  • Execution results and evidence
  • Review notes and checklist
Migration PackageWaiting for Phase 2 output