AI Capabilities
Read more
Arrow
2. Best Practices for Using TestVista
2. Best Practices for Using TestVista

Best Practices for Using TestVista

TestVista is a powerful tool for generating and managing test cases efficiently. To ensure you get the most out of it, following best practices can make a significant difference in the quality and usability of your test cases. Here’s a comprehensive guide to help you succeed with TestVista:

1. Upload Well-Prepared Requirement Files

The quality of test cases depends on the input files you provide. Follow these guidelines to optimize file preparation:

  • File Types: Use Word documents for the best results, followed by images and Excel spreadsheets.
  • Language Consistency: Ensure all content is written in a single language, preferably English, for accurate processing.
  • Logical Organization: Structure files with clear headings and sections to make it easy for the AI to interpret requirements

2. Use Structured Formats for Requirements

Structured requirement formats help TestVista generate higher-quality test cases. Examples include:

  • Behavior-Driven Development (BDD): Use the "Given...When...Then" format to define preconditions, actions, and expected outcomes.
    • Example: "Given the user is on the login page, when they enter valid credentials, then they should be redirected to the dashboard."
  • Feature-Function-Requirement (FFR): Clearly outline the feature, its function, and specific requirements.
    • Example: "Feature: User Login, Function: Authenticate users, Requirement: Password must include at least one special character."
  • Use Case Structure: Define title, actors, preconditions, steps, and postconditions.
    • Example: "Title: Password Reset, Actors: User, System, Preconditions: User is on the password reset page."

3. Optimize File Size

Uploading manageable file sizes improves AI performance. Here are a few tips:

  • Single Focus: For screens with over 50 components, upload files focusing only on that screen.
  • Combining Features: If the screen has fewer than 50 components, combine it with related functionality to create a cohesive requirement file.
  • Avoid Overloading: Extremely lengthy documents may overwhelm the AI and generate redundant test cases.

4. Provide Clear Context

Ambiguity in requirements can lead to inaccurate test cases. To avoid this:

  • Use concise and precise language.
  • Avoid vague statements like "may" or "possibly." Instead, use definitive language.
  • Include detailed descriptions and examples where necessary.

5. Review and Proofread Documents

Errors or inconsistencies in the uploaded file can affect the quality of test cases. Before uploading:

  • Check for typos and grammatical errors.
  • Ensure all sections are complete and logically connected.
  • Use sample data or mock examples to provide additional clarity.

6. Start Small and Test Iteratively

When using TestVista for the first time or testing new requirements:

  • Begin with smaller, modular documents to validate the AI's performance.
  • Gradually expand to larger or more complex requirements after confirming the results.