Troubleshooting guide to Integration Testing issues

Issue: Data Not Fetched by ERP Module


Issue Description:
The test case execution fails to retrieve the necessary data from the ERP module during integration testing.


Solution:

  • Verify that the ERP module's configuration is correct and data connections are properly established.
  • Check if the data required for the test case is available and accessible in the ERP module.
  • Ensure that the data fetching step is correctly placed in the test case workflow, as missing steps can cause data retrieval failure.
  • Review the test case execution logs for any errors that might indicate connectivity or data access issues in the ERP module.
  • You can add an API test method at the starting of the test case to verify if the API is fetching the data correctly from ERP. 


Issue: Incorrect Plugin Name in SetGenericPlugin Keyword (Case Not Matching)


Issue Description:
The test case fails due to an incorrect plugin name, specifically where the case does not match the expected value in the SetGenericPlugin keyword.


Solution:

  • Ensure the plugin name used in the SetGenericPlugin keyword exactly matches the expected case (uppercase/lowercase sensitivity matters).
  • Review the test case and verify the spelling of the plugin name, as even small differences can lead to failure.
  • Check Opkey documentation or the plugin list to ensure you are referencing the correct plugin name in the right case.


Issue: Incorrect Flow of Process


Issue Description:
Reusable components are not added in the correct sequence within test cases, leading to test case failure.


Solution:

  • Review the flow of reusable components and ensure they are arranged in the proper order according to the expected business process flow. Use the Up and Down buttons to adjust their order as needed. 
  • Cross-check the test case design with the ERP workflow to ensure that each component is placed logically and in alignment with the system’s process.
  • Use Opkey's test recorder or flowchart view to visualize and confirm that all components are correctly sequenced.
  • Test with individual reusable components first to verify their correct functionality before placing them into the test case.

    Click here to read the article on Integration testing.

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 at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article