When can a test-Match results in tie (not-draw)?
What are the factors affecting to such result to be declared?
A test match can only be declared as a tie when the innings second batting team bowled out(losing all the wickets or no batsmen available to bat due to injury) for the second time, with scores level.
- Wikipedia
If the second batting captain declares the innings after the score gets level, then the match will get tie. But,this will not happen forever in an international cricket match.
All the other factors will affect the result to be declared as tie.
In the history of cricket, only two test matches got tied.