Hi, I'm trying to do the following.
I have 2 folders :
-MPEG
-mp4
I'm doing a file-count on both of those folder, and I want HM to display the difference between those folders.
ex .
MPEG folder contains 4 files, ready to be converted.
mp4 folder contains 2 files.
HM should display "2" as a result (So I can see how many files still have to be converted (of file-count is equal, all encoding is done.)
Display difference between 2 filecounts.
Just count files and show difference?
Then you may setup 2 Count Files test items, use 1 of these tests as Master test for another, then mark "Tune up Reply value" for dependant test and use expression like [%::TestA::Reply% - %SuggestedReply%]
or you need to check each file name and detect non-existing files in 2nd folder?
Then you need to write your own script and call it using External or Shell Script test methods.
Regards
Alex
Then you may setup 2 Count Files test items, use 1 of these tests as Master test for another, then mark "Tune up Reply value" for dependant test and use expression like [%::TestA::Reply% - %SuggestedReply%]
or you need to check each file name and detect non-existing files in 2nd folder?
Then you need to write your own script and call it using External or Shell Script test methods.
Regards
Alex
It's just for counting the difference, without checking extension, etc...
and what name do I have to give to the first variable %::TestA::Reply%?
edit : already found it
it was just the full name of the master test.
Is there a way I can only display positive values? so if the result of the test is negative, it just displays a zero ?
and what name do I have to give to the first variable %::TestA::Reply%?
edit : already found it

Is there a way I can only display positive values? so if the result of the test is negative, it just displays a zero ?