Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
325
finding or retreiving total premium cell value from the infra grid
posted

Hi,

Below is the code generated for the total premium cell while recording. Can you provide us code to the find and retreive total premium cell value from the infra grid as shown in screenshot.


' Window: WorkstationCoordinator.exe: Policy - USA Manufacturing Company - USA123456-2 - (7/21/2009 - 7/21/2010) - [Property]
' Window: WorkstationCoordinator.exe: Property
GrdProperty_PropPremInfo_PropS().Click(AtList(AtCell( _
                                        AtRow(AtRowHeader(AtList( _
                                        AtLocation("PropertyNestedPremiseInfo!sps_cprembylobidcovgroupformulti"),  _
                                        AtText("$4,000.00")))),  _
                                        AtColumn("Premium"))))


We tried using Data verification point, however it doesn't capture the total premium cell value.

Our target validation is to get the Total Premium value shown in screnn shot.


Thanks & Regards,
Vijay Jadi

Infragistics_TotalPrem.zip
Parents
  • 6729
    Verified Answer
    Offline posted

    Vijay,

    The Premium total is not a cell. it is a Summary Value. YOu can access it by using GetNAProperty as follow:

    MsgBox(

    "Summary Text: " + GrdProperty_PropPremInfo_PropS().GetNAProperty("Rows.SummaryValues[0].SummaryText"))

    MsgBox(

    "Summary Value: " + GrdProperty_PropPremInfo_PropS().GetNAProperty("Rows.SummaryValues[0].Value").ToString())

    You can access Summaries value by Index (as used above) or by keys (you can contact the application developer for Summaries value keys)

    I hope this will work for you. Please Verify this as an answer if it does work.

    Regards,

    Ammar

Reply Children