Usually will face this " Visual C++ Runtime Library " error in automation testing while Automating Web Applications.(i.e for browsers) and also browser enabled automation testing with automation functional testing tools ( QTP ) .
Microsoft's Visual C++ Run-time Library error in QTP can happen by :
1.Runtime components of Visual C++ Libraries are missing (Microsoft Visual C++ 2008 Redistributable Package )
2.Software problem.
Microsoft's Visual C++ Run-time Library error in QTP can happen by :
1.Runtime components of Visual C++ Libraries are missing (Microsoft Visual C++ 2008 Redistributable Package )
2.Software problem.
After research on this unexpected error we let to know the cause is - "BHO" (Browser Helper Object).
A
Browser Helper Object (BHO) is a DLL and it provides added
functionality. to the
Microsoft's Internet Explorer Web browser & its extensions.
BHO is a API program runs on start of the Internet Explorer Web browser at every time .Its by default installed by windows OS along with Internet Explorer Web browser.
Visual C++ Runtime error can resolved by restart the automation tools ( QTP ) without any services , i.e disable all start-up services in computer .
Visual C++ Runtime errors are resolved by upgrade the Internet Explorer version as well.
Visual C++ Runtime error can resolved by restart the automation tools ( QTP ) without any services , i.e disable all start-up services in computer .
Visual C++ Runtime errors are resolved by upgrade the Internet Explorer version as well.
Steps to Visual C++ Runtime Library error fix in QTP:
1. Open IE and click on Tools --> Manage Add-ons
2.Select "Add-ons currently loaded in Internet Explorer"
3.Check for "Browser Helper Object" under "Type" column
4.Select and disable them one by one with the help of "Disable" radio button given below.
5.Run your script whether we got same error or not .
If its not resolved , try to start enable the BHO add-ons and disabled for each and try to run the scripts ,lets identify the which add-on did cause the error.