0
Harry1999 Posted 13 years ago
Grammar

on clicking vs clicking

Which of these sentence is correct?

On clicking the OK button, the warning dialog gets closed.

OR

Clicking the OK button, the warning dialog gets closed.

I am wondering second option is correct.
  

Top answer

harry1999 Which of these sentence is correct? Neither, I am afraid. On clicking the ' OK' button, the warning dialog closes.

  • harry1999 Which of these sentence is correct?
  • Neither, I am afraid.
  • On clicking the ' OK' button, the warning dialog closes.
Free · every Monday

Get the Weekly English Kit 📬

New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.

14 Answers
0
harry1999Which of these sentence is correct?
Neither, I am afraid.

On clicking the 'OK' button, the warning dialog closes.
0
No, I think gets closed also works here. Closed is an adjective.

What do you say?
0
harry1999What do you say?
I say 'No'. That is not the way to write the instruction.
0
I was writing test cases. In IT industry, this document provides steps to be executed, expected result, actual result, etc. It's like if you do something, it shows/does something that is expected.

So, the expected result in this context is, "the dialog gets closed" - when?"Clicking the 'OK' button. If one has to verify this case written in the document.

Final sentence:

V
0
If you're speaking of a test case where you're verifying that a certain action occurs as a result of another action, you might try wording the sentence as follows:

"Upon clicking the OK button, the warning dialog shall close." -- you could use "will" instead of "shall" if this is a stated requirement, but "shall" works if closing the warning is the result the person is to verify as actua
0
'Shall' in the 3rd person still does not work there, KJin. You might like to read the Am Heritage Dictionarry's note:

Usage Note:

The traditional rules for using shall and will prescribe a highly complicated pattern of use in which the meanings of the forms change according to the person of the subject. In the first person, shall is used to indicate
0
Mister MicawberThe use of will in the first person and of shall in the second and third may express determination, promise, obligation, or permission, depending on the context.
Actually that is precisely how I am using shall. The statement is an IT use case. It other words it is a requirement of the the programming that the dialog warning closes after the OK
0
KJinCali79The use of will in the first person and of shall in the second and third may express determination, promise, obligation, or permission
No, that use in whatever definition expresses willpower, human willpower or decision. The original instruction is merely mechanical result. (I don't even see any 'requirement'—it is a simple statement of what happens
0
Would you consider "Click the OK button to close the warning dialog box"?
0
KJinCali79"Upon clicking the OK button, the warning dialog shall close."
I'm one of those older speakers of British English who still use 'shall', but it seems very odd to me in that sentence.

Related Questions