(09-20-2008, 01:57 AM)swat2008 Wrote: 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
Hello Members,
I am also facing the similar kind of issues with another application.
I hope there might be someone in the group who can help us upon dealing with these issues.
Any help is highly appreciated.
Kind regards,
Aty

