How to use progress bar to indicate the user how much the process is completed do not use thread.sleep(). It is a static solution sometimes process executing and progress bar completes so don't use thread.
Thanks & Regards
Santosh