We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More
This site is now read-only. You can still browse and search as usual. Learn More
I use German keyboard, for me symbol @ = "ALT GR" + "Q".
Method "Keys" prints "@" for me without additional brackets and other characters.
Check whether you use different languages during testing (keyboard and system, as well as application language). Maybe that's the problem.
Hi,
try use twice @@, (in []) mybe working.
if not working, please share your code!
In the following the code lines
let applications = Sys.Process("explorer").Window("Shell_TrayWnd").Window("ReBarWindow32").Window("MSTaskSwWClass", "Running applications");
applications.Window("MSTaskListWClass", "Running applications").Click();
let formXterm = Sys.Process("MobaXterm").VCLObject("FormXterm");
let panSessions = formXterm.VCLObject("PanGauche").VCLObject("sPanel13").VCLObject("PCGauche").VCLObject("sTabSessions").VCLObject("PanSessions");
panSessions.VCLObject("TreeSessions").DblClickItem("|User sessions|192.168.10.10 (admin)");
Delay(10000)
formXterm.VCLObject("sPanel1").Window("TListBox").Keys("ssh admin[@@]192.168.10.11[Enter]");
The problem is the last line. I tried the single @ and double @ (without [ ] ) but they don't work.
This probably isn't very helpful, but we use Moba Personal Edition V12.4 Build 4248 and the following does work for us
Aliases.MobaXterm.FormXterm.sPanel1.Window("TListBox").Keys("ssh [email protected][Enter]")
FWIW, we recorded the keyword test and then converted it to a script. That probably doesn't matter but I thought I'd mention it.
Also, we have added Moba as a TestComplete TestedApp.
Good Luck,
Larry