Skip to main content

The SQAI Agent - the conversational interface and generate test cases

Updated yesterday

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 a link to tips.

The “Do’s and Don’ts”

  • 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).

Initial agent showing its thinking process of choosing the right agent

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.

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.

Starting a new chat

To initiate a new conversation with the SQAI agent, you have two options:

  • Click the 'New' Button: Simply click the 'New' button located at the top of the chat history screen to start a fresh chat.

The button to start a new chat

  • Reopen the SQAI Agent Page: Alternatively, you can reopen the SQAI agent page to begin a new conversation.

Chat history

The chat history page provides a comprehensive list of all your previous interactions with the SQAI agent.

From this list, you can:

  • Open an Old Chat: To revisit a previous conversation, locate the desired chat and click on it. The chat will appear in the chat window, displaying all your prompts and the agent's responses. The selected chat will be highlighted in the chat history list.

An example of an active chat from the chat history

  • Rename a Chat: To rename a chat, click on the three dots next to the chat and select 'Rename.' The chat name will become an editable input field where you can enter the new name. Simply click outside the field to save the changes.

The rename button for a specific chat

  • Delete a Chat: To delete a chat, use the same menu by clicking the three dots and selecting 'Delete.' A confirmation pop-up will appear, asking you to confirm the deletion. Upon confirmation, a message will notify you that the chat has been successfully deleted.

The delete button for a specific chat

The pop up to confirm the delete action

Did this answer your question?