Skip to Content
avatar image
Former Member

How to use array concept in CBTA?

I have 10 rows in my data table.

I'm able to get the 10 rows of data for each column like Col1,Col2,Col3 and Col4 and storing into different variables like Var1,Var2,Var3 and var4.

I'm exporting this data because i want to use that data in other transaction.

Issue:

I have created composite test script, in that first script we are having the data and i'm trying to get that data in second script.

I'm able to use the last row of the data only in the second script because those variables had last stored value only.

How can i get the 10 rows of data from first script to second script?

How can we apply array concept in CBTA?

Please help me on this.....

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 14, 2017 at 04:33 AM

    Hi ,

    You can actually "JOIN" them in the first script and map it to a variable in the second script. Then in the second script you can "SPLIT" it and use it accordingly.

    Thanks

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      I am getting an output like below

      for the 1st row of data output is Status1=10

      for the 2nd row of data output is status2=11

      for the 3rd row of data output is status3=12

      for the 4th row of data output is status4=13

      you are telling that join them, here i have a problem.

      How can i join those and split accordingly?

      Could you please elaborate with one example with screen shots, it would be greatly appreciated and helpful for me.