This project is read-only.
Open Visual Studio
Open Crystal Test solution
Registration
Log In

Access Crystal Test Locally

In this chapter, we will be learning how to access and use Crystal Test from an automation developer’s standpoint. Before publishing any automated test to the production site, we first need to be able to write and test it locally. The following section describes how to open and access Crystal Test from your local machine.

Open Visual Studio

  • Click the Start button
  • Click All Programs
  • Click to expand the Microsoft Visual Studio 2012 folder
  • Click the Microsoft Visual Studio application

Open Crystal Test solution

  • In Visual Studio, on the menu bar, click File --> Open Project…
VS - OpenFile.png
  • Navigate to C:\Development\Crystal Test\Projects
  • Double-click Crystal Test.sln
  • Just to make sure all is in sync, we are going to rebuild the project. From the Build menu, click Rebuild Solution
VS - RebuildSolution.png
  • Expand the CTWebsite project and double-click on default.aspx to open it.
  • Press F5 to start the Crystal Test application.

Note: If you have not restored the database, you will receive a server error when starting the site. Before opening Crystal Test, verify you have the CTLocalDB setup in SQL.

Note: You may have noticed a command prompt window opening at the same time. This is the Automation Engine. We will discuss this in later chapters. If you do not plan on running an automated script, you can close this window. It will reopen when you reopen the application.

Note: Crystal Test will open in your default browser.

Registration

If it is the first time Crystal Test has been accessed, you will be redirected to the registration screen. To register:
  • Fill in the username field. If you plan to copy this database to create your production versions, I recommend using your active directory username here.
Note: There is no password field. When accessing Crystal Test from the local environment, the password for everyone is ‘localtest’. When accessing Crystal Test in the production or stage environments, you will use your active directory (Windows Authentication) password.
  • Fill in the first and last name fields.
  • Fill in the email field. This should be your company email address.
  • Select a default project. This is the project that Crystal Test will open up to when you start the application. If this is the first time using Crystal Test, your default project options will be the Example project or the Crystal Test project. Your default project can be changed anytime in your profile settings.
  • The Supervisor’s first name, last name, and email fields are optional. These are to be used in future features scheduled for Crystal Test.
  • Click the Next button.
Note: If you are the first user to register, you will automatically be registered as an admin.
TMS - Registration.png

Log In

If you have previously registered, you will be redirected to the log in page.
  • Enter your username. If you are in the production environment, and your company uses domain names, you may need to precede your username with the domain name. (DOMAIN\username)
  • To log in locally, enter ‘localtest’ for the password. In the production version you will use your active directory password (Windows Authentication)
TMS - Login.png

After logging in, you are redirected to the dashboard page. We will discuss the dashboard page and metrics later in this chapter.

Last edited Apr 2, 2014 at 6:45 PM by jacquelinewalton, version 3