Hi All, Looking for FitNesse code to select the intended Record Type

Hi All,

Looking for FitNesse code to select the intended Record Type from the list of record types in Records dashboard.
There may be more than one record type with same name or a record type name may contain the name of other record type
and FitNesse always selects the first record type having/containing the name RECORD_TYPE_NAME in
| click on record type | RECORD_TYPE_NAME |

Any help would be appreciated.

Thanks and Regards

OriginalPostID-214450

OriginalPostID-214450

  Discussion posts and replies are publicly visible

Parents
  • I did some test cases and found a solution for your scenario. It is not mentioned in the FitnesseForAppianCheatSheet but it works.
    Suppose you have 3 record types named as "Orders" and you want to click on the 2nd Orders then you need to mention the record type as Orders[2]. Treat multiple occurences as array and give the particular index and it works.

    Please execute the following command.
    | click on record type| Orders[2] |

    Hope this information is useful.
Reply
  • I did some test cases and found a solution for your scenario. It is not mentioned in the FitnesseForAppianCheatSheet but it works.
    Suppose you have 3 record types named as "Orders" and you want to click on the 2nd Orders then you need to mention the record type as Orders[2]. Treat multiple occurences as array and give the particular index and it works.

    Please execute the following command.
    | click on record type| Orders[2] |

    Hope this information is useful.
Children
No Data