cancel
Showing results for 
Search instead for 
Did you mean: 

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. 

1 ACCEPTED SOLUTION

Accepted Solutions
Camo
Occasional Contributor

Re: How to write hook with annotation and order

the solution is

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

 

View solution in original post

2 REPLIES 2
AlexKaras
Community Hero

Re: How to write hook with annotation and order

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

Re: How to write hook with annotation and order

the solution is

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

 

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements