Hi petra,
if it's a timeout issue and you're waiting for an object to appear, you'll need to implement this function (that is in SmartBear's sample files)
function WaitAliasChildFunction(object: AliasObj; Name: string, time: integer):Boolean;
var AliasObj;
begin
// Specifies the Alias object
AliasObj := object;
// Checks whether the Font window has appeared within 10 seconds
if (AliasObj.WaitAliasChild(Name, time).Exists) then
begin
Result:= true;
Log.Message('Element found : ' + Name)
end else
begin
Result:= False;
Log.Message('Elément not found : ' + Name);
end;
end;
----------------------
if you want to use this short script you write :
if (WaitAliasChildFunction(Aliases.Kasse.ArtBei, 'DBText12', 15000)) then
... etc
----------------------
in this script, you could put everything as a child. and you won't need to wait for 15 seconds (in this example) : when the DB will be in memory, the counter will stop and it will do the "then" block