| || |
Scenario wrt to whenever
I am struck in the below said scenario wrt to whenever.
I have the code for whenever in my driver script. Whenever event might occur in one of the scripts called within the driver script.
As of now – event is coming up in one of the scripts- but it is not executing the code in script_whenever of driver script.
Driverscript has the following code
Run”script3” ‘ actually whenever event may or may not occur in script1,script2, script3, when the event occurs – it is executing the code in script_whenever.
Private Sub Script_Whenever(ByVal TheEvent As TPEvents.TEventGroup)
Select Case TheEvent.Name
' Put code here to handle the error prior to returning to the script
JavaWindow("Check spelling JavaWindow").Attach
Do While JavaWindow("Check spelling JavaWindow", tpAttachNoWait).Exists
MsgBox "Unknown Event " & TheEvent.Name
How to go about, let me know.