Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Split action in QTP
#5
Solved: 11 Years, 4 Months ago
you can not add more than one data table to an action, but you can add sheets into data table, In your case adding another column for group member will help.
although I am not able to figure out where you are adding group members to a group. I can suggest you that create one more column (say Member) Now you can run a loop for adding the group and the members.

or if adding members is a seperate step then you can get rows which is for one group and add them

see the code below , let me know if it helps you.
Code:
Set oSheet = DataTable.GetSheet(dtLocalSheet)
EndRow = oSheet.GetRowCount

   For RowId = 1 To EndRow
        oSheet.SetCurrentRow(RowId)
...Your Statements...
    Next

Reply


Messages In This Thread
Split action in QTP - by sp0020295 - 09-29-2009, 06:20 PM
RE: Split action in QTP - by sp0020295 - 09-30-2009, 09:43 AM
RE: Split action in QTP - by Saket - 09-30-2009, 10:17 AM
RE: Split action in QTP - by sp0020295 - 09-30-2009, 10:42 AM
RE: Split action in QTP - by Saket - 09-30-2009, 11:14 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Split function in string nidhishnair 13 64,605 07-07-2020, 03:47 PM
Last Post: helmzshelmz
Question Split Function Chaithra N 0 1,170 12-18-2019, 11:33 AM
Last Post: Chaithra N
  Split a string with multiple delimiters in VBScript nandha 2 8,589 02-10-2018, 06:44 PM
Last Post: nandha
  Split Function diya 2 5,763 11-28-2012, 08:49 PM
Last Post: diya
Question Deatils on Split action with Nested type sams001 0 3,367 10-30-2012, 03:03 PM
Last Post: sams001

Forum Jump:


Users browsing this thread: 3 Guest(s)