Ask a Question

How to write hook with annotation and order

SOLVED
Camo
Occasional Contributor

How to write hook with annotation and order

I need to use hook with tag and order. If I try to write 

@After("@last", order=1)

idea shows an error: Annotation attribute must be of the form 'name=value'. Can somebody tell me please what is the correct form? If I try @After(tags="@last", order=1) it is also incorrect. 

2 REPLIES 2
AlexKaras
Champion Level 2

Hi,

 

I believe this is not related to TestComplete, is it?

 

Regards,
  /Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
Camo
Occasional Contributor

the solution is

@After(value="@last", order=1)

 

cancel
Showing results for 
Search instead for 
Did you mean: