cancel
Showing results for 
Search instead for 
Did you mean: 

Delphi + TMS DBAdvSearchEdit

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  Smiley Happy

2 REPLIES 2
Contributor

Re: Delphi + TMS DBAdvSearchEdit

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/
Highlighted
New Contributor

Re: Delphi + TMS DBAdvSearchEdit

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

 

Kiitos paljon

New Here?
Join us and watch the welcome video:
Watch the new interview
Top Kudoed Authors