Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to select the number from the web element?
#1
Solved: 11 Years, 3 Months, 4 Weeks ago
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




Attached Files
.doc   resultpage.doc (Size: 521 KB / Downloads: 102)
Reply


Messages In This Thread
How to select the number from the web element? - by Uma - 07-08-2011, 10:21 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Web Object Unique ID Number zunebuggy 0 1,556 07-10-2017, 05:37 PM
Last Post: zunebuggy
  Page element keep changing chong67 4 4,620 11-08-2016, 09:17 PM
Last Post: Paul Rammone
  Choosing element from array marvson 1 1,900 06-29-2016, 02:55 PM
Last Post: Ankesh
  Web Element: Not able to select value from drop down in Web Element. Rajeev 4 5,292 08-04-2015, 06:03 PM
Last Post: kbhargava505
  VB Script to count number of links in a web page. Suma Parimal 4 25,257 07-01-2015, 12:59 PM
Last Post: govind

Forum Jump:


Users browsing this thread: 1 Guest(s)