Forum Discussion

JohnLind's avatar
14 years ago

Values disappearing from valuelist

Hi



I am trying to execute a keywordtest, that I have recorded. It fails all the time, with the same error, but on different fields. Each time, the problem is that TestComplete cannot find the value.

The error happens most often when there are many values (over 20) in a list, but I have also seen it fail when there was only 2 values to choose from.





A typical case:

In this field, the test tries to select the value '01: 01.', and fails with this message:



Total number of items: 29.

Items: 'None', 'None', '02: 02.', '03: 03.', '04:
04.', '05: 05.', '06: 06.', '07: 07.', '08: 08.', '09: 09.', '10: 10.',
...



Aliases.javaw.KonfigurationsnumreDialog.RootPane.null_layeredPane.Panel.Main382AConfigurationPanel.ConfigPanel.Configuration2Panel.Sk_ringsdag_GG_

(Sys.Process("javaw").SwingObject("BOSDialog",
"Kamstrup 382 B/C/D - Test Energi 11/04/10", -1, 1).SwingObject("JRootPane", "",
0).SwingObject("null.layeredPane").SwingObject("JPanel", "",
1).SwingObject("Main382AConfigurationPanel", "", 0).SwingObject("ConfigPanel",
"", 0).SwingObject("Configuration2Panel", "Konfigurationsnummer 2
(FFF-GG-HH-I)", 0).SwingObject("Skæringsdag (GG)"))





The list of value values should have been:

Items: 'None', '01: 01.', '02: 02.', '03: 03.', '04: 04.', '05: 05.', '06: 06.', '07: 07.', '08: 08.', '09: 09.', '10: 10.', ...



The '01: 01.' value was in the field when the test case was recorded, and when manually checking the application, the value is in the selection list, so the problem is not that the '01: 01.' value is invalid. The conclusion must be that TestComplete fails to get the list of values correct, and thus fails the test.

I have attached a screenshot that shows that the value is in the list.



Any suggestions to what is wrong here and what I can do to fix it?



Greetings John Lind

  • Hello John,





    We have replied to you by mail. Let's continue working on the problem by mail.