Forum Discussion

basanth2717's avatar
basanth2717
New Contributor
13 years ago

Unable to double click on a cell - DevExpress.XtraGrid

Hello,

            I am trying to double click on an Devexpress XtraGrid. When TestComplete records the application it generates the below code, but when executed it throws an Error(Attached error).




Sub Test1


  Dim gridControl


  Set gridControl = Sys.Process("Scb.Sabre.Desktop.Framework.ComponentHost4").WPFObject("HwndSource: MainWindow", "COMMODITIES SIP SYSTEM [TEST2_Test_Env] MIDDLE OFFICE").WinFormsObject("WinFormsAdapter", "").WinFormsObject("GridControl", "", 2)


  Call gridControl.ClickCell(27, "DealNo")


End Sub



 I tried several other methods like ClickCellXY etc..but they errored out too. I am able to access the grid but testcomplete does not identify the child rows.



I am using TestComplete Version 9.10



Grid Details:



ClrClassName : GridControl

ClrFullClassName : DevExpress.XtraGrid.GridControl

Product Name: DevExpress.XtraGrid

Product Version : 13.1.7.0



 

2 Replies


  • Hi Basanth,


     


    Could you please check whether the error appears in the latest TestComplete version - v. 9.31? 


    If it does, I suggest that you contact our TestComplete Support team to investigate this behavior. Please provide them with the following debug information:


     


    1. Run the Report Generator tool located in <TestComplete>\Bin\ReportGenerator.exe.


     


    2. Select the "Launch/attach to TestComplete" option.


     


    3. Run the test execution to reproduce the problem.


     


    4. Click the "Generate..." button in the Report Generator tool and save the report to a local folder.


     


    5. Send the report to the Support Team.


     

  • Thank you Tanya for your response. I will update once we have tried this on 9.31 build.