Can I declare one time not multiple time for frequently used syntax?

In reply to UVM_LOVE:

You get the error because your path is incomplete. The test class instantiates the env.
The path is then

p_env.p_driver.vintf