04-21-2026, 03:51 AM
This is the script:
And I got this error:
I got success with mysqlsh and automated press of enter, so not sure why the next string after pressing enter got an error.
C# code:
var w = wnd.find(1, "*(mysql)").Activate();
keys.send(@"mysqlsh");
wait.s(1); //wait 1 seconds
// press enter
keys.send(@"Enter");
wait.s(5); //wait 5 seconds
// check ClusterSet Status
keys.send(@"var clusterset = dba.getClusterSet()");
wait.s(1); //wait 5 seconds
keys.send(@"clusterset.status()");
wait.s(1); //wait 5 secondsAnd I got this error:
C# code:
System.ArgumentException: Error in keys string: var clusterset = dba.get■ClusterSet■()
at line 23 in {removed).cs
>>
--- Raw stack trace ---
at Au.keys.AddKeys(String keys_)
at Au.keys.Add(KKeysEtc[] keysEtc)
at Au.keys.send(KKeysEtc[] keysEtc)
at Program.<Main>$(String[] args) in (removed):line 23I got success with mysqlsh and automated press of enter, so not sure why the next string after pressing enter got an error.
