05 November 2017

Get lowest value from an Array using UFT

 a = array(54,4,2,5,4,58,5,8,7,9)

For i = 1 To ubound(a)
    If a(i) < a(0Then
        a(0) =a(i)
    End If
Next

msgbox a(0' 2

No comments:

Post a Comment

AOM - Automation Object Model

'Creating QuicTest Object Set  qtapp =  createobject ( "QuickTest.Application" ) 'Launching the Application If  qtapp...