Is Visual Studio Enterprise 2019 supports testing web pages written by using Angular

QATM 21 Reputation points
2021-04-02T19:35:28.483+00:00

Hi All,
Our company started to use Angular for some web-based application.
When I recorded and ran simple script for new page/s I found out that:
1 - web browser didn't viewable in the Web Browse window at all. Just "[Binary Data]" words appeared on the screen
2 - The string body has a list of variables like:
{"ids":[1695,1698,1726,1621,1694,1687,1696,1697,1728,1729,1725]}

Questions:
1 - Is VS 2019 supports writing web performance tests for pages in Angular?
2 - Is there a add-in for VS-2019 that has to be installed that will allow to record and then run web performance tests?
3 - Can a wild card be used in recorded string body to make run script be more flexible because each user in our application has different "ids" and differen amount of these "ids"
4 - In continue to Q#3 - what form for the wild card should I use (I tried to replace everything in brackets and wrote something like {"ids":[.*]}
5 - In case the VS-2019 doesn't support recording and running web performance for Angular pages, what tool can you suggest?

Thak you in advance!

Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
328 questions
0 comments No comments
{count} votes

Accepted answer
  1. Dylan Zhu-MSFT 6,406 Reputation points
    2021-04-05T01:31:51.997+00:00

    Hi QATM,

    1 - Is VS 2019 supports writing web performance tests for pages in Angular?

    The web test doesn't supported Angular. It only captures http/https requests sent from client to server, and can't recognize the user interface on your web application. The reference: https://social.msdn.microsoft.com/Forums/vstudio/en-US/ab0d30d1-52af-4f9c-8737-11177de6d4e4/visual-studio-2010-ultimate-recording-web-performanceload-tests-using-angularjs-forms-within-a?forum=vstest

    5 - In case the VS-2019 doesn't support recording and running web performance for Angular pages, what tool can you suggest?

    We suggest you can use Selenium.

    Best Regards, Dylan

    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our * *documentation* to enable e-mail notifications if you want to receive the related email notification for this thread.**

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. QATM 21 Reputation points
    2021-04-05T17:06:10.437+00:00

    Thank you Dylan for provided answers!
    qatm

    0 comments No comments