Forum Discussion

msalvador's avatar
msalvador
Frequent Contributor
2 months ago
Solved

There are no tests that match the "@Appointment AND @Note" tag expression.

Hi guys,

I have different TC and I use tags for run.

//@Appointment
function BT2_T805_Sample_Create_an_appointment() ...

//@Appointment
function BT2_T806_Sample_Delete_an_appointment()...

//@Note
function BT2_T267_Add_notes_to_the_agenda()...

If I execute:

Testexecute "<XXX>" /project:Gemini-POC  /r /e /ExportSummary:"<XXX>" /tags:"@Appointment and @Note" /ExportLog:"<XXX>"

I have this error

There are no tests that match the "@Appointment and @Note" tag expression.  

I tried to run within testcomplete but I have the same issue.

If I run only one tag, works, any suggestion?

 

  • I've never really understood how to works or tried to understand the logic, and had given up on using tags.

    If you try with or then it will work /tags:"@Appointment or @Note" - based on TC v15.61.1.7

2 Replies

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    I've never really understood how to works or tried to understand the logic, and had given up on using tags.

    If you try with or then it will work /tags:"@Appointment or @Note" - based on TC v15.61.1.7

    • msalvador's avatar
      msalvador
      Frequent Contributor

      Hi, 

      you have right, I wanted to run all the tags, and the formula is /tags:"@Appointment or @Note", not and.

      Thank you