Troubleshoot Common Issues While Executing the ScriptsTest Complete Framework Related Issues

Test Complete Framework Related Issues

Resolve missing import statements, missing logs in the View Logs screen, and project-specific code issues in algoQA-generated TestComplete Python scripts.

Common Issues

Issue 1: Missing Import Statements in Generated Scripts

Issue: While using algoQA to generate test scripts using the TestComplete Framework with Python, import statements are not generated. TestComplete does not include the necessary Python import statements for the libraries or modules required to execute the captured actions in the generated code.

Resolution: A fix has been implemented in the backend code to address this issue. The import statements are now included in the generated code, ensuring that the test scripts can be executed successfully.

Issue 2: Missing Logs in View Logs Screen

Issue: Logs are not visible in the View Logs screen when modifications are made in the Scenario List.

Resolution: A fix has been implemented in the backend code to address this issue. The View Logs screen now displays entries when you add a new scenario, modify or add test steps, or modify an existing scenario.

Issue 3: Project-Specific Code in Python TestComplete Scripts

Issue: In certain areas of the Python TestComplete script, there are instances of project-specific code. The presence of project-specific implementations may impact the script's reusability and maintainability.

Resolution: To address this issue, refactor the affected areas of the Python TestComplete script. Remove project-specific code and replace it with more generic implementations. Ensure that the script adheres to best practices for reusability and maintainability across various projects.