i have write automation code for product which i'm currently working on and some functionality is various according to windows version. to tacks those functions i planned to have if loop for windows local and if you have better idea then this means pls update it
Note: i'm beginner Automation testing