Structure of structured prompts · Question 52 of 60

"You are a test automation engineer. Write Playwright tests. Here is the page's HTML. Use only data-testid selectors. Output a TypeScript file." Which component is missing?

1 answer is correct. Hard Created with AI

Show answer

Answer

  • D The context, such as which function is being tested

Explanation

Role, instruction, input data (HTML), constraint (selectors) and output format (TypeScript file) are present. What is missing is the business purpose and what is to be tested.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications