mika_turpeinen_1
11 years agoNew Contributor
How to add "[Enter] (Fail error for case is Window is invisible)
I am giving Excel file as an input for data-driven test. Excel file is very simple, only 1 column with 3 rows to keep test simple.
The value(s) ordnrr (as order number) is read in but I am not able to make an [Enter] after the value is in. This causes ofcourse that the order never jumps to the next one.
Test case error is :Error is Windows is invisible)
ORIGINAL KEYWORD TEST
Edit Keys "U38158[Enter]" Enters 'U38158[Enter]' in the 'Edit' object.
# as far as I have learned the [Enter] does a keyborad command "press enter"
DATA-LOOP
Edit Keys Variables.Var1("tilnro") Enters KeywordTests.Test2.Variables.Var1("ordnr") in the 'Edit' object
# Here I can see that the [Enter] as "simulate press enter from keyborad "is missing.
I tried to add an extra Edit Keys "[Enter]" step but it does not help.
- (I would had been too easy like that I guess :-)
Thanks in advance
Mika Turpeinen
The value(s) ordnrr (as order number) is read in but I am not able to make an [Enter] after the value is in. This causes ofcourse that the order never jumps to the next one.
Test case error is :Error is Windows is invisible)
ORIGINAL KEYWORD TEST
Edit Keys "U38158[Enter]" Enters 'U38158[Enter]' in the 'Edit' object.
# as far as I have learned the [Enter] does a keyborad command "press enter"
DATA-LOOP
Edit Keys Variables.Var1("tilnro") Enters KeywordTests.Test2.Variables.Var1("ordnr") in the 'Edit' object
# Here I can see that the [Enter] as "simulate press enter from keyborad "is missing.
I tried to add an extra Edit Keys "[Enter]" step but it does not help.
- (I would had been too easy like that I guess :-)
Thanks in advance
Mika Turpeinen