I have a test case like this:
@TestCaseKey(testCaseKey = "TestCase-001")
@Test(groups = {WEB},
description = "Verify this and That")
public void verify(){
System.out.println("Print this");
}
I want to get value of testCaseKey, and I want to parse it , within my test case, how can I do that?
You can use just a usual way of accessing any sort of annotation in Java.
Example in code: