TruClient Web - IF Block example needed


I'm not too savvy with TruClient yet, and what I am needing is an IF ELSE statement. I see the IF Block in the toolbox, and dragged it into my script - and that's as far as I've got!

What I need to do is:

IF 'perfTest' field IS VISIBLE


GoTo STEP [Populate 'perfTest']


SELECT 'Add Task' btn

If that makes sense! Essentially, sometimes a user will reach a page where a field to enter data already displays, in which case the data is just entered; otherwise the field isn't displayed and the user has to click an 'add' button to get it to display before proceeding to populate it.

Thanks in advance!