| || |
tbl_set_cell_data is not setting cells correctly.
Having problems with the use of tbl_set_cell_data. Seems like grids that have combinations of date controls and dropdowns give unexpected results.
Here is my problem: One of the columns is a drop down. I use tbl_set_cell_data to set the value to one of the dropdown entries ( a name in characters). But when performing tbl_get_cell_data on that column, instead of the value I would expect, I get the number 287, not the character string.
Any advice or similar situations. I tried a work-around of obj_type and found that this is not behaving consistently. Wierd grid.
Could it be some of the VB processing such as events like "lose focus" firing and messing up winrunner?
Re: tbl_set_cell_data is not setting cells correctly.
For a quick solution use the following:
after tbl_set_selected_cell, use type("Data") command to input the data.