Development teams utilizing Coded UI Tests have several options where to run Coded UI Tests. When a developer creates an automated test either from an existing action recording or using the Coded UI Test Builder, the test can be run within Visual Studio 2010 just like a unit test. Once the Coded UI test is passing, it can be associated with a Test Case and/or run as part of the build along with the unit tests. I will cover associating a Coded UI Test to a Test Case and running the automated test within Microsoft Test Manager in a future post. In this post I will cover configuring the build server to run Coded UI Tests. While this post describes configuring the build server to run the Coded UI Tests, any machine configured as a test agent can be utilized by the build server and build to run the Coded UI Tests.
The primary difference between running the Coded UI Test on the build server than a unit test is that the test requires full access to the UI. Having the build server require full access to the UI introduces a couple challenges including a couple additional requirements. First, the build server requires the application to be installed on the build server the same way it was installed when the test was recorded. The build server also requires a Visual Studio 2010 Test Agent running on it. It also needs to be configured to record video if required. Finally the build has to be configured to run the Coded UI Tests. The following steps walk through configuring these items.
Configuring the Test Agent to Run Coded UI Tests
1. Run the Microsoft Visual Studio 2010 Test Agent Configuration Tool (Start > Program Files > Visual Studio 2010 > Visual Studio 2010 Test Agent Configuration Tool)
2. Configure the Test Agent to Run Interactive
3. Ensure that Log on automatically and Ensure screen saver is disabled are checked. This will enable the server to be ready to run the tests even if the server is rebooted. Also, the screen saver has to be disabled so the machine doesn’t get locked. The Coded UI Tests can not run if the screen is locked. If you use Remote Desktop (RDP) to connect to the server, when you log out the machine it will automatically lock it. To prevent this from happening, you must log into it from the machine or VM console. If this is not an option, an alternative is to log on to another server such as the TFS server, then RDP into the build server from the TFS server and close the RDP session to the TFS server to lock this server but the build server remains unlocked and the Coded UI Tests will be able to run.
4. Register the Test Agent to a Test Controller that is not configured for Test Manager. Unfortunately, the Coded UI tests run from the Build Server can not share the same test controller.
Enabling Video Recording for the Automated Tests
One of the options in the test settings is to enabling video recording as part of the data collection. By default the server doesn’t have the required components and configuration to enable this. Follow these steps to enable the video recording.
3. If the Build Server is Windows Server then enable the Desktop Experience Feature.
Configuring the Build to run the Coded UI Tests
The final part to configure is to configure the build to run the Coded UI Tests.
1. Open the Test Settings file in Visual Studio by clicking Test > Edit Test Settings > Local.
2. Create a copy by clicking “Save As” and call it something like “BuildServer”.
3. Change the name to “BuildServer”.
4. Choose the Roles item. Change the local execution to “Remote Execution”.
5. Enter the name of the Test Controller that the Test Agent on the build server is using.
If you get the error “The following test controller is not available : YourServer. You must remove the association using the Lab Center within Microsoft Test Manager”, then you must remove this association.
a. To remove the association, remove the registration in the Visual Studio 2010 Test Controller Configuration Tool. Uncheck the “Register with Team Project Collection” option.
6. The Roles item in the BuildServer Test Settings should look like the following
7. Close the Test Settings and Check in the new build definition file.
8. Open the Build Definition. Click on the Process tab. Expand the Automated Tests > Test Assembly. Click on the TestSettings File ellipse. Chose the BuildServer test settings file.
9. Save the build definition and queue the new build. The Coded UI Test should run on the build and your test should pass. If the test fails, open the test results and view the details the same way you would do for a broken unit test.
In this post, i will describe the steps required to add a Coded UI Test in a Build Definition.
Pre-requisites:- An existing Coded UI Test Project, A Connection to Team Foundation Server
0. On the Build Server, we need to run the Team Build Service Host as an interactive process, since it will Coded UI Tests which interact with the desktop.
0.a. Open Team Foundation Server Administration Console, ad click on the Team Foundation Build Configuration.
0.b. Click on Properties link for the Build Service Host.
Click “stop to make changes” and choose to Run the Build Service as “Interactive Process”.
0.c. Click Start.
This will start the Build Service Host as an interactive process.
1. In the Solution Explorer, right click on the Coded UI Test Solution and choose Add Solution to Source Control.
2. Choose the folder in which you want to add this solution.
3. In the Pending Changes window, add a Comment and check in the code.
4. Open Team Explorer and Create a New Build Definition
5. Specify a name for the Build.
6. Leave the Trigger & Workspace tabs unchanged. [The default values are sufficient]
7. In the Build defaults tab, specify the Build Controller & a drop folder for the build.
8. In the Process tab, specify Projects to Build (select the project that you checked in in step 3).
By default all tests in assembles matching *test*.dll will be run.
9. Save the Build Definition and Queue a new build.
10. In the Build Explorer, you can see the status of the Queued Builds. Double click on a Build to see its log.
In the detailed log, you can see the Coded UI Test getting compiled and then run.
** BBC Daily E-mail ** Choose the news and sport headlines you want - when you want them, all in one daily e-mail < http://www.bbc.co.uk/email >
** Disclaimer ** The BBC is not responsible for the content of this e-mail, and anything written in this e-mail does not necessarily reflect the BBC's views or opinions. Please note that neither the e-mail address nor name of the sender have been verified.
If you do not wish to receive such e-mails in the future or want to know more about the BBC's Email a Friend service, please read our frequently asked questions. http://news.bbc.co.uk/1/hi/help/4162471.stm
From: VimalKumar.Koti@cognizant.com [mailto:VimalKumar.Koti@cognizant.com] Sent: 19 December 2008 10:30 Subject: FW: Refer A Friend Importance: High
From: Talent Acquisition-India (Cognizant) Sent: Fri 19-Dec-08 9:22 AM To: Cognizant ALL (CHN); Cognizant ALL (Kochi); Cognizant All (CBE) Subject: Refer A Friend
-Understand design and develop new app tier components (Web applications, Web Services, Java APIs, stand-alone Java applications and other backend services), and enhance existing components for the applications, using J2EE framework and other internet technologies.
- Keep up to date on latest software development technologies and methodologies. Drive or contribute to development standards as necessary.
- Provide production support to operational staff on key issues as need arises and during release of new software.
Knowledge, Skills and Abilities:
Minimum:
- Proven track record of successfully delivering high volume and high availability transactional applications under tight time constraints.
- Strong software engineering skills, including object-oriented programming skills.
- Experience building Java-based transactional applications and systems
- Knowledge of unit testing, and debugging simple applications
- Thorough understanding of software development lifecycle and methodologies including code reviews and version control software such as CVS.
-Basic understanding of how key business needs drive technology decisions
- Strong verbal and written communication skills.
Preferred:
- Experience developing software in distributed architecture and multi-tier application environments.
- Experience with e-commerce or other order processing systems.
- Experience with 24/7 applications.
Experience:
Minimum:
- 7-9 year’s hands on software development experience
- 7+ years web development experience using JSP, JSTL, AJAX, Struts, CSS, and HTML, JavaScript or other web application frameworks
- 7+ years experience with object-oriented development using the J2EE platform including Java, JDBC, Servlets, JMS, and Java/J2EE design patterns
- Hands on development experience with Oracle databases.
Preferred:
- Experience with multi-tier application development.
- Experience with 24/7 high volume transactional system development.
- Experience with development using Spring Web Flow, Velocity or WebWork framework.
- Experience with eCommerce transaction processing systems
Developer – Java – B2
Essential Functions:
-Understand design and develop new app tier components (Web applications, Web Services, Java APIs, stand-alone Java applications and other backend services), and enhance existing components for the applications, using J2EE framework and other internet technologies.
- Keep up to date on latest software development technologies and methodologies. Drive or contribute to development standards as necessary.
- Provide production support to operational staff on key issues as need arises and during release of new software.
Knowledge, Skills and Abilities:
Minimum:
- Proven track record of successfully delivering high volume and high availability transactional applications under tight time constraints.
- Strong software engineering skills, including object-oriented programming skills.
- Experience building Java-based transactional applications and systems
- Knowledge of unit testing, and debugging simple applications
- Thorough understanding of software development lifecycle and methodologies including code reviews and version control software such as CVS.
-Basic understanding of how key business needs drive technology decisions
- Strong verbal and written communication skills.
Preferred:
- Experience developing software in distributed architecture and multi-tier application environments.
- Experience with e-commerce or other order processing systems.
- Experience with 24/7 applications.
Experience:
Minimum:
- 2-5 year’s hands on software development experience
- 2+ years web development experience using JSP, JSTL, AJAX, Struts, CSS, HTML, Javascript or other web application frameworks
- 2+ years experience with object-oriented development using the J2EE platform including Java, JDBC, Servlets, JMS, and Java/J2EE design patterns
- Hands on development experience with Oracle databases.
Preferred:
- Experience with multi-tier application development.
- Experience with 24/7 high volume transactional system development.
- Experience with development using Spring Web Flow, Velocity or WebWork framework.
- Experience with eCommerce transaction processing systems
Technical Lead - .Net C1
Essential Functions:
-Design and develop new app tier components (Web applications, Web Services, .Net APIs, and other backend services), and enhance existing components for the applications, using .Net framework and other internet technologies.
- Keep up to date on latest software development technologies and methodologies.
- Drive or contribute to development standards as necessary.
- Provide production support to operational staff on key issues as need arises and during release of new software
- Candidate should be able to work in global development environment
Knowledge, Skills and Abilities:
Minimum:
- Proven track record of successfully delivering high volume and high availability transactional applications under tight time constraints.
- Strong software engineering skills, including object-oriented programming skills.
- Experience building .Net based transactional applications and systems
- Knowledge of unit testing, and debugging applications
- Thorough understanding of software development lifecycle and methodologies including code reviews and version control software such as CVS.
-Basic understanding of how key business needs drive technology decisions
- Strong verbal and written communication skills.
Preferred:
- Experience designing and developing software in distributed architecture and multi-tier application environments.
- Experience with e-commerce or other order processing systems.
- Experience with 24/7 applications.
Experience:
Minimum:
-Microsoft .Net Development Experience of 5-8 years with at least 5 years in web programming including VB 6.0, ASP, .NET
-3+ years experience with object-oriented development using the .Net platform
-Should have experience in SQL programming
-Strong technical skills with hands on experience in Microsoft Technology
Preferred:
- Experience with 24/7 high volume transactional system development.
- Experience with eCommerce transaction processing systems
Developer - .Net B2
Essential Functions:
-Understand design and develop new app tier components (Web applications, Web Services, .Net APIs, and other backend services), and enhance existing components for the applications, using .Net framework and other internet technologies.
- Keep up to date on latest software development technologies and methodologies. Drive or contribute to development standards as necessary.
- Provide production support to operational staff on key issues as need arises and during release of new software
- Candidate should be able to work in global development environment
Knowledge, Skills and Abilities:
Minimum:
- Proven track record of successfully delivering high volume and high availability transactional applications under tight time constraints.
- Strong software engineering skills, including object-oriented programming skills.
- Experience building .Net based transactional applications and systems
- Knowledge of unit testing, and debugging simple applications
- Thorough understanding of software development lifecycle and methodologies including code reviews and version control software such as CVS.
-Basic understanding of how key business needs drive technology decisions
- Strong verbal and written communication skills.
Preferred:
- Experience developing software in distributed architecture and multi-tier application environments.
- Experience with e-commerce or other order processing systems.
- Experience with 24/7 applications.
Experience:
Minimum:
-Microsoft .Net Development Experience of 2-5 years with at least 2 years in web programming including VB 6.0, ASP, .NET
-Should have experience in SQL programming
-Strong technical skills with hands on experience in Microsoft Technology
-2+ years experience with object-oriented development using the .Net platform (Sr Developer)
Preferred:
- Experience with multi-tier application development.
- Experience with 24/7 high volume transactional system development.
- Experience with eCommerce transaction processing systems
Developer – Oracle-C1
Looking for a Senior Oracle Developer to be part of development team within Dell IT. We are looking for a dynamic, professional, team-oriented, self-motivated individual with good communication skills and a positive attitude. Prior experience in an Oracle environment is a must, with a minimum 7 years of experience.
Qualifications:
- Bachelors degree in Computer Science or equivalent experience
Responsibilities:
- Work with business users to clarify requirements and business rules
- Database maintenance
- Design, develop, implement, deploy and assist in database development and ETL processes
- Create and execute unit test plans based on system and validation requirements
- Troubleshoot, optimize, and tune PL/SQL procedures and ETL processes
- Document all database development and ETL related work per company’s methodology
- Maintain existing code and fix bugs whenever needed
- Ensure smooth functioning of our development, QA, production and staging environments
Experience:
- 7+Years of Oracle developer experience is a must
- Expert in PL/SQL development for Oracle high demand OLTP/reporting applications.
- Significant experience with Oracles PL/SQL packages (DBMS_*, UTL_*)
- Extensive experience with Data Transfers/Sharing using Flat Files, DB Links, Web Services
- Experience with large databases with high transaction volume in a fast-paced, production environment
- Query performance tuning
- Data Modeling
- Data Mart design (Star/Snowflake schema etc)
- Experience implementing Materialized views for reporting applications.
- Strong Data Analysis skills
- VB scripting experience
- Excellent problem-solving skills, a self-starting attitude and good communication skills are essential.
- Must be able to work in a team-oriented environment
Nice to have:
- Client facing / consulting skills, such as the ability to work with the business partners to translate business requirements into potentially complex technical solutions that meet or exceed those business needs