The SQAI Agent page is where you can interact with the main feature of the application: the chatbot. From here, you can start a new chat, continue a previous conversation from the chat history, or generate test cases.
When you open the page, you'll see two main sections: the chat area and the chat history.
Chat Section
Starting a Chat: As soon as you open the SQAI Agent page, you can begin a new chat. The input field is already selected, so you can start typing your message right away.
The SQAI agent page with the input field selected
Prompt Writing Tips: In the chat section, you'll find "Do’s and Don’ts for Writing correct Prompts." These tips are designed to help you craft effective prompts
The “Do’s and Don’ts”
Suggestions: Above the input field, you'll see some suggestions to help you get started. Clicking on any suggestion will automatically send it to the chat and generate a response.
The suggestions
Sending a Prompt: After typing your prompt, send it to see a spinner, indicating that the agent is generating a response. Once ready, the chat will display your prompt (in bold with your initials) and the agent's response (with the SQAI agent icon).
The spinner
An example of a prompt sent by the user
An example of an answer from the SQAI agent
Continuing the Chat: You can continue the conversation by sending new prompts. The agent remembers previous responses, allowing you to ask follow-up questions or request actions like summarizing, creating test cases, or writing code.
Generating Test Cases: You can generate test cases from an answer, which will start a job to add specific test cases to your management tool. More details are available on the Add a new job .
The ‘Generate Test Cases’ button
Copying code: The agent can also generate code. You can quickly copy this code by pressing the copy button in top right
The button to copy the generated code
Writing effective prompts may require some practice. For additional tips, visit: How to Write Effective Prompts for Optimal Output | SQAI Help Center.