Welcome, Guest. Please login or register.
Login with username, password and session length

 
Advanced search

18488 Posts in 4838 Topics- by 32654 Members - Latest Member: revitvm
 

AdvancedQTP forums have been nominated as a finalist in ATI’s 2nd annual automation honors awards!

We’d like to thank you for your continued support and participation, and urge you to hurry and vote.

Make you voice count! 


Pages: [1]   Go Down
Print
0 Members and 1 Guest are viewing this topic.
Author Topic: ActiveX - Synchronization error    (Read 622 times)
majesh kumar
User
*
Offline Offline

Posts: 4


« on: January 27, 2010, 07:20:54 PM »

Hi,
I am relatively new to QTP. I was trying to use QTP on a VB/ActiveX application and when i run the script, i get the following error :-

"Automation Error - An outgoing call cannot be made since the application is dispatching an input-synchronous call"

my code :
VbWindow("mdiMONETEMR").ActiveX("SSListBar").Click 40,218
VbWindow("mdiMONETEMR").VbWindow("frmProblems").VbEdit("txtCommonName").Set "a"
VbWindow("mdiMONETEMR").VbWindow("frmProblems").ActiveX("ActiveX").AcxTable("True OLE DBGrid 6  Control").ActivateCell 1,3
VbWindow("mdiMONETEMR").VbWindow("frmProblems").VbComboBox("cmbProblemCertainty").Select "Definite"
VbWindow("mdiMONETEMR").VbWindow("frmProblems").VbButton("ThunderRT6CommandButton").Click

The bold line above is where the error is

basically , its a text control with a grid just below it(just like a dropdown). When i type 'a' in the textbox, it lists all values starting with 'a'. When we select an item , it puts the text back on the first textbox.

Thanks for your time,
majesh
Logged
majesh kumar
User
*
Offline Offline

Posts: 4


« Reply #1 on: February 01, 2010, 10:42:24 PM »


putting 'Type' instead of 'Set' works
Logged
Pages: [1]   Go Up
Print
Jump to: