Name:
List Should Not Contain Duplicates
Source:
Collections <test library>
Arguments:
[ list_ | msg=None ]
Fails if any element in the `list` is found from it more than once.
The default error message lists all the elements that were found from the `list` multiple times, but it can be overridden by giving a custom `msg`. All multiple times found items and their counts are also logged.
This keyword works with all iterables that can be converted to a list. The original iterable is never altered.

场景1:

【RF库Collections测试】List Should Not Contain Duplicates_RF

【RF库Collections测试】List Should Not Contain Duplicates_RF_02

 场景2:

【RF库Collections测试】List Should Not Contain Duplicates_RF_03

【RF库Collections测试】List Should Not Contain Duplicates_RF_04