question

QATM-9748 avatar image
0 Votes"
QATM-9748 asked QATM-9748 answered

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

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!

vs-testing
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DylanZhu-MSFT avatar image
0 Votes"
DylanZhu-MSFT answered

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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

QATM-9748 avatar image
0 Votes"
QATM-9748 answered

Thank you Dylan for provided answers!
qatm

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.