chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
Welcome to Typemock Community! Here you can ask and receive answers from other community members. If you liked or disliked an answer or thread: react with an up- or downvote.
0 votes
Hi,

just installed a fresh copy and when i try to write a simple test using Ivonna.
I'm getting a "Typemock Not Installed" exception.

I just installed a fresh copy of Isolator and the registry seems to be in order.
(I'm using a win 7 64 bit machine)
asked by error (6.6k points)

4 Answers

0 votes
Hi Lior,

Are you using Isolator v6.0.4? And did you download the latest Ivonna from Artem's website?
answered by igal (5.7k points)
0 votes
yes and yes.
I also made sure that Isolator is working as it should
and that i have proper license to both the products.
answered by error (6.6k points)
0 votes
Hi,

just installed a fresh copy and when i try to write a simple test using Ivonna.
I'm getting a "Typemock Not Installed" exception.

I just installed a fresh copy of Isolator and the registry seems to be in order.
(I'm using a win 7 64 bit machine)


Hi Lior,

Can you please do the following:
- Add a reference to Typemock.Integration
- Put the following code in your test (the same test class that gives you an error, in a separate test method):
Assert.IsTrue(TypeMock.Integration.Service.IsInstalled)


If the test fails, try removing the RunOnWeb attribute from the test class and try again. Typically, Service.IsInstalled should return true, but sometimes it returns false due to some obscure errors (I got it once when I had some invalid xml in my web.config). Perhaps running your tests in debug mode and looking at IntelliTrace could help you with identifying the problem.

If you still can't run your tests, please send me your code so that I could reproduce it.

ulu
answered by ulu (1.7k points)
0 votes
Hi Ulu,

thank you for the help.
I managed to locate the problem and it seems to be a problem of permissions.
the integration API is not working properly unless you run the studio as an admin.
what might help in the future is a better error message (the Typemock is not installed error sent me in the wrong direction).

Also I recall reporting this defect 6 months ago (case 894), so it might help if this actually get fixed. No reason one should be and admin in order to run unit tests

Lior
answered by error (6.6k points)
...