0

Filters in QC can be copied to clipboard and pasted from it.

[Filter]{
TableName:CYCLE,
ColumnName:CY_FOLDER_ID,
LogicalFilter:\0000004a\^Root\Sprint1^ Or ^Root^ Or ^Root\Sprint2\QA\Func\Columns ordering^,
VisualFilter:\0000004a\^Root\Sprint1^ Or ^Root^ Or ^Root\Sprint2\QA\Func\Columns ordering^,
NO_CASE:
}
{
FLT:[X],
TYPE:TESTSET-TSTEST,
EXISTS_IN_IDS:Y,
IN_IDS:\000000ad\[Filter]{
TableName:TESTCYCL,
ColumnName:TC_STATUS,
LogicalFilter:\0000001a\"Blocking Fail" Or Blocked,
VisualFilter:\0000001a\"Blocking Fail" Or Blocked,
NO_CASE:
}

}

I'm trying to generate such filter in my own application. The problem is that I don't know how 0000004a, 0000001a and 000000ad are generated. When I replace filter values with other values the filter doesn't work anymore. It needs those HEX values to be recalculated.

Does anyone know what is the algorithm of generating that values?

Koby Douek
  • 16,156
  • 19
  • 74
  • 103
AlexProutorov
  • 677
  • 11
  • 22

1 Answers1

1

The mentioned items are the lengths of the according filter.text - string in hex

Joachim
  • 26
  • 1
  • Could you please check your grammar and spelling. It took me 10 times to read your little answer to finally understand it. xD – isaias-b Sep 29 '15 at 20:41