Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need a logic in array - QTP
#4
Not Solved
Please find the code.
Array A = {1;2;3}
Array B = {x,y,z;a,b;v,f,g,h}

Code:
sFirstArraySpilt = Split(A,";")
sSecondArraySplit = Split(B,";")
For I=0 to UBOUND(sFirstArraySpilt)
sSecondArrayValues = sSecondArraySplit(I)
'Here sSecondArrayValues contains the values separated with commas ex: x,y,z for the first value in Array A
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,781 03-24-2014, 12:56 AM
Last Post: supputuri
  How to convert a single dimension array to two dimensional array venkatesh9032 3 5,539 02-10-2014, 03:07 PM
Last Post: pranikgarg
  Adding array to another Global array in VB Script test911 1 3,174 12-02-2012, 12:40 PM
Last Post: parminderdhiman84
  Logic to add numbers in caliculator using descriptive programming, srinivassure 1 3,106 02-08-2011, 03:33 AM
Last Post: Ankur
  Re: Iteration Code Logic Help needed sratna 3 3,656 11-09-2009, 07:08 AM
Last Post: venkatbatchu

Forum Jump:


Users browsing this thread: 1 Guest(s)