Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Copying random length part of the string.
#2
Solved: 11 Years, 3 Months, 4 Weeks ago
This can be very easily you can handle:

1.Get the text using GetROProeprty method (Ex. webElement.getroproperty("innertext")) and assign it to a variable.
2.Then split the value of variable using Split function (ex. value = Split(text, ,-1)
3.Then exactvalue = CInt(Ubound(value))
You will get final part of the digit.
Reply


Messages In This Thread
RE: Copying random length part of the string. - by cashgiga - 12-29-2009, 02:29 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  VB Script - random string qtp_user22 5 26,945 06-19-2014, 04:54 PM
Last Post: roysam404
  How to extract part of a string between two particular characters. ACCBAJPA 7 5,757 08-22-2013, 02:39 PM
Last Post: ACCBAJPA
Exclamation Retrieve the complete height and width of a browser beyond the visible part as wel learnQtptips 0 2,114 05-22-2013, 09:36 AM
Last Post: learnQtptips
  how to get mantissa and decimal part Ishul 3 4,109 03-28-2012, 10:40 PM
Last Post: Surya
  How to have a variable that has a string comma string .. shareq1310 5 5,079 11-09-2011, 03:33 PM
Last Post: parminderdhiman84

Forum Jump:


Users browsing this thread: 2 Guest(s)