How to set checkboxes in grid
♥ 0 |
Using VBScript I want to be able to set a checkbox in a row of a grid. I have existing code that works when there is only one checkbox in the row. The new code will be dealing with a grid that has two check boxes (each in its own colum) in each row. I steps through and captured the steps to perform the action manually. Listed below are the steps I can’t get to work. SwfWindow("SITU CU – CUBE Setup |").SwfWindow("Select Qualifying/Disqualifyin").SwfTable("savingsCheckingQualifyingUltra").ActivateRow "33" Here is the Function that works for a grid with one checkbox per row. strInputValue has Row:1 (the row nnumber in the grid that I want to set the checkbox in. strObjectName contains the name of the grid. "Select" is the name of the checkbox. As I stated this one works: ‘************************************************************** Function TableCheckBoxSelect(strInputValue, strObjectName) Dim MyTest End Function Here is my attempt at the grid with two checkboxes per row. I have code not shown that get me to the correct window. But once on the window nothing happens and QTP times out and ends. ‘**************************************************************************************** Function TableQualifyingCheckBoxSelect(strInputValue, strObjectName) End Function
Marked as spam
|