Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need a logic in array - QTP
#5
Not Solved
Code:
'make sure A & B having the same number of elements
Dim arrA,arrB,arrsubB
Dim val
arrA = Split(A,";")
arrB = Split(B,";")
For i = 0 to Ubound (arrA) Step 1
    arrsubB = Split(arrB(i),",")
    For j = 0 to UBound(arrsubB) Step 1
        val = arrsubB(j)
        'Do with each of your value, example: x,y,z
    Next
Next
Reply


Messages In This Thread
Need a logic in array - QTP - by surestud - 05-06-2015, 09:33 PM
RE: Need a logic in array - QTP - by GSAT - 06-24-2015, 09:18 PM
RE: Need a logic in array - QTP - by kbhargava505 - 07-31-2015, 12:56 PM
RE: Need a logic in array - QTP - by sporandla - 07-31-2015, 05:37 PM
RE: Need a logic in array - QTP - by cuongtv - 08-20-2015, 02:47 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  VB Script logic Suma Parimal 3 2,772 03-24-2014, 12:56 AM
Last Post: supputuri
  How to convert a single dimension array to two dimensional array venkatesh9032 3 5,514 02-10-2014, 03:07 PM
Last Post: pranikgarg
  Adding array to another Global array in VB Script test911 1 3,165 12-02-2012, 12:40 PM
Last Post: parminderdhiman84
  Logic to add numbers in caliculator using descriptive programming, srinivassure 1 3,102 02-08-2011, 03:33 AM
Last Post: Ankur
  Re: Iteration Code Logic Help needed sratna 3 3,632 11-09-2009, 07:08 AM
Last Post: venkatbatchu

Forum Jump:


Users browsing this thread: 3 Guest(s)