I don't know whether that is the case everywhere. In India, the performance in the domestic 4-day competition (Ranji Trophy) doesn't guarantee selection to the national team. Guys like Yashasvi Jaiswal and Sarfraz Khan have been performing exceptionally well year after year, and still the national selectors continue to ignore them. Even for the national team, the selection is made based on the performance in the IPL. Players with powerful backers in the IPL, such as Umran Malik and Mohammed Siraj find it easier to break in to the national team, while those who don't have this backing are always at a handicap.
Here are the top performers during the last edition of the Ranji Trophy. 12 months have passed and not even one of them was considered for the selection to the national test squad: