Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[UFT] Get Item of ListBox and convert it to array
#1
Solved: 8 Years, 5 Months, 3 Weeks ago
Hi,
I have this code:
Code:
listDataItems = SwfWindow("myApp").SwfList("listBoxExt1").GetContent()
                
listDataItemsReplace = replace(listDataItems22, vbCrLf, ",")
dataItemArray = Split(listDataItemsReplace , ",")

I would replace new line char in listDataItems with comma char.

Why my code not work?

I've tried with vbCrLf, vbNewLine, but nothing.

Help?

Thanks.
Reply


Messages In This Thread
[UFT] Get Item of ListBox and convert it to array - by felino - 11-25-2015, 10:53 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Cannot identify the specified item Beginner 0 2,343 06-22-2017, 04:55 PM
Last Post: Beginner
  [UFT] SwfObject as Toolbar: select item without coordinates felino 0 3,149 11-27-2015, 03:09 PM
Last Post: felino
  WinListView set item command Shahino007 0 2,540 10-06-2015, 03:57 PM
Last Post: Shahino007
  Objects are being recognized as "Windows for Menu item list (Browser-firefox, UFT 12) akhandesh 0 2,376 05-27-2015, 06:29 PM
Last Post: akhandesh
  How to convert a single dimension array to two dimensional array venkatesh9032 3 5,236 02-10-2014, 03:07 PM
Last Post: pranikgarg

Forum Jump:


Users browsing this thread: 1 Guest(s)