rjking
13 years agoNew Contributor
ClickItem versus Keys under Windows XP
We have a Delphi application that we run many hundreds of test on. There is one combobox on one form that has 5 items that we need to select from. The items are Minimum, Minus 1 Std Dev, Average, Plus 1 Std Dev and Maximum.
The test script sets the desired combobox value using a .Keys("xxxxxx") statement.
This script worked fine under Windows 2000. Under Windows XP however, the wrong item is selected in the combobox (eg Minus 1 Std Dev might be selected when Minimum should have been selected) . Now that we have changed the script to do a .ClickItem("xxxxx") all tests work correctly.
Is there a bug in TestExecute 8.5 Keys statement under Windows XP? Has anyone else experienced similar issues?
We will be testing TestExecute under Windows 7 when we get a chance, but TestComplete had no problems using the .Keys statement (or the ClickItem statement) to select the correct combobox item under Windows 7.
(The reason we used .Keys rather than .ClickItem is that we have found .Keys to be faster as it does not cause the combobox to drop down the list of items. However, it is better that it work slower and correctly, than faster but wrongly. See another thread I am about to enter about the speed of XP versus W2K)
We are running Test Complete/Execute 8.50.
The test script sets the desired combobox value using a .Keys("xxxxxx") statement.
This script worked fine under Windows 2000. Under Windows XP however, the wrong item is selected in the combobox (eg Minus 1 Std Dev might be selected when Minimum should have been selected) . Now that we have changed the script to do a .ClickItem("xxxxx") all tests work correctly.
Is there a bug in TestExecute 8.5 Keys statement under Windows XP? Has anyone else experienced similar issues?
We will be testing TestExecute under Windows 7 when we get a chance, but TestComplete had no problems using the .Keys statement (or the ClickItem statement) to select the correct combobox item under Windows 7.
(The reason we used .Keys rather than .ClickItem is that we have found .Keys to be faster as it does not cause the combobox to drop down the list of items. However, it is better that it work slower and correctly, than faster but wrongly. See another thread I am about to enter about the speed of XP versus W2K)
We are running Test Complete/Execute 8.50.