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
Community Hero

Hi,

 

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

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] 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 Heroes]
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 Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
Camo
Occasional Contributor

the solution is

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

 

cancel
Showing results for 
Search instead for 
Did you mean: