07-08-2011, 10:21 PM
Hi,
I am using OutputCheckPoint for 2 webelements Bed:4 and Bath:2 Full,1 partial in my result page and I am storing the value in the data table.
I dont need the string Bed:4,I would like to get only the no 4.
How can I get it?
Even though I highlight only 4,It is seleting the full value "bed 4".
Same thing happend for second webelement Bath:2 Full,1 partial
I need only the No 2.
I used the following to split
MyArray = Split(UIBathResult, " ", -1, 1)
But it is giving the value
My Array(0)=Bath:2full,1Partial
I need the only the nos for further comparision.Any help?
I attached my testing page which has the web element bed and bath.
Thanks
Uma
I am using OutputCheckPoint for 2 webelements Bed:4 and Bath:2 Full,1 partial in my result page and I am storing the value in the data table.
I dont need the string Bed:4,I would like to get only the no 4.
How can I get it?
Even though I highlight only 4,It is seleting the full value "bed 4".
Same thing happend for second webelement Bath:2 Full,1 partial
I need only the No 2.
I used the following to split
MyArray = Split(UIBathResult, " ", -1, 1)
But it is giving the value
My Array(0)=Bath:2full,1Partial
I need the only the nos for further comparision.Any help?
I attached my testing page which has the web element bed and bath.
Thanks
Uma