Microsecond atomic-scale molecular dynamics simulation has been employed to calculate the glass-transition temperature (Tg) of cis- and trans-1,4-polybutadiene (PB) and 1,4-polyisoprene (PI). Both all-atomistic and united-atom models have been simulated using force fields, already available in literature. The accuracy of these decade old force fields has been tested by comparing calculated glass-transition temperatures to the corresponding experimental values. Tg depicts the phase transition in elastomers and substantially affects various physical properties of polymers, and hence the reproducibility of Tg becomes very crucial from a thermodynamic point of view. Such validation using Tg also evaluates the ability of these force fields to be used for advanced materials like rubber nanocomposites, where Tg is greatly affected by the presence of fillers. We have calculated Tg for a total of eight systems, featuring all-atom and united-atom models of cis- and trans-PI and -PB, which are the major constituents of natural and synthetic rubber. Tuning and refinement of the force fields has also been done using quantum-chemical calculations to obtain desirable density and Tg. Thus, a set of properly validated force fields, capable of reproducing various macroscopic properties of rubber, has been provided. A novel polymer equilibration protocol, involving potential energy convergence as the equilibration criterion, has been proposed. We demonstrate that not only macroscopic polymer properties like density, thermal expansion coefficient, and Tg but also local structural characteristics like end-to-end distance (R) and radius of gyration (Rg) and mechanical properties like bulk modulus have also been equilibrated using our strategy. Complete decay of end-to-end vector autocorrelation function with time also supports proper equilibration using our strategy.