An enhancement to a Social Media application allows for the creation of new Groups. Any number of existing application members can be added to a Group. An attempt to add a non-existent member of the application to a Group will result in an error, as will an attempt to add the same member twice.
Members can be removed from an existing Group. An existing Group can be deleted but only if there are no current members attached to it.
Which one of the following Keyword-driven input tables provides the BEST test coverage of this
enhancement?
Table 1
Keyword Group Id Member Id
Create.Group Group3
Add_Member Group3 @Member1
Result
Group created
Member added to Group
Member added to Group
Error – Group not empty
Member removed from group
Member removed from group
Group deleted
A . Table 4
B . Table 3
C . Table 1
D . Table 2
Answer: B
Explanation:
Table 3 provides the best test coverage for the described scenario, as it includes various key test conditions:
Attempting to add a non-existent member, resulting in an error.
Trying to add a member twice to the same group, leading to an error for duplicate entry.
Removing a member from the group.
Attempting to delete a group that is not empty, which correctly results in an error, and finally deleting a group when it is empty.
This table most comprehensively covers the functionalities and error handling specified in the enhancement details, effectively testing all scenarios including normal and exceptional behavior.
Latest CTAL-TTA Dumps Valid Version with 65 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund