web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Blogs / CRM TIPS By PRM / Part-3: Create Web Performa...

Part-3: Create Web Performance Test for Simple Dynamics 365 Scenario (Search Accounts)

P. R. M Profile Picture P. R. M 739

Visual studio “Web Performance” test provides an option to record the scenario. Scenario can be any transaction that clients do with CRM (Ex: Searching Accounts, Searching Cases, Create Case, Resolve Case, etc.).

Here, we will see how to record Create an Account Scenario.

Steps:

1. Open Visual Studio and Create a New Project

2. Select the Project template as “Web Performance and Load Test Project”

clip_image002

3. New Project will be created with “WebTest1.webtest” file

4. Open the “WebTest1.webtest” file

5. Click on “Recording” icon

clip_image004

Note:

If Web Performance Test recording not showing in browser, click here to add to the required Add-Ons to IE Browser.

6. IE Browser will be opened with “Web Test Recorder” section on at left side with 3 options

Record – This will record the scenario steps while executing scenario on Browser

Pause – Stops to record the scenario

Stop- Click this to stop the scenario once it done alternatively we can close browser

clip_image006

7. Execute the Scenario. In this case, Search Accounts

a. Pause the recording (Because, we need to Login into CRM and Navigate to Accounts. If all these scenarios recorded, then we couldn’t identify actual Result for Creating Account)

b. Access CRM Application

c. Navigate to Sales – Account

d. Start Recording

e. Enter Search keyword in Search box

f. Click Enter

g. List of Accounts those match to Keyword will be displayed

h. Click on “Stop” from “Web Test Recorder” section

i. It will navigate back to Visual studio.

8. Visual studio starts the process to identify the “Dynamics Parameters”. [Visual Studio don’t find any Dynamics Parameters for CRM scenarios]

Note:

Before Run Test, please enter “CRM Credentials” by clicking Credentials icon on Web Test. Refer here for steps.

9. Click on “Run Test” to validate the recorded scenario

clip_image009

Web Test will be validated and will show the result as “Passed / Failed”.


This was originally posted here.

Comments

*This post is locked for comments