Ask a Question

Delphi + TMS DBAdvSearchEdit

Luigi
New Contributor

Delphi + TMS DBAdvSearchEdit

Hi,

 

In my Delphi application I make use of the TMS TDBAdvSearchEdit component. When I try to replay a keyword test I don't get the result as expected. The AdvSearchEdit component is basicaly an edit with some kind of dropdown list with suggestions in it. When you start typing, matching suggestions show up and when you click enter the selected suggestion becomes the text in the edit.

The problem I experience is that when the test is played the chars are inserted in the DBAdvSearchEdit directly and the suggestion list never shows.

 

How can I make this work?

 

p.s. I am newbie with TestComplete  🙂

2 REPLIES 2
mikakoistinen
Contributor

Hi,

(TMS components, good choice Man Happy )

I think that you are setting text property directly, not using keys method. You might try

DbAdvSearchEdit1.Keys('Volvo[Enter]');

 

 

Jeemly - Dream Big
https://jeemly.com/
Luigi
New Contributor

The problem is solved! I accidently didn't filled the list with values  Man Embarassed

 

Kiitos paljon

cancel
Showing results for 
Search instead for 
Did you mean: