Test manager do not read websites after # sign

Category: visual studio mtm

Question

alroga on Wed, 14 Jun 2017 05:27:15


How to enable reading websites links after # sign? Is it possible? I want to test website which uses # in the links to redirect to sub-website and currently it is not possible. How can it be done using Test Manager?

Replies

Starian chen on Thu, 15 Jun 2017 10:16:38


Hi alroga,

Please provide the detail steps.

I made manual test to click a hyperlink with # (bookmark) and the playback works fine.

Regards

Starain

alroga on Tue, 20 Jun 2017 04:41:07


The problem is that it is not a bookmark, it is a link that includes #.

Steps:

  1. Open VS 2017 enterprice
  2. Open test project
  3. Add new Web performance test
  4. Go threw the links with # inside

-> Result: # and everything what is after it is not taken into account

What is the link: .../Index.html#/predefOpt

What I get in the Web test recorder: .../Index.html

Starian chen on Tue, 20 Jun 2017 08:24:45


Hi alroga,

The issue is related to Web performance test, the Test Tools forum is the better place for this issue and I will move it there for you.

Regards

Starain

Fletch Zhou on Wed, 21 Jun 2017 03:23:52


Hi friend,

Thanks for your posting here.

According your description, the issue might be related Fragment identifier in link.

Fragment could not be sent in HTTP request messages. If I use fragment URLS in an HTTP sniffer like http://www.w3.org/TR/html4/struct/links.html#edef-LINK, I will never see the fragment IDs in the request URL or referrer header. The fragment identifier is only used by the browser – it won't  affect the resource which is returned from the server.

Please refer to this blog for more detail information.

https://blog.httpwatch.com/2011/03/01/6-things-you-should-know-about-fragment-urls/

Thanks for your understand, and please let me know if you have any other issues.

Best regards,

Fletcher


MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.