Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DIV and span tags
#5
Not Solved
I hope you were able to solve this, in case not here is a snippet to get percentage -

Code:
Set oPercentage = Description.Create
oPercentage("micclass").value = "WebElement"
oPercentage("class").value = "percentage"

Set oAllPercentageObjects =  Browser("Browser").Page("Page").ChildObjects(oPercentage)

'msgbox oAllPercentageObjects.Count

For r = 0 To oAllPercentageObjects.count - 1
msgbox oAllPercentageObjects(r).GetROProperty("innerhtml")    
Next
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply


Messages In This Thread
DIV and span tags - by techvas - 06-11-2013, 08:11 PM
RE: DIV and span tags - by techvas - 06-11-2013, 10:52 PM
RE: DIV and span tags - by Ankur - 06-12-2013, 02:06 AM
RE: DIV and span tags - by techvas - 06-12-2013, 02:21 AM
RE: DIV and span tags - by Ankur - 06-21-2013, 02:27 PM
RE: DIV and span tags - by benjwal - 06-20-2015, 04:51 PM
RE: DIV and span tags - by supputuri - 06-24-2015, 12:59 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Identifying a WebGrid using Div Tag - Solved EnthusiasticLearner 2 3,903 01-06-2014, 09:27 PM
Last Post: EnthusiasticLearner
  How to identify HTML tables developed with DIV and SPAN tags as 'WEBTABLE'? bell.ramesh 1 4,677 08-20-2012, 11:07 AM
Last Post: Victor~

Forum Jump:


Users browsing this thread: 1 Guest(s)