Hi,
Scenario : I have an UltraGrid whch displays rows on a Search criteria. On firing a Search Criteria, I want to operate the specific cells in specified rows of the grid. But when I try to get the RowCount of the Grid displayed on a particular search criteria, its giving a count in thousands. when the grid shows only 5 rows retreived.
SwfWindow("SmartBox by Chevron -").SwfTable("UgrdBrowseItems").RowCount
Help me out with solution.
thnks in advance.
Anand
vmgx,
I provided details on how to set the value of a cell by visible index when the grid is filtered in another thread in the TestAdvantage forum:
http://community.infragistics.com/forums/p/26843/144527.aspx#144527
You should be able to use a similar approach to check the checkboxes when using QTP for testing.
Alan
Do you mean you need to watch values? "Check the checkbox" means making it checked (true) or see if it is checked?
If I understood you right, then grid.Rows.GetFilteredInNonGroupByRows()[index] will give you the row at a specific filtered in row index.
Activate the cell: grid.ActiveCell = row.Cells["xys"];
Check the cell value: (bool)cell.Value == true;
But u have understood the scenario can u suggest me with anything
Thanks
Sorry, but I'm not familiar with that.
Hi Amiram, Basically i am a Automation tester.No idea about that. both VB & C# are used for different screens