# Now let us check again, if the invisible file is seen.
if(check_screen("nautilus_hidden_file_shown")){
$hidden_b=1;
}
# Compare the results. They should differ from each other.
if($hidden_a==$hidden_b){
die("The ctrl-h keyboard shortcut should have changed the status of invisible files, but the status has not been changed which indicates that the shortcut might not have worked correctly.");
# Check the current status of the invisible files.
if(check_screen("nautilus_hidden_file_shown")){
$hidden_b=1;
}
else{
$hidden_b=0;
}
# Compare the results. They should be the same if everything up til now has worked correctly.
if($hidden_a!=$hidden_b){
die("The menu item 'Show hidden files' should have changed the status of the invisible files, but the status has not changed which indicates that the menu item might not have worked correctly.");