Forum Discussion
qtrolazyg
12 years agoContributor
Thanks Tanya. I made the changes that you suggested, with a slight modification, and it still does not find the object. I also tried increasing the wait time.
if (Aliases.Caselle.ClarityConsole.MdiClient.ApplicationControlHost.WaitAliasChild("BankView", 50000).Exists)
bankLookup = Aliases.Caselle.ClarityConsole.MdiClient.ApplicationControlHost.BankView.navigationLookup.lookupValueTextBox;
else
Log.Error("Bank View was not found");
I don't know if this has an impact, but the application runs from a single .exe and this link uses a dynamic call to launch the other view.
thanks for your help
if (Aliases.Caselle.ClarityConsole.MdiClient.ApplicationControlHost.WaitAliasChild("BankView", 50000).Exists)
bankLookup = Aliases.Caselle.ClarityConsole.MdiClient.ApplicationControlHost.BankView.navigationLookup.lookupValueTextBox;
else
Log.Error("Bank View was not found");
I don't know if this has an impact, but the application runs from a single .exe and this link uses a dynamic call to launch the other view.
thanks for your help