Bitrix Site Manager

CTestAttempt

The CTestAttempt class is used to handle attempts.
Method Description
GetList Returns a selection of filtered attempts.
GetByID Returns an attempt by its ID.
Add Adds a new attempt.
Update Modifies the parameters of an attempt.
Delete Deletes an attempt
GetCount Returns the number of attempts.
AttemptFinished Moves an attempt to the Complete status and recounts the score.
IsTestCompleted Checks whether a test is completed.
CreateAttemptQuestions Creates a plan of questions for the specified attempt.