Common Issues and Resolution in a Test Complete Framework

Modified on Thu, 02 May 2024 at 11:51 AM

Import statement not generating in algoQA-generated TestComplete Python scripts

Issue: While using algoQA to generate test scripts using TestComplete Framework with Python, import statement is not generating. TestComplete was not including 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. Now, the import statements are included in the generated code, ensuring that the test scripts can be executed successfully.


Missing  Logs in View Logs screen 

Issue: Unable to view the logs when the modifications were done in Edit Scenario Form.

Resolution: A fix has been implemented in the backend code to address this issue. Now, View Log screen displays the following: When you add a new scenario, modify or add test steps or modify the existing scenario.


Refactoring Project-Specific Code in Python TestComplete Script

Issue: In certain areas of the Python TestComplete script, there are instances of project-specific code. This presence of project-specific implementations might 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.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article