I am using the Sendkey method to test one of our application. The method works fine when I run the script from QTP. But if I run the script from Quality Center, the method deosn't work. Here is the function I am using to send keys in WebEdit...
Set obj = Browser(xx).Page(xx).WebEdit(xx)
Sub Sendkeys(obj )
Dim wshShell
Set wshShell = CreateObject("Wscript.Shell")
wshShell.SendKeys "A"
End Sub

The application is in focus mode and also cursor is in textbox while running the script from QC. So I don't what might be the other reasons that I need to consider. I also search the forum before posting but I don't find the answer. Anybody has any idea? thanks