Why are breakpoints not working in TestComplete? - automated-tests

I'm using a trial version of TestComplete 8.70.720.7 for test automation. I've faced a problem with breakpoints - they don't work even if test debugging is turned on. What can be the reason of the problem?

TestComplete uses the Microsoft Script Debugger to debug JScript and VBScript scripts. So, this functionality depends on the MS script debugging components installed on your computer. If the break points are not working, there is something wrong with the script debugging components - TestComplete can't use them for some reason. There are multiple reasons for this problem to occur. Many of them are described in the following FAQ entry in the SmartBear Support Portal:
http://support.smartbear.com/viewarticle/8874/
If the suggestions from that article do not help, this may mean that you have faced a situation when TestComplete is trying to use the Script Debugger installed with Visual Studio. At that, not all versions of the VS Script Debugger are compatible with TestComplete. So, if you have VS installed on your PC, try doing the following:
Close Visual Studio and TestComplete.
Rename the VS7Debug folder on your disk (the path to it looks like this: C:\Program Files\Common Files\microsoft shared), to something else like "_VS7Debug".
Reinstall the Microsoft Script Debugger using the link from the FAQ article above. When installing under Windows 7, Vista, or Win Server 2008, run the installation with elevated permissions (use the "Run As Administrator" context menu command).
Does this fix the problem?

Related

Visual Studio 2017 Doesn't Run Core Apps with IIS Express

I am having an issue with Visual Studio 2017 RC where when I run an MVC and/or WebAPI app using IIS Express the app never actually runs. Instead I get stuck with a page in the browser indicating it is trying to attach and from there it goes no further. If I open another tab/window in the browser and try to navigate directly to the launch URL, it just spins forever. Likewise when I run this using the dot net run command, the app launches and runs fine.
There do not seem to be any errors that I can see, just that the browser spins indefinitely without actually ever loading the page/endpoint.
Note: this occurs for most any circumstance. Newly created project in VS with no changes, known working project from previous versions, etc.
You could follow or upvote the issue: https://developercommunity.visualstudio.com/content/problem/11391/aspnet-core-iis-express-httplocalhost51733-failed.html
Looks like our workarounds meanwhile are
dotnet run
Publish to local IIS. Which is working for me.
(Untested: downgrade from core-1.1 to core-1.0)
If you aren't familiar with VS2017/asp.net:
You have, or can reveal via View Menu-->Other Toolbars :
Debug toolbar --> dropdowncombobutton saying "[green arrow>] IIS Express"
Click on the dropdown downarrow part of the button.
You should see a Run {yourprojectname} option.
This is the equivalent of dotnet run {yourprojectname} from the commandline.
You can configure the options that appear in the dropdown with
Right-click on project in solution explorer --> Properties --> Debug
I had this same issue and after digging around for a while I discovered that I had dotnet preview v1.0.0-preview2 installed under Programs Files (x86) and a non-preview version in x64. I think VS is launching the x86 (preview) version but expecting to see the full version. To fix this, I did the following.
from programs and feature uninstall every visible dotnet core. (note: for me this did not remove the x86 preview)
go to https://www.microsoft.com/net/download/core#/sdk and install BOTH x86 and x64 SDK packages
open command line and from the root directory check run: dotnet --version (at the time of writing it was 1.0.4)
fire up .net core project in VS 2017 and run.
When I did all of the above, I was able to start up the site in IIS Express from VS.

Cannot run any web application in VS 2010/2012 getting "Unable to start program"

Since this morning I cannot run any web application in Visual Studio 2010 or 2012, getting the following error:
No break points are being hit in the Global.asax. I thought there's some issue with dll's I'm referencing so I tried creating a clean new web forms and MVC-4 applications using both 2010 & 2012 but still getting the same error
Try going to http://localhost:2980 in your browser without debugging in Visual Studio. It should give you a more accurate error.
Some other things to try
delete your bin and obj folders (Clean your solution)
restart Visual Studio or even your OS
restart IIS
run aspnet_regiis -i
some more things to try
if you installed web express first, http://forums.asp.net/post/5373941.aspx
try running visual studio in repair mode
Seems like there's a problem with Internet Explorer(I'm using version 10) If i run the site in Chrome or Firefox it works fine

Compiling ASP.NET

I'm compiling ASP.NET code for the first time ever and I'm stumped.
I downloaded MINGW-Get and just finished installing it. The client gave me the source code and I found a file called RSConfig.exe.
So I assumed that was the config file, ran it, and then tried "make" but got the error
No targets specified and no makefile found. Stop
Any idea what I'm supposed to do? I don't see anything that would resemble a makefile in the source code.
Thanks in advance!
Do yourself a favour and install Visual Studio Express:
http://www.microsoft.com/visualstudio/en-us/products/2010-editions/express
It makes development easier and fast
It sounds like you might want to get familiar with the background concepts around asp.net and it's defacto development environment Visual Studio (there are many versions of visual studio).
As Andrei recommends, using Visual Studio Express is a good free way of getting started. The version most suited for web development is Visual Web Developer Express.
Attempting to compile .net code from a toolset such as MinGW isn't a typical route for using asp.net, however I've not used MinGW before and not sure it's possible to compile .net code from it.... Although it is perfectly possible to compile .net code from the command line (using the .net framework sdk) , I certainly wouldn't recommend it if you are getting started.
I'm going to make a guess that it is an ASP.net web forms project, it being the most prolific asp.net project type at the moment.
This official asp.net site http://www.asp.net/web-forms will guide you through what web forms are and how to get the development environment setup. Having this sort of background will aid you in solving your particular situation.

.isproj cannot be opened because of its project type (.isproj) is not supported

I've got 2 VS 2008 based solutions I'm opening up and both have projects that are .NET 3.5. But when I open both solutions in VS 2008, both have some .isproj file(s) and I get this stupid error right after I open the solution:
c:....\somefilename.isproj cannot be opened because its project type (.isproj) is not supported by this version of the application.
When I open the .isproj I see that the project version appears to be VS 2008:
9.0.30729
So I do not understand why I'd still be getting this error and I have never even seen or at least had an error with a file of extension .isproj in any of my apps before. I guess it is used for MS Build?
.isproj is for "InstallShield MSBuild Project File" and to use it, you would need to buy proper tools (more info here https://www.flexerasoftware.com/install/products/installshield)

Side by Side error running Qt Creator

On Vista Ultimate (No SP), I installed Qt Creator 1.3 from Nokia, using the Windows Binary installer. When I tried running it, I got a side-by-side error saying:
"The Application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail."
The Event Viewer Logs showed:
"Activation context generation failed for "C:\Qt\qtcreator-1.3.0\bin\qtcreator.exe". Dependent Assembly Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" could not be found. Please use sxstrace.exe for detailed diagnosis."
Running and sxstrace gave me a log file. I've uploaded the contents at http://cl1p.net/sxstrace/
I've figured it has something to do with different versions of DLLs and the Sxstrace system, and VC90.crt, but I don't know what to do. If it helps, the only other development tool I have installed on my PC is Dev-C++ (and MingW). I have had Visual Studio installed in the past, but its been uninstalled since. Other apps with VC90.crt manifests, like Limewire and Digsby are running fine. Help please?
Try installing the Visual C++ 2008 Redistribuable Package or Visual C++ 2008 SP1 Redistribuable Package.

Resources