You are creating an
ASP.NET application for ACMEs human resources (HR) department.
Users in the HR department will use the application to process new employees.
The application
automates several activities that include creating a network login account, creating an e-mail
account, registering for insurance
benefits, and other activities.
During integration testing of your application, you need to verify that the individual activities
run successfully
and in the proper order.
Each page in your application includes the following elements in the Page directive:
Debug=True
Trace=True
You want
each page to provide execution information in the Web browser immediately after
the pages normal display output. You need to add instrumentation to
the code in your pages to
accomplish this goal.
Which statement should you use?
Trace..::.Write Method
Writes information about the trace to the trace listeners in the Listeners collection.