What determines QTP’s built-in functions?

  • Questions
  • What determines QTP's built-in functions?
Question ID: 104435

I’m using QTP 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.

Thank you!

Marked as spam
Posted by (Questions: 2, Answers: 0)
Asked on December 20, 2011 4:41 pm
Answers (1)
Private answer

UBound is not a unique QTP function. UBound is from the core VB engine [http://technet.microsoft.com/en-us/query/95b8f22f][1]

[1]: http://technet.microsoft.com/en-us/query/95b8f22f

Marked as spam
Posted by (Questions: 63, Answers: 1)
Answered on December 22, 2011 9:07 am