rkarger
13 years agoOccasional Contributor
Sending a response through an event handler
The event that I am handling in my current test needs to send a response back to its source. The script that handles the event include a string parameter that had to be updated to send the response back to the source. I am not having any trouble receiving the event in TestComplete but the system that is supposed to receive the response is getting absolutely nothing.
Sub MyEventControl_OnViewportQuery(Sender, nTransactionID, lQueryType, pszwQueryPrompt, ppszwResponse, nUserPassBack)
If lQueryType = 8 Then
ppszwResponse = "Yes"
Log.Message ppszwResponse
End If
End Sub
Does anyone have experience with a similar situation or problem?
Sub MyEventControl_OnViewportQuery(Sender, nTransactionID, lQueryType, pszwQueryPrompt, ppszwResponse, nUserPassBack)
If lQueryType = 8 Then
ppszwResponse = "Yes"
Log.Message ppszwResponse
End If
End Sub
Does anyone have experience with a similar situation or problem?