Rakesh,
I've not had a chance to take a look at Teleriks WebUI but I know the ArtOfTest WebAII, although very cool, requires a better grasp on programming than most QA personnel have.
For QTP I recommend downloading the IE developer toolbar from Microsoft to help you identify the controls.
http://www.microsoft.com/downloads/details.aspx?familyid=e59c3964-672d-4511-bb3e-2d5e1db91038&displaylang=en
You need to spend some time looking over how they formed their controls and create your objects accordingly. Here is an example of working with their Text Area fields (at least with how they are implemented with our application).
ARCHER_APP = Browser("Browser").Page("Application") 'Reference Global Repository objects
Public Function SetTextArea_5 (FieldId, sIndex, setvalue, flName)
Dim objFrame, objElement, objMain
Set objFrame = Description.Create()
objFrame("html tag").Value = "IFRAME"
objFrame("html id").Value = FieldID & "_contentIframe"
objFrame("index").Value = sIndex
Set objElement = Description.Create()
objElement("html tag").Value = "BODY"
objElement("index").Value = 0
Set objMain = ARCHER_APP.Frame(objFrame).WebElement(objElement)
If objMain.Exist(1) Then
On Error Resume Next
Err.Clear
objMain.Object.setAttribute "innerHTML", setvalue
If Err.Number = 0 Then
SetTextArea = True
Else
fDebug QC_DEBUG, flName, "(SetTextArea) - Unexpected Error setting attribute."
SetTextArea = False
End If
Err.Clear ' Clear the error.
On Error Goto 0 'Turn OFF Manual Error Handling
Set objFrame = NOTHING
Set objElement = NOTHING
End If
End Function
Using the IE Developer Toolbar I was able to locate the fact that the text area control was located within the IFrame and I could identify the IFrame uniquely and therefore easily access other objects within the IFrame...
So the 'FieldID' parameter that would be required to interact with the text area control when provided when replying to contents for this forum you would use: ctl00_PageContent_usercontrols_public_forums_replyforumthread_ascx1_editorReply
Of course this fieldId is a little nicer and more understandable in our environment - at least to me ;)
Index is always zero (I use it as a parameter in case I there is ever a chance I can use it (and this function depracated our pre-telerik control so needed the same parameters.)
Hope this helps. I am having a lot more success with using QTP and Telerik controls. There are occasions however that since most of the interaction gets pretty deep into the html (dom) QTP can sometimes have some performance problems, as the telerik controls are pretty heavy in html and QTP has to cypher through it. Hope this helps!