+ Start a Discussion
kumar7kumar7 

Through Test class is it possible to update the record?

Hi all,

Through Test class is it possible to update the record?
if possible please send me a peace of code.

Thanks
kumar
Shailesh DeshpandeShailesh Deshpande
Do you mean, update a record in database? The answer is no. The dml operations that you do in test  class do not affect your actual data.