Forum Discussion

sugumars's avatar
sugumars
New Contributor
11 years ago

Automate Farpoint spread control using Testcomplete for desktop application

Hi,





We have a desktop application where we need to play arround farpoint spread [Farpoint Spread (v8 with 13.1+) for VB6] using testcomplete



The problem is we can get the row and column count of the farpoint spread, but we couldnt able to identify the kind of object residing inside the spread control. there are checkboxes and listboxes present in the spread (a kind sof grid)



Did anyone faced this issue and if it so will you please guide us with valuable solution/suggestions



Thanks in advance



Regards

Sugumar

2 Replies

  • sugumars's avatar
    sugumars
    New Contributor
    Some more insights



    Please refer the attached farpoint_spread

    The object spy displayed as below



    “Aliases.aSa_SOPrint.frm_aSaSOPrint.tab_Report.fra_Sort.grd_Sort”



    with respect to the pic2, the below code is shown when spied



    “NameMapping.Sys.Process("arztl001").VBObject("frmaSaSelectBOLs").VBObject("frmGrdBols").VBObject("grdBOLs")”



    Thanks,

    Sugumar Shan




  • Hi Sugumar,


     


    There should be the control's methods or properties that allow getting access to internal checkboxes. Try exploring the control's objects in TestComplete's Object Browser. Please note that depending on TestComplete settings you may not see all available properties of objects. Thus, make sure that you are using the Advanced View mode, and showing hidden properties is activated as it's described in the "Basic and Advanced View Modes" article.