Forum Discussion

sushilsahu's avatar
sushilsahu
Occasional Contributor
14 years ago

BringIntoView doesn't work for Xceed.Wpf.DataGrid.DataGridControl

Hi



I am using testcomplete 8.0, working on WPF controls



Problem:

While working on Xceed.Wpf.DataGrid.DataGridControl, not able to click on a row or a data cell NOT VISIBLE(you need to scroll down to get the object visible).

Note:The datacell object to be clicked is EXIST



Tried:

>BringIntoView method on datacell object, doesn't work. Exm: objDataCell.BringIntoView

>BringItemIntoView method on datagrid object, doesn't work. Exm: objDataGrid.BringItemIntoView(objDataCell)

>objDataCell.Set_Focusable = True, doesn't bring obj into focus

>DoAutoScoll, doesn't work



Please advice ASAP



Thanks

Sushil

 

4 Replies

  • Anonymous's avatar
    Anonymous

    Hi Sushil,



    Please explain what exactly doesn't work (the method is executed, but you don't see the results of its execution, you get an error when executing the method, etc.). Also, check whether TestComplete recognizes your tested application as Open.
  • sushilsahu's avatar
    sushilsahu
    Occasional Contributor
    BringIntoView method dosen't bring object into view hence not able to click on that object.



    Method doesn't throw any error .



    Yes TestComplete can identify the application object.



    Bottom line: TestComplete is not able to click on data cell of grid which is not visible.