Which expression yields the current timestamp in Tosca?

Prepare for the Tricentis Tosca Automation Specialist Level 1 (AS1) Test. Enhance your skills with multiple choice questions and explanations. Be exam ready!

Multiple Choice

Which expression yields the current timestamp in Tosca?

Explanation:
In Tosca, to capture the moment right now you use the DATETIME expression. This placeholder returns both the current date and the current time, giving a full timestamp. The other expressions return only parts: {DATE} gives just the date, and {TIME} gives just the time. Since you need the full current timestamp, {DATETIME} is the correct choice, and it will reflect the exact moment the test runs (format may vary by system).

In Tosca, to capture the moment right now you use the DATETIME expression. This placeholder returns both the current date and the current time, giving a full timestamp. The other expressions return only parts: {DATE} gives just the date, and {TIME} gives just the time. Since you need the full current timestamp, {DATETIME} is the correct choice, and it will reflect the exact moment the test runs (format may vary by system).

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy