09-09-2009, 02:24 PM
I have one combobox ,having values like value1,value2...this is displaying at UI,i want to validate this values with my Expected values(Testdata).My code is like
watever values in the combobox all values dispaly in the window.
Now i want to compare these values with my testdata values.These test data values in the textfile like val1,val2 ,val3 like
How can i compare and report my results.Pls give me the code
Code:
val=window("").wincombobox("").getitemscount
for i=0 to val-1
d=window("").wincombobox("").getitem(i)
s=s+d+vbnewline
print s
watever values in the combobox all values dispaly in the window.
Now i want to compare these values with my testdata values.These test data values in the textfile like val1,val2 ,val3 like
How can i compare and report my results.Pls give me the code