I was being tested for a driving licence for the third time.

问题描述:

I was being tested for a driving licence for the third time.
请问for a driving licence充当什么成分
for the third time充当什么成分?
知其然知其所以然,语法的目的是了方便理解结构。
我只是一个初学者,还未达到语感水平,

第一个是目的状语,