Programmatically check for the following Scenarios: