ClickWebGridCell

Top  Previous  Next

×V5.0Ø

S

A

W

WS

ü

Syntax -

ClickWebGridCell <Element Identifier> <SearchCriteria> <Column>

       Where:

               <Element Identifier> is a valid web grid identifier in Soarian Financials.

               <SearchCriteria> is a pipe delimited, literal string containing search values for a grid row or a number/variable containing a numeric value that represents a grid row

               <Column> is a number or a variable containing a numeric value.

               

Description:

This command simulates a mouse click on a grid cell in Soarian Financials. These grid rows have to be visible to be clicked. ClickWebGridCell will search the grid based on the <SearchCriteria>. The <SearchCriteria> is a pipe delimited string that determines the desired row or a numeric value. For the pipe delimited string, there can be multiple values in the <SearchCriteria>. Wildcard (*) searching is supported in the <SearchCriteria>.Each pipe separates a cell within the row. If the row is found and is not visible in the grid view, the command will scroll to make it visible and then click on the desired <Column>. If the row is not found, an error message will be returned.

 

Soarian SmartUI: Yes

Chrome: No

 

Sample 1:

       The following statement finds the row with the values '94%' in column 1 and 'xxx-xx-5666' in column 9, scrolls if necessary to make it visible and clicks on the 1st cell in that row.

ClickWebGridCell "Dialog=Soarian:wellFrame:DivSection,id=ctlResultLocatorGrid,INDEX=1" "94%||||||||xxx-xx-5666" 1

 

Sample 2:

       The following statement finds the row with the value '62397297' in column 5, scrolls if necessary to make it visible and clicks on the 13th cell in that row.

ClickWebGridCell "Browser=*Soarian*:sframeInner->wellFrame->tabWell*:DivSection,id=ctlWorklist_Grid,INDEX=1" "||||62397297" 13

 

Sample 3:

       The following code iterates over a list of rows in a grid and clicks on column 1 in each of row.

GetWebGrid Charges "Browser=*Soarian*:sframeInner->wellFrame->tabWell*:DivSection,id=ctlWorklist_Grid,INDEX=1"

GetListCount NumRows Charges

For Row = 1 to NumRows

ClickWebGridCell "Browser=*Soarian*:sframeInner->wellFrame->tabWell*:DivSection,id=ctlWorklist_Grid,INDEX=1" Row 1

Next Row

 

See Also:

GetWebGrid

EnableSoarianSmartUI