Hi All,
We are using SilkTest 21.0. we are facing issues like Click(), Select() and Close() event takes too much of time ( 10 to 15 minutes ) to go to next statement. The actions performed first, but it is taking too much of time to go to next line. but some time
below exceptions happens sometime and after this issue automation not working.
Error Msg : Error executing 'Click'. Communication timeout between agent and application.
Exception: Error executing 'Select'. Communication timeout between agent and application.
Exception: Could not find object '/FormsWindow[@caption='Alarm Notification']'. Source: SilkTest.Ntf Target: SilkTest.Ntf.Message SendMessage(SilkTest.Ntf.Message, Int32)
We are not sure why it waits for this long in line number 5 for Select() and also there is no Sleep statement. It is not going to next line
_desktop.FormsWindow("SLATE (ENGINEER)").FormsWindow("formsW_PgmDUTBlock").SetActive()
Threading.Thread.Sleep(500)
Dim unloadButtonLoc = _desktop.FormsWindow("SLATE (ENGINEER)").PushToolItem("pushTI_PDB_unloadAllToolStripButton")
If (tstProgramUnload = True And unloadButtonLoc.GetProperty("Enabled") = True) Then
_desktop.FormsWindow("SLATE (ENGINEER)").PushToolItem("pushTI_PDB_unloadAllToolStripButton").Select()
End If
Dim confirmSavePrg As Boolean = _desktop.Exists("/FormsWindow[@caption='Confirmation']")
If confirmSavePrg Then
With _desktop.FormsWindow("Confirmation")
.PushButton("@automationId='m_btnNo'").Select()
Threading.Thread.Sleep(200)
End With
End If
Can someone help me to solve this exception?
Note:
SilkTestServer is another system, we connecting the server by using cisco vpn for license validation.
we have not faced this kind of issues, when the silktest server system and automation tester system connected in same network without using cisco.
These exception occurs when server and tester system in different network. I'm not sure whether this cisco connection is related to the above exception.