Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP with ThunderRT6UserControlDC
#1
Not Solved
I am unable to perform a click operation in one of my applications under test.
It is a winObject whose, nativeclass, objectclass and regexpwndclass is "ThunderRT6UserControlDC”

I am unable to get any other properties of this object. using some descriptive programming, I was able to view the visible text of the object ( “getvisibletext”). This is as far as I was able to get.

When I tried to click on the object .. I get "general Run Error"

When I tried to click using co-ordinates I got an Invalid function call.

Does anyone have experience working with this kind of control.
Any help you can offer is much appreciated.

I have attached the QTP code
Code:
Browser("Browser").Page("Lending Portal 4.1").Sync
Set AllObjects = Browser("Browser").Page("Lending Portal 4.1").Frame("iPContentPane").ActiveX("PPAX2.PPMain").WinObject("ThunderRT6UserControlDC")
oDesc("micclass").Value = "winObject"                    ' objType can be webedit, weblist, image or radio button, link
oDesc("nativeclass").Value = "ThunderRT6UserControlDC"
oDesc("objectclass").Value = "ThunderRT6UserControlDC"
oDesc("regexpwndclass ").Value = "ThunderRT6UserControlDC"

set oChilds = AllObjects.ChildObjects(oDesc)
Msgbox oChilds.Count
strText = oChilds.item(0).getvisibletext

oChilds.item(0).Click 1486, 153,micLeftBtn   ‘( this doesn’t work )
Browser("Browser").Page("Lending Portal 4.1").Frame("iPContentPane").ActiveX("PPAX2.PPMain").WinObject("ThunderRT6UserControlDC").Click 1486, 153,micLeftBtn ‘ ( doesn’t work either )


Thanks
Swat


Attached Files
.doc   QTP-ThunderRT6UserControl.doc (Size: 26.5 KB / Downloads: 106)
Reply


Messages In This Thread
QTP with ThunderRT6UserControlDC - by swat2008 - 09-20-2008, 01:57 AM
RE: QTP with ThunderRT6UserControlDC - by atysri - 06-20-2016, 08:58 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)