David91
8 years agoFrequent Contributor
Keys method run other part test
Hi, this is incredible, but i have in test Keys method on object editText .. editText.Keys(param).. but i started test Keys method run dialog, which is in the script after it .. :O How is it possible?
The paste text then clicks the button and should jump after clicking the dialog, but the dialog pop up when you type using keys with variable TEXT. When I replace the TEXT in a string, it's OK and the dialog is displayed only when the button is pressed!
What am I doing wrong :(
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();
}
}
}