| || |
Click link within Flex AdvancedDataGrid
I have a web application that contains an embedded Flex AdvancedDataGrid. I have SilkTest recognizing the grid, and getting row values, as well as selecting a row. The grid contains links in various cells that I want to click, which lead to other pages for further verifications.
In recording declarations, and pointing at the various cells in the grid, they are appearing as FlexLabels that use Flex renderers.
I have not been successful in getting SilkTest to click a link via typical methods/work arounds.
I am wondering if any work in the Flex code would help, such as adding automationName to the renderers, columns, etc, or if we should head down the path of trying the custom Flex objects support as described in SilkTest's online Flex help.
Re: Click link within Flex AdvancedDataGrid
OK, I found a fairly simple solution.
In our case, the values in the various cells were appearing as FlexLabels. I was able to get various properties of the FlexLabels, one of which is htmlText. This htmlText string contained an HREF value. I was able to simply call a LoadPage with the URL from the HREF value.