Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How 2 split array n compare from a winlist ?
#1
Solved: 11 Years, 4 Months ago
Hi everybody

Can anybody plz. suggest me the solution for this problem....
iam new to QTP ...
my Scenario like this:
Iam getting a winlist in which i have a set of data that once selected goes to some textboxes..
eg: data is -- "Neha belongs to Mumbai"
and it goes to textbox having labels
Name : Neha
Status: Belongs
Place: Mumbai

Now i need to compare these two datas wether they are same or not ?
So can you please answer my query..
Reply
#2
Solved: 11 Years, 4 Months ago
You can use Split Function to split that string.

Syntax:

Code:
arr = Split ("Neha belongs to Mumbai", " ")
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Split function in string nidhishnair 13 64,505 07-07-2020, 03:47 PM
Last Post: helmzshelmz
Question Split Function Chaithra N 0 1,160 12-18-2019, 11:33 AM
Last Post: Chaithra N
  Split a string with multiple delimiters in VBScript nandha 2 8,564 02-10-2018, 06:44 PM
Last Post: nandha
  WinList Behavior marse91782 0 2,933 11-24-2016, 06:32 AM
Last Post: marse91782
  Compare WebTable Elements saraiado 1 2,553 06-11-2015, 06:54 PM
Last Post: venkatesh9032

Forum Jump:


Users browsing this thread: 1 Guest(s)