Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to retrieve value of a text output?
#3
Not Solved
Hi, and thanks
Yes I could get the value from the table but I wanted to avoid doing this.
OK, I'll go into why:

My test team run say 1000 cases and then find that maybe 10% of them have no values. It seems values are calculated but they don't make it into the grid. So I've had to write routines that check they've been written, and if not, do it again.
So you see, I can't get the value from the grid as that is what I'm testing, whether it's there or not.
Here's my sub:

Code:
Sub WriteResult(objWebEdit, objCheckPoint, ColName)
    checkValue = objWebEdit.GetROProperty("value")
    Do
        objWebEdit.Output objCheckPoint
        Wait 0,100
    Loop Until DataTable(ColName,dtGlobalSheet) = checkValue
End Sub

On the 'text region' outputs I can only check for the table value being > vbnullstring.
Is there really no way to get the value in code? It seems bizarre!
Cheers
Reply


Messages In This Thread
RE: How to retrieve value of a text output? - by paulwesterman - 01-14-2011, 05:56 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  table output values shipu 1 2,259 01-24-2014, 10:06 AM
Last Post: supputuri
  QTP Automation: How to retrieve Reporter.Reportevent Message scsenthil 1 5,272 11-14-2013, 07:51 PM
Last Post: spannerj
  How to retrieve ArrayList saved in Environment Variable Gautam26 8 4,508 11-07-2013, 08:26 PM
Last Post: ssvali
  Read text from text file and save it into a variable in qtp arpan 3 12,149 06-19-2013, 08:34 PM
Last Post: arpan
Exclamation Retrieve the complete height and width of a browser beyond the visible part as wel learnQtptips 0 2,020 05-22-2013, 09:36 AM
Last Post: learnQtptips

Forum Jump:


Users browsing this thread: 1 Guest(s)