Simply.. If i call TEXT as variable, variable is string "0123456", so this function in Keys method run this object: Aliases.MessageBoxDialog.m_panel why?
function Test(TEXT)
{
for (var i=0; i<3; i++)
{
m_txtEdit.Keys(TEXT);
m_button.ClickButton();
if (Aliases.MessageBoxDialog.m_panel.VisibleOnScreen == true)
{
Dlg_Ano();
}
}
}
and if i write TEXT instead "0123456" so all is normal and ok ... this example..:
function Test()
{
for (var i=0; i<3; i++)
{
m_txtEdit.Keys("0123456");
m_button.ClickButton();
if (Aliases.MessageBoxDialog.m_panel.VisibleOnScreen == true)
{
Dlg_Ano();
}
}
}
The problem is Keys method. I commented everything, and it was only with this that I had a pop up dialog Aliases.MessageBoxDialog.m_panel