JNugent
13 years agoOccasional Contributor
WaitWPFObject doesn't seem to work even though object can be identified.
Hi,
I can't seem to get the WaitWPFObject functionality working.
If I use the .Exists on the onject then this works correctly but the WaitWPFObject doesn't.
The object alias is:
I can't seem to get the WaitWPFObject functionality working.
If I use the .Exists on the onject then this works correctly but the WaitWPFObject doesn't.
The object alias is:
cash.adminForm.VariableDefinitionForm.ResultSetForm.pnlMain.pnlResultSetEditor.resultSetEditor1.resultSetNameAndLocationEditor1.txtNewName
When i do the following this works:
Set resultSetName = cash.adminForm.VariableDefinitionForm.ResultSetForm.pnlMain.pnlResultSetEditor.resultSetEditor1.resultSetNameAndLocationEditor1.txtNewName
If resultSetName.Exists
...do something.
However when I try to use the Wait I can't seem to get it recognising the object:
If (cash.adminForm.VariableDefinitionForm.ResultSetForm.pnlMain.pnlResultSetEditor.resultSetEditor1.resultSetNameAndLocationEditor1.WaitWPFObject("txtNewName", 5000).Exists) Then
Can someone point out what I am doing wrong?
Thanks in advance!