Forum Discussion

  • Hello,



    I managed to find a solution here:

    http://support.smartbear.com/viewarticle/24752/

    But there is small error in your code:


    for (var j = 0; i < listView.wItemCount; i++)

    It should be:


    for (var j = 0; j < listView.wItemCount; j++)


    After this i used a .FocusItem call to the j item that was desired and then a .DblClickItem with the same j value.

     


    Thanks anyway for the help

  • To click the value "2001-02-23" in the first column:



    To click the value "OTP..." in the second column:



    To click in the center of a row:



    For a description of parameters, see the description of the DblClickItem method.
  • Hello

    Thank you for the reply.



    I tried your solution but got the following error:

    Wrong number of arguments or invalid property assignment

    the code looks something like this:


    listViewObj.DblClickItem("col1_row_val", "c2_r_v", "c3_r_v", "c4_r_v");





    I also tried the following:

    var propArray = new Array("col1_row_val","c2_r_v","c3_r_v","c4_r_v");

    ...Window("SysListView32", "", 1).DblClickItem(propArray);

    and got the following error:

    The list view item "col1_row_val,c2_r_v,c3_r_v,c4_r_v" not found



    What am I not doing right? The function description page says nothing about this.



    Thank you

  • Glad you found the solution that worked for you!



    Thanks for pointing out the typos, we've fixed them up.