I’m using QTP 126.96.36.199 Build 2610 with a customer’s framework. The UBound function does not work, I get ‘Type mismatch: UBound’. The specific line of code is: "nResult = ubound(aArray)"
I’ve verified that aArray is a single-dimension array when passed to ubound. The word ‘ubound’ does not appear in the framework in any context other than returning the highest index of an array (it’s not dimmed or been made the name of a function). My current thought is that the list of functions that QTP is pulling from has been corrupted. I’ve repaired QTP but not reinstalled it, I wanted to reach out for help before reinstalling. Any help towards a solution would be appreciated.
Marked as spam
Question ID: 104435