51Testing软件测试论坛

标题: 高手进来帮忙 [打印本页]

作者: www.super.zc    时间: 2005-9-15 11:07
标题: 高手进来帮忙
win_activate ("营业员营收报表(新版)");
        set_window ("营业员营收报表(新版)", 1);
        tbl_set_selected_cell ("dw_list", "#1", "ld_count1");
        tbl_set_selected_cell ("dw_list", "#1", "ld_charge1");
        tbl_set_selected_cell ("dw_list", "#1", "ld_charge3");
        tbl_set_selected_cell ("dw_list", "#1", "ld_balance1");
        tbl_set_selected_cell ("dw_list", "#1", "ld_balance3");
        tbl_set_selected_cell ("dw_list", "#1", "ld_charge13");
        tbl_set_selected_cell ("dw_list", "#1", "ld_balance13");
        scroll_line ("dw_list", VSCROLL, 1);  # 5%;
        scroll_line ("dw_list", VSCROLL, 1);  # 17%;
        scroll_line ("dw_list", VSCROLL, 1);  # 22%;
        scroll_line ("dw_list", VSCROLL, 1);  # 28%;
        tbl_set_selected_cell ("dw_list", "#1", "ld_charge22");
        tbl_set_selected_cell ("dw_list", "#1", "ld_balance22");
        tbl_set_selected_cell ("dw_list", "#1", "ld_charge25");
        tbl_set_selected_cell ("dw_list", "#1", "ld_derate25");
系统是用pb开发,在一个数据表格中,有一个报表存在,当点击滚动条后,也就是scroll_line 该函数运行后,tbl_set_selected_cell "dw_list", "#1", "ld_charge22");这个语句就不能运行,显示 Error: Cell Not found,请问有谁知道该如何解决这类问题?不胜感激!




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2