Data-Driven Testing Issues

Issue Summary:


Issues occurring due to inaccuracy in test data or the way it is used in test case. The issues could be Invalid arguments, keywords, incorrect data in keywords, invalid data, etc. 

Issue Description:

These issues can arise due to incorrect data in Global (GDR) or Local Data Repository (LDR). They may also arise due to mapping of incorrect data to test step.


Solution:


  • If using file-based data sources (e.g., CSV, Excel), ensure that data is imported in correct format. Verify that the files contain accurate data before importing to Opkey.

  • Ensure that each data field in your data repository is correctly mapped to the corresponding fields in your test step. Verify that the field names and data types match between the data source and the test step. 

    For example, some Oracle test cases only take BI Admin user role data to access the instance during test execution. If you execute the test case with any other user credential, then the test case will fail. 

  • Debug any issues by examining the logs and identifying where the data mismatch or error occurs.
  • Ensure that you have mapped correct data if using any test data source like ADG, Global Variable, or GDR. 


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