Forum Discussion

seafalcon's avatar
seafalcon
Contributor
15 years ago

Does TestComplete support DevExpress Lookupedit control?

I am doing the evaluation of TestComplete for our regression testing. Currently I got stuck to make TC recognize the cell values in a gridControl.



We use DexExpress controls in our .Net win form application.



We use 



    this.gridControl.MainView=this.gridView;



    We also implement textEdit and some other controls on gridView.

All cells contain lookupedit controls remain unrecognized when I use table checkpoint (or property checkpoint). TC can only partly recognized the some cells' value.



I use 



    value1=View["GetRowCellValue"](row, state);

    value2=View["GetRowCellValue"](row, state)["Text"];    

    Log["Message"](value1);

    Log["Message"](value2);

try to debug the test script, when th cell is a textedit object, the cell's value would be printed into log. But lookupedit cell  is still unable to print out the cell's value in log.



Does TC support DevExpress lookupedit control?



Could you give me a list of supported DevExpress controls' name?



Thanks


12 Replies

  • The solution posted by Stephen worked for me..



    I looked on the Smartbear site which showed a different solution and it's possible that maybe it's out of date ..



    http://support.smartbear.com/viewarticle/8979/?_ga=1.225894938.1688264216.1395431163



    As this line fails due to GetValue

    var item = data.GetValue(i)[columnCaption].OleValue()



    This leads me to my next issue, with the above line failing does anyone have a suggestion on how i can obtain the values in the lookUp to do a list comparions.



    We seem to be use version: 11.1.11.0





    Thanks all