Hi,

It has been sometime since Dmitry has responded to queries. Other experts
in this group please respond.

-- 
Regards,
Moderator

On Wed, Dec 5, 2012 at 2:59 PM, elgauchocordobe <[email protected]>wrote:

> Dmitry, tried both ways, it did not work.
>
> txt = Window("nativeclass :=tooltips_ class32").GetROProperty( "text")
>
> returns an error saying Windows is an invalid object. the object that
> brings up the tooltip is SwfWindow("CSI - Capacity
> Planning").SwfTable("processGrid") so my code goes something like this
>
> If procViewer.getcelldata(0,6)="0" Then
>     SwfWindow("CSI - Capacity Planning").SwfTable("processGrid").mouseMove
> 5,5
>     ' Capture the text of the tooltip object
>     txt = Window("nativeclass :=tooltips_ class32").GetROProperty( "text")
>     'Reporter.ReportEvent micpass, "Step 1: check Define Statbase task
> error: the AUT showed an error: " & txt, "End"
>     msgbox txt
>     msgbox SwfWindow("CSI - Capacity
> Planning").SwfTable("processGrid").GetROProperty("error provider text")
> Else
>     Reporter.ReportEvent micFail, "Step 1: check Define Statbase task
> error: The AUT did not show any errors", "End"
> End If
>
> Object spy only returned a new reference to SwfWindow("CSI - Capacity
> Planning").SwfTable("processGrid") but with a new number.
>
> Any ideas?
>
> --
> You received this message because you are subscribed to the Google
> "QTP - HP Quick Test Professional - Automated Software Testing"
> group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/MercuryQTP?hl=en
>

-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

Reply via email to