Tuesday, February 13, 2024

Recording a Script in Silk Performer-Creating Test Script in Silk Performer

Silk Performer is a powerful performance testing tool that allows developers and testers to simulate real-world user interactions with web applications, APIs, and other software systems. One of the key features of Silk Performer is its ability to record user interactions and automatically generate test scripts based on those recordings. In this blog post, we'll explore the process of recording a script in Silk Performer and creating test scripts for performance testing purposes.


Step 1: Launch Silk Performer
First, launch the Silk Performer application on your computer. Ensure that you have the necessary permissions and access rights to record scripts and perform performance tests.

Step 2: Start Recording
Once Silk Performer is running, navigate to the "Recording" section or toolbar. Here, you'll find options to start recording a new script. Click on the "Start Recording" button to initiate the recording process.

Step 3: Configure Recording Settings
Before recording your script, you may need to configure some recording settings based on your testing requirements. For example, you can specify the target application URL, choose the browser type, and configure proxy settings if needed.

Step 4: Perform User Interactions
With the recording started, perform the user interactions that you want to include in your test script. This may involve navigating through web pages, filling out forms, clicking on links or buttons, and interacting with various elements of the application.

Step 5: Stop Recording
Once you've completed the desired user interactions, stop the recording process in Silk Performer. This will finalize the recording and generate a test script based on the actions you performed during the recording session.

Step 6: Review and Customize Script

After recording, Silk Performer will generate a test script based on the recorded interactions. Take some time to review the generated script and make any necessary customizations or adjustments. You can modify script parameters, add validation checks, or include additional logic as needed.

Step 7: Save Test Script
Once you're satisfied with the test script, save it in a suitable location on your computer. It's a good practice to organize your test scripts in a logical folder structure for easy access and management.

Step 8: Execute Test Script
With the test script saved, you can now execute it in Silk Performer to perform performance testing on the target application. Silk Performer provides options to run tests with different load profiles, monitor performance metrics, and analyze test results.

Unable to view Analysis summary page properly in Load Runner

Problem:when attempting to open the result in Analysis, users may encounter difficulties with the page not displaying correctly, often manifesting as a black side on the Analysis results file or page. This issue can be frustrating and hinder productivity.




Solution:
To rectify this problem, follow these detailed steps:

1. Right-click on the analysis icon, click properties.

2. Navigate to Compatibility: Within the Properties dialogue box, locate and click on the "Compatibility" tab. This tab contains settings that allow you to adjust how programs run on your system.

3. Disable Display Scaling on High DPI Settings:In the Compatibility tab, find the option labeled "Disable display scaling on high DPI settings." Check this option to enable it. This setting ensures that the display scaling does not interfere with the proper rendering of the Analysis summary page.

4. Apply Changes: After checking the "Disable display scaling on high DPI settings" option, click on the "Apply" button located at the bottom right corner of the Properties window. This action applies the changes you've made.

5. Confirm and Exit:Once you've applied the changes, click on the "OK" button to confirm and exit the Properties window.

6. Additional Steps for Certain Operating Systems: Depending on your operating system version, you may need to take further action. If you see an option labeled "Change high DPI settings," proceed as follows:

   - Click on "Change high DPI settings" to access the relevant settings.
   - Check the box labeled "Override high DPI scaling behavior" within the High DPI settings window.
   - Apply the changes by clicking on the "Apply" button, followed by "OK."

7. Check Screen Resolution Settings: It's essential to ensure that your screen resolution settings are optimised for proper display. Set the scale layout to 100% to avoid any scaling issues that may affect the Analysis summary page.