Since there is no similar method as ListFind, ListMerge, ListInsert in QTP, I have list of items in two sets how do I compare if the elements of one are in another? Can somone please help?
See if it is feasible using arrays
I have list in array for instance Benchmark items lsItems = Array("A", "B", "c") and lsContent = "A", "B", "C"
How do I compare them. Thanks,
Create two loops and check each value in isItems against IsContent. i.e. if isItems(i) = isContent(j)then match found.
IsContentArray = split(IsContent, ",")
Then build a vbs function to compare arrays. I think there are functions in "Donate user defined functions" thread to compare arrays
Thanks for your help!
I am not very familiar with VB and I did not find one under Donate user defined functions thread. Does anyone have a function written in VB to compare arrays or any link ? Thanks,
Thank you so much!
One more post [img]/images/graemlins/wink.gif[/img] http://www.sqaforums.com/showflat.php?Ca...true#Post502320
i have never seen bugs sleeping