Documentation Index
Fetch the complete documentation index at: https://docs.testfactors.com/llms.txt
Use this file to discover all available pages before exploring further.
Test scripts are the ‘how to actually do it’ layer. Test cases say what to test; test scripts say click here, type this, verify that.
What this module does
A test script is a numbered playbook a human tester (or an automation tool) follows to execute one test case. Each step says:- What to do (“Open the Hire Wizard from the People dropdown”)
- What to enter (“Use the test data shown below”)
- What to verify (“Confirm the wizard advances to Step 2 of 5”)
- The test case’s steps and expected results as the skeleton
- The test case’s test data as concrete values
- Your project’s script templates for consistent tone and format
- Any automation hints (selectors, URLs, API calls) configured for the SF module
Who uses this module
| Role | Generate | Edit | Customize templates |
|---|---|---|---|
| Test Manager | Yes | Yes | Yes |
| Test Coordinator | Yes | Yes | No |
| Tester | Yes (regenerate own) | Yes | No |
| Developer | Yes | Yes (with annotation) | No |
| Viewer | No | No | No |
Before you start
You need:- Approved (Active) test cases. See Test Cases.
- (Optional) A script template if your organization uses one. Project Managers can configure templates per SF module. If none is configured, TestFactors uses a sensible default.
Step-by-step: generate a test script
Open the test case
From the Test Cases tab, click an Active test case. The detail panel includes a Scripts tab.

Click Generate Script
The Scripts tab has a + Generate Script button. Click it.A side panel opens with options:
- Template — pick the project’s template or “Default”
- Audience — Manual tester or Automation framework
- Detail level — Concise (~3–5 lines per step) or Verbose (full prose)

Generate
Click Generate. The AI drafts the script in ~10–20 seconds. You’ll see it appear step-by-step in real time (streaming).

Review and edit
Once complete, the script enters Draft state. Each step has:
- Action — what to do (with the right level of detail)
- Data — exact values to enter
- Expected result — what should happen
- Annotation slot — for tester notes during execution

You have a runnable script. Run it during the next test cycle — see Test Execution.
Customizing script templates (Project Managers)
If your team has specific conventions for how scripts should be written (tone, step numbering, screenshot requirements, etc.), set up a template once and every future script follows it.Create or edit a template
Click + New template or pick an existing one to edit.Fields:
- Name — “EC Production Cutover”, “Sandbox Smoke Test”, etc.
- SF Module — scope the template to a specific module, or “All modules”
- Pre-amble — text that appears at the top of every script (e.g. “Run this in the QA sandbox only.”)
- Step format — choose from presets or define your own with placeholders like
{action},{data},{expected} - Post-amble — text at the end (e.g. “Document any defects in Jira project EC-QA.”)

Tips
Generate for one cycle at a time
Don’t generate all scripts at once at project start — your test cases will evolve. Generate scripts when you’re about a week from executing.
Pick the right detail level
Concise for experienced testers who know SF well; Verbose for new hires or contractors.
Regenerate after test case edits
If you edit a test case, the existing script doesn’t auto-update — regenerate. There’s a “regenerate from current test case” button.
Use one template per SF module
Tone and detail level vary by module. EC needs more steps than Recruiting. Set defaults per module.
Add screenshots in execution, not generation
Don’t ask the AI to include “(take screenshot)” — testers add them naturally during execution. Keeps the script clean.
Document gotchas in the template, not each script
“Always disable browser autofill before this section” → put it in the template pre-amble once.
Script states
| State | Meaning | Visible in execution? |
|---|---|---|
| Draft | Just generated, not yet promoted | No |
| Active | Promoted, ready to execute | Yes |
| Archived | Removed from active use | No |
| Rejected | Draft was rejected; reason kept for AI training | No |
Troubleshooting
The script is too verbose / too terse
The script is too verbose / too terse
Regenerate with a different Detail level (Concise vs Verbose). Or edit the project template’s step format to your team’s preferred density.
The test data in the script doesn't match the test case
The test data in the script doesn't match the test case
The script was generated before you edited the test case. Click Regenerate from current test case in the script header.
Steps mention SuccessFactors paths or buttons that don't exist
Steps mention SuccessFactors paths or buttons that don't exist
My team uses a different format for scripts (e.g. ALM, Tricentis)
My team uses a different format for scripts (e.g. ALM, Tricentis)
Set up an export template in project settings → Scripts → Export Formats. TestFactors can render any active script in your tool’s format (CSV columns, XML, ALM-flavored).
Generation failed mid-stream
Generation failed mid-stream
The partial script is saved in Draft. Either:
- Edit the incomplete steps manually
- Click Resume generation to let the AI finish from where it stopped
Related guides
Test Cases
Scripts are generated from test cases — start there.
Test Execution
Run your active scripts during a test cycle.
Defects
Log defects discovered while executing scripts.
Knowledge Wiki
Document SF navigation paths so scripts are accurate.
