SAP Knowledge Base Article - Preview

3836713 - SAP Logon test fails after reopening GUI in the same Tosca session with error "Index was out of range. Must be non-negative"

Symptom

  • SAP Logon test step fails with error: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
  • The failure occurs after closing and reopening the SAP GUI within the same Tosca session.
  • After the first occurrence, all subsequent SAP Logon attempts fail until Tosca is restarted.


Read more...

Environment

  • Tricentis Tosca testing environment.
  • SAP GUI used within Tosca test execution.
  • SAP GUI closed and reopened within the same Tosca session.

Product

SAP Enterprise Continuous Testing by Tricentis all versions

Keywords

authentication failure, login attempt, exception message, collection bounds error, relaunch scenario, session continuity, interface reopen, test case stability, repeatable issue, restart required, bug fix, maintenance patch, upgrade recommendation, user session, automation runtime , KBA , XX-PART-TRI-ECT , SAP Enterprise Continuous Testing by Tricentis , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.