WCF debug Test-case issues.

This seems to be a weird issue, I had solution with a WCF Service and Unit Test Project.
In Unit test, I had some testcases which will step into WCF service. When I start the service, and go into Test-case (Test explorer) all test-cases are disabled, and in Test => all Debug / RunAll tests all options are disabled.  So I am not able
to debug testcases when WCF Service is running this is the issue. I am using VS2013 Ultimate with Update3 installed.
I am rightclicking on WCF Service debug start new instance, then go into Test-case (Test-explorer) when I right click on test-case all options are disabled and so is in Test menu. 
Thanks In Advance,
KSR

Hi KSR,
To debug the WCF Service from the Test project, one idea is that you could creates and opens the service host in test project code.
A similar thread about this issue, reference:
http://stackoverflow.com/questions/2790901/debugging-visual-studio-2010-unit-test-and-wcf-service-in-one-ide-instance
A blog also shared some suggestions here:
http://blogs.msdn.com/b/ploeh/archive/2006/12/04/integrationtestingwcfservices.aspx
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • No binaries found for Verification issue in MPR Code Signing Test case

    Hi,
    We are trying to certify our WebSite Application as Gold Certified and to become Gold Certified Partner. We have run a MPR Test and while verifying the Code Signing test case, it shows that
    "No binaries found for verification". But the test case result is
    passed. Below I have placed screen shot for the same. We have signed all our Application related DLL's(Page related DLL's. Please let us know about this issue.
    Shankar S

    Hi Shankar,
    To the MPR Tool, it does not appear that you have installed any binaries.
    As you mention that your website contains DLLs, these have either not been installed via your MSI package or have already been installed before the test began.
    The tool will prompt when to Install, when to perform Primary Functionality, and when to Uninstall.
    If your website was already installed prior to beginnign test, you must retest.
    As you are applying for Gold level, assure you are testing on Server Core.
    Hope this helps,
    -Logo

  • Unit test cases run twice on TFS2012 build server

    Hi,
    I have enabled the build definition to run the test cases using Visual Studio Test Runner in TFS2012 build server. Once it runs I can see that each test case ran twice. Suppose if I have 5 test cases, 5 will be passed and same 5 will be failed. Why it ran
    for second time and failed? Please advice.
    Below is my activity log. If you notice at the end of the below log, same test cases ran twice. First all are passed and then failed.
    If Not DisableTests00:00:21
    Inputs
    Condition: True
    Run Tests00:00:21
    If Not TestSpecs Is Nothing00:00:21
    Inputs
    Condition: True
    For Each TestSpec in TestSpecs00:00:21
    Inputs
    Values: Run tests in test sources matching **\*test*.dll, Target platform: 'X86'
    Try Run Tests00:00:21
    Handle Test Run Exception00:00:00
    If testException is NOT TestFailureException00:00:00
    Inputs
    Condition: False
    Set TestStatus to Failed00:00:00
    Inputs
    LabelName:
    SourceGetVersion:
    KeepForever: False
    DropLocation:
    Status: None
    LogLocation:
    BuildNumber:
    Quality:
    TestStatus: Failed
    CompilationStatus: Unknown
    If spec.FailBuildOnFailure00:00:00
    Inputs
    Condition: False
    Get Requests Approved for Check In00:00:00
    Outputs
    Result: IQueuedBuild[] Array
    Mark Requests for Retry00:00:00
    Inputs
    Behavior: DoNotBatch
    Requests: IQueuedBuild[] Array
    Force: False
    If spec Is AgileTestPlatformSpec00:00:00
    Inputs
    Condition: True
    Run Visual Studio Test Runner for Test Sources00:00:00
    Assign spec to agileTestPlatformAssembly00:00:00
    Inputs
    Value: Run tests in test sources matching **\*test*.dll, Target platform: 'X86'
    Outputs
    To: Run tests in test sources matching **\*test*.dll, Target platform: 'X86'
    Find Visual Studio Test Platform Test Assemblies00:00:00
    Inputs
    MatchPattern: d:\Builds\8\Test\OfficeLink\src\**\*test*.dll
    Outputs
    Result: System.Linq.OrderedEnumerable`2[System.String,System.String]
    If Visual Studio Test Platform Test Assemblies Found00:00:00
    Inputs
    Condition: True
    If agileTestPlatformAssembly.HasRunSettingsFile00:00:00
    Inputs
    Condition: False
    Run Visual Studio Test Runner for Test Sources00:00:00
    Inputs
    ResultsDirectory:
    TreatTestAdapterErrorsAsWarnings: False
    UpdateFrequencyTimeout: 30
    RunSettings:
    Platform: Any CPU
    TestSources: System.Linq.OrderedEnumerable`2[System.String,System.String]
    KeepAlive: False
    UpdateFrequency: 5000
    TestCaseFilter:
    PublishResults: True
    RunName:
    Flavor: Debug
    ExecutionTimeout: 0
    ExecutionPlatform: X86
    DisableAutoFakes: False
    Passed TestMethod1
    Passed TestMethod1
    Passed RegisteredTypeShouldBeRegistered
    Passed RegisteredTypeLifeTimeManagerIsTryShouldBeRegistered
    Passed RegisteredTypeWhithoutNameShouldBeRegistered
    Passed RegisteredInstanseShouldBeRegistered
    Passed RegisteredInstanseWithoutNameShouldBeRegistered
    Passed RegisteredInstanseShouldBeResolved
    Passed AllRegisteredInstanseShouldBeAllResolved
    Failed RegisteredTypeShouldBeRegistered
    Failed RegisteredTypeLifeTimeManagerIsTryShouldBeRegistered
    Failed RegisteredTypeWhithoutNameShouldBeRegistered
    Failed RegisteredInstanseShouldBeRegistered
    Failed RegisteredInstanseWithoutNameShouldBeRegistered
    Failed RegisteredInstanseShouldBeResolved
    Failed AllRegisteredInstanseShouldBeAllResolved
    Test Run Completed. 16 tests executed.
    Test Run Failed.

    Hi DHegde,  
    Thanks for your post.
    You’re using TFS 2012 Update 4 and VS 2012 Update 2?
    Please manually build your project and run test project using VS 2012 on your client, then check the test case result in Test Result window, the test cases be executed as expect? 
    If everything works fine when manually run your test project using VS 2012, which build process template selected in your build definition? If it’s not TFS 2012 default build process template, please try use default build process template in your current
    build definition, then queue build definition and view test result in TFS Build log again.
    If you’re using default TFS 2012 build process template in your current build definition, but still received the same issue, how did you configure the test in your build definition, please share the detailed configure screenshot(s) here.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Need help in writing test cases while upgradin oracle from 10g to 11g

    hi all
    I want to write test cases for ugrading oracle 10g to 11g i have some idea but want your input.and at the same time some people taking upgrade testing as to ensure that everything works after the upgrade - stremas, jobs, procedures.but i think as 11g is backward compatible all the things should work properly.If not then how can we write a test cases for that,your help is most welcome.
    Thanks in advance

    Hi;
    Please see below notes which could give you some idea to create your test case. By the way if your components are certified wiht 11g so there should be any bad issue for your upgrade
    Minimizing Downtime During Production Upgrade [ID 478308.1]
    Master Note For Oracle Database Upgrades and Migrations [ID 1152016.1]
    Different Upgrade Methods For Upgrading Your Database [ID 419550.1]
    Please check my blog
    http://heliosguneserol.wordpress.com/2010/06/17/move-to-oracle-database-11g-release-2-wiht-mike-dietrich/
    In this pdf you can see patch of to upgrade db from x to n wiht many senerios wiht all related metalinks notes which is created by Oracle worker Mike Dietrich
    Regard
    Helios

  • Getting error while writing JUnit test case for RestFul Services

    Hi All,
    I have written Restful services in Netbean 6.8.
    It's running well...no issues.
    {color:#0000ff}While writing JUnit test cases for them, I am getting following error:
    {color}{color:#993300}Testcase: testGetAuthenticated(com.ct.services.LoginServicesTest): Caused an ERROR
    Implementing class{color}
    java.lang.IncompatibleClassChangeError: Implementing class
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
    at org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactory(PersistenceProvider.java:160)
    at org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactory(PersistenceProvider.java:65)
    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:52)
    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:34)
    at com.ct.services.LoginServices.getAuthenticated(LoginServices.java:205)
    at com.ct.services.LoginServicesTest.testGetAuthenticated(LoginServicesTest.java:84)
    Test com.ct.services.LoginServicesTest FAILED
    F:\NetbeanProjectsWorkspace\DemoProject\nbproject\build-impl.xml:972: Some tests failed; see details above.
    BUILD FAILED (total time: 11 seconds)
    {color:#0000ff}Strange thing is that when I am commenting below lines and its related calls:
    {color}
    {color:#ff0000}EntityManagerFactory mEmf = Persistence.createEntityManagerFactory("AnyName");
    EntityManager mEm = mEmf.createEntityManager();
    {color}
    {color:#0000ff}from my code, JUnit test cases are working fine.
    {color}Anybody having any idea about this ?
    Thanks
    Avi
    Edited by: Avi007 on Aug 28, 2010 5:17 AM

    Hi All,
    [http://stackoverflow.com/questions/2778295/test-driven-development-problem]
    Please refer the above link for the solution
    Thanks
    Avi
    Edited by: Avi007 on Aug 30, 2010 12:33 AM

  • Error encountered while running a test case using MTM

    Hello,
    Has anyone encountered this error while running a test case using MTM 2013? 
    When I click on OK, the message is again shown until that time wherein the popup error is no longer shown.
    When I try to continue to the next pages wherein a modal is being open and I need to enter some data on a text field, the IE would stop working and seems to crash.
    Thanks!

    Hi Kiyaruh,
    Base on the error message, the error is threw by internet explorer.
    Does it have the same issue when access that web site/page in IE directly or it just occurs when run tests through MTM?
    What’s the version of your browser? You may try it with other browser and check whether it has same issue.
    Regards
    Starain
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Exception while running a test file as JUNIT test case

    Hi,
    I am trying to build a code using Eclipse to generate an "ear" file that can be used for deployment. The ear file is generated successfully but the build is not successful as the following exception is thrown while debugging a junit test case:
    javax.naming.CommunicationException: tdk.dk:389 [Root exception is java.net.SocketTimeoutException: connect timed out]
         at com.sun.jndi.ldap.Connection.<init>(Connection.java:197)
         at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:118)
         at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1580)
         at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2616)
         at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:287)
         at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
         at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
         at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
         at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at junit.framework.TestCase.runTest(TestCase.java:154)
         at junit.framework.TestCase.runBare(TestCase.java:127)
         at junit.framework.TestResult$1.protect(TestResult.java:106)
         at junit.framework.TestResult.runProtected(TestResult.java:124)
         at junit.framework.TestResult.run(TestResult.java:109)
         at junit.framework.TestCase.run(TestCase.java:118)
         at junit.framework.TestSuite.runTest(TestSuite.java:208)
         at junit.framework.TestSuite.run(TestSuite.java:203)
         at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
         at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
    Kindly suggest a solution.
    P.S. : All test cases are running fine except for one test case, whose error details are given.

    No it is not. The Oracle JDeveloper and ADF forum is for development questions around development with Oracle JDeveloper and ADF.
    If you use Eclipse through OEPE, you could post the question here
    Enterprise Pack for Eclipse
    If you don't use OEPE but Eclipse, then this forum may be a great source of help: http://stackoverflow.com/
    Frank

  • Moving to Surface Pro 3: Guidance on Test cases & App Comptability

    Hi all,
    I am working on a project to roll out Surface Pro 3 with Windows 8.1 from Windows 7 64-bit laptops for close to 100 users. The office has a full-fledged LAN/wireless, external connectivity through VPN with Windows Domain Controllers and many
    applications.
    I see there are 2 main parts with regards to testing. One is to test the standard windows features including network connectivity and the second is application remediation.
    Can you share any test cases for standard windows features that you may have used in similar upgrades?
    For checking application compatibility, is Application Compatibility Toolkit (ACT) sufficient to assess the need for any application remediation?
    Thanks in advance,
    Avinash

    Hi Avinash,
    The Microsoft Application Compatibility Toolkit (ACT) can be used to reduce the cost and time in resolving application compatibility issues and it can be used to quickly deploy Windows and Windows updates.
    Here is a link for reference of using Application Compatibility Toolkit:
    Application Compatibility Toolkit (ACT)
    http://msdn.microsoft.com/en-us/library/windows/desktop/dd562082(v=vs.85).aspx
    Best regards 

  • Getting TF42008: The test case management package could not be loaded. Verify that Visual Studio Test Tool is installed and try again.

    We are trying to run unit tests in TFS server.
    Below is the System Configuration:
    Visual studio version: VS 2013 Ultimate
    TFS: TFS 2013
    For this we have created a build and able to run the build successfully. And build page showing one link for Test result. When we click on this link, we got below error message.
    "Getting TF42008: The test case management package could not be loaded. Verify that Visual Studio Test Tool is installed and try again."
    And below is the screenshot of the error message. So please let us know is there and thing else we need to do to solve this issue?

    Hi RS, 
    Thanks for your reply.
    Yes, if you want to open and view test result on your laptop, you need install the VS 2013 on your laptop as well.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Test cases runs correctly on IDE but fails on the test runner

    Hi Guys,
    I have a test case here that works fine on my Mars IDE with RCPTT but fails when I run it via the Maven plugin on the same machine.
    The summary of the test case here is that it auto-generates some java files based on changes done to a DSL type language. You will see that there is a Generator project there that does this. Any changes to the type file will trigger the java file to be regenerated with whatever was defined in the Generator project. On the IDE it all works but when it's run via the test runner, it always fails for some reason.
    One interesting thing to note there is if that test case is run first, it does not fail. I initially suspected that the previous test case might have done something to the AUT workspace/environment but it's difficult to prove. The test case in question does have contexts to clear the workspace and to add projects as well as a context for setting the preferences. I did try removing all the contexts except for the workspace context that contains the project that it needs but the execution result is still the same. If I manually ran the same AUT (extracted somewhere else) with the generated test-runner aut workspace right after and made some changes to the type file, the java files are generated correctly.
    So the problem now is, we're not sure what the test runner is doing differently with the RCPTT IDE in this case. It would seem like the test runner is preventing the AUT from generating the files or there might be an error that prevents the generation from happening.
    I've attached the results folder from the test runner execution and the log file from the from the runner-workspace folder.
    cheers!
    Joseph

    Hi Folks,
    We've found out the cause of the problem and have found out that this is not entirely RCPTT related. Apologies for the disturbance. Marking this as a non-issue.
    cheers!
    Joseph

  • RECORD TEST CASE

    Hi guys,
             I am trying to record a transaction for  test case, it was showing me error             RELEASE HIGHER THAN 6.20 ARE NOT PERMITTED.
    pls explain me if there any setting need to be done to resolve issue?
    thank you
    with regards
    chaitanya

    hi
    chk the link below might give u some idea..
    Step by Step: http://www.qsands.com/QSandS_CATT_Step_By_Step.pdf
    Testing Function Modules Using CATT Scripts: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10f58cac-27cf-2910-ad93-e132621f9bab
    http://www.froglogic.com/download/book32/book/tgsgdc-record.html
    http://help.sap.com/saphelp_nw04/helpdata/en/ae/410b37233f7c6fe10000009b38f936/frameset.htm
    http://sap.ittoolbox.com/groups/technical-functional/sap-log-sd/scat-in-ecc5-release-640-1573163
    Reward If USeful
    Thanx & Regards..
    Naren..

  • Test case: unusual locking problem or expected behaviour?

    I have tried the following test case on both 9.0.1 and 10.2.0. The problem I am seeing here is that a table receives an exclusive lock that doesn't get trapped by a FOR UPDATE NOWAIT condition.
    Test case setup
    create table x (
    f1 number not null,
    f2 varchar2(100) );
    create table y (
    f1 number not null,
    f2 number not null,
    f3 number,
    f4 varchar2(100) );
    alter table x add constraint pk_x
    primary key (f1);
    alter table y add constraint pk_y
    primary key (f1);
    /*** This is a self-referential integrity check ****/
    alter table y add constraint fk_y
    foreign key (f3)
    references y ( f1 );
    create or replace trigger trig_y
    before insert on y
    for each row
    begin
    update x
    set f2 = 'trig test ' || to_char(sysdate,'ddmmyyyy hhmiss')
    where f1 = :new.f2;
    end;
    insert into x values (1,'test 1');
    insert into x values (2,'test 2');
    insert into x values (3,'test 3');
    insert into y values (2,2,2,'y test 2');
    insert into y values (3,3,3,'y test 3');
    commit;
    Test case actions
    This requires 3 independent sessions to be started.
    * SESSION 1 *
    select * from x
    where f1 = 1
    for update nowait;
    * SESSION 2 *
    insert into y values (1,1,1,'test');
    -- This session waits because of the trigger that is attempting to update the
    -- same row that is locked in session 1.
    * SESSION 3 *
    select *
    from y
    where f1 = 2
    for update of f1 nowait;
    -- The row lock succeeds.
    -- Now update the primary key column in Y.
    update y
    set f1 = 2
    where f1 = 2;
    -- This update statement waits because of a lock. Why is this as the row
    -- has been successfully locked by the FOR UPDATE?
    -- Remove the foreign key constraint from table Y and try again. This time
    -- the update will not wait but will complete successfully.
    Is this expected behaviour, or a bug in self-referential integrity checks, or in
    all foreign keys? The reason this came about in our application is because FORMS attempts to update every column on a block regardless of whether all values in the block have changed. This includes the primary key columns.
    We have worked around this issue for now by setting the 'update changed columns only' property on blocks in the forms.

    No. All you are doing there is stating your intention of later updating the selected locked rows.
    You may not even update any rows, if the program logic decides that way. Your actual update is the only case where the validation of foreign key will be applied. It cannot be done at the time of doing FOR UPDATE select, since the database does not know what new value is going to be when you do update so it is not possible to check.
    Also, note that yoru statement did NOT fail. It was just rying to validate your foreign key, and in that process wants to make sure no one else makes the changes. The statement was waiting for resource to be free, it DID NOT FAIL (no error was raised).

  • Test Agents issues

    Hello, 
    I am working on setting up an environment where we will be running Coded UI tests. I’m planning on triggering the tests from TFS builds.
    I have a test plan with 1 automated test case that doesn’t do much – it’s meant to always succeed
    5 VMware servers with Test Agents – each is used in Desktop Client role – automated test launches browser window and types in user name on a Login page
    If I RDP onto test machine, my Test Run (triggered by TFS build) is executed and succeeds
    I am able to have the Test Run execute and succeed without me logging onto the test machine with the test user – so I know that, at least at some point –
    Controller and agent accounts are in correct security groups
    Firewalls exceptions got created during the configurations of controller & agent
    Screen savers are disabled
    Agent runs as process and is able to interact with the desktop
    Without any changes to the Coded UI test or the environments themselves (as far as I can tell), my TFS test build randomly fails. I’ve seen a number of different errors:
    The unit test adapter failed to connect to the data source or to read the data
    Error calling Initialization method for test class PortalCodedUI.Tests.PageLogInCodedUITest: Automation engine is unable to playback the test because it is not able to interact with the desktop.  This could happen if the computer running the test is
    locked or it’s remote session window is minimized.
    Test method PortalCodedUI.Tests.PageLogInCodedUITest.CodedUITestMethod1 threw exception… Failed to find any control that matched the search condition…
    NOTE: screenshot shows minimized browser window
    Failed to queue tests for test run […] on agent […]: No connection could be made because the target machine actively refused it
    An error occurred while communicating with Agent
    Unable to create instance of class PortalCodedUI.Tests.PageLogInCodedUITest. Error: System.ComponentModel.Win32Exception: Access is denied.
    Another error that shows up in the Test Controller’s log is: Unable to delete temporary files on the following agent(s): vstfs:///LabManagement/TestMachine/1 – please note that the account the controller is running under is an admin on the Test Agent box.
    Usually, restarting the machine and repairing the environment makes the test run and succeed again.
    Given the fact that the errors I’m seeing are all over the place, they usually don’t occur twice in a row – I get a different one with every run – and that no obvious changes are made to the code or the environments themselves, I’m finding it very challenging
    to troubleshoot any of them. I also suspect there may be another reason that causes all of my issues.
    Any suggestions would be greatly appreciated.
    Thank you

    Starain – thank you for your response.
    I just want to reiterate that I have one test case with very simple code and no changes are being made
    to it. I’m also not re-configuring the environments. After a reboot of a test machine, my runs succeed, and then at some point they start failing with one of the listed errors – once that happens, a reboot is needed for another successful build. To answer
    your questions/comments:
    I am using the build template – it’s pulling code from the TFS drop location
    The test user can connect and execute Coded UI tests. It works a couple of times and then just stops and starts throwing errors. There are no screen savers, auto logon is enabled.
    Test method PortalCodedUI.Tests.PageLogInCodedUITest.CodedUITestMethod1 threw exception… Failed to find any control that
    matched the search condition
    This error is thrown when the very same (and only) test is executed as before. My build runs a couple of
    times in the row and the test succeeds. At some point, the test just starts failing with this error. There is a screenshot attached to the test result – it shows that IE was launched but it’s minimized.
    I have enabled logs and I didn’t see anything in there that would point to reasons why these errors just start showing up after a
    few successful runs.

  • What is the excel emplate which we need to use to upload test cases in to Microsoft Test Manager 2013?

    Hi,
    Currently we are writing test cases in a excel spread sheet and wnted to upload exel in the Microsoft test Manager 2013.
    I understand that there is a tool 'TestCaseMigrationPlus' which we can upload to MTM but could you please let me know the template which i need to follow for eg: column names which i need to define to upload the excel using 'TestCaseMigrationPlus'

    Thanks for Senthilraj's help.
    Hi Nallapati,
    >>could you please let me know the template which i need to follow for eg: column names which i need to define to upload the excel using 'TestCaseMigrationPlus'
    As far as I know that the test case template in the MTM like the following screen shot:
    So when you define and upload the excel using TestCaseMigrationPlus into the Microsoft test Manager 2013. I suggest you need to define the test steps for test case like the above screen shot include the Action column and Expected column.
    If you still have any issues, I suggest you can also post this issue directly to the TestCaseMigrationPlus :
    https://tcmimport.codeplex.com/discussions
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to make sure all my automatic test case run in one session?

    Hi guys,
        I'm doing some automatic test for our products.
         Now i'm hindered by an issue(maybe,due to my wrong configuration).
         I've wrote some test method in a Coded UI Test project,and these run perfect on local machine.And i build an environment includes Builder Controller,Builder Agent,TestController and Test Agent etc, and that the test cases have been written
    in MTM already. 
          After that,i built the project,deployed the project and run the Coded UI Test on Test Agent machine,and i found it seems that he test cases run on different sessions.I have no idea how to config or set up to make sure all my test cases
    run just in one session.
        Could anyone help me,please?

    Hi dean.chen,
    >>I found it seems that he test cases run on different sessions.I have no idea how to config or set up to make sure all my test cases run just in one session.
    According to your description, could you please tell me what the different sessions are when you run the test cases in MTM?
    Why did you want to run the test cases in one sessions?
    where did you see the test cases run on different sessions?
    Could you please tell me how many test agents machine you use to run these automatic test cases in MTM?
    As far as I know that if you just use one test agent machine to run these automatic test cases in MTM, these test cases will be run one by one on the one test agent machine.
    To help you solve this issue, please tell me more detail message about this issue.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for