This is a migrated thread and some comments may be shown as answers.

Comments not written to Visual Studio webtest file

5 Answers 89 Views
Extensions and Customization
This is a migrated thread and some comments may be shown as answers.
Adrian
Top achievements
Rank 1
Adrian asked on 11 Dec 2014, 01:45 PM
Mostly I use Fiddler for creating Visual Studio web tests, by exporting to a ".webtest" file. As I record a set of steps I add comments about what is shown on the screen and what actions are being performed. Unfortunately the ".webtest" file omits many of the comments. While recording I just want to add a comment to the most recent session, I do not want to spend time choosing a session that should be written to the file.

How can I persuade Fiddler to write all of my comments to the ".webtest" file? I have looked at the code of some plugins and also (via "ilspy") at VSWebTestExport.dll but there is no obvious way of writing out the comments without making changes to file "FiddlerWebTest.cs".

5 Answers, 1 is accepted

Sort by
0
Eric Lawrence
Telerik team
answered on 11 Dec 2014, 04:58 PM
Hello, Adrian--

I think you're saying: "Fiddler only writes a Session's comments to a WebTest if that Session is written to the WebTest."?

Yes, that's a true statement. How would you propose this work instead?

Regards,
Eric Lawrence
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Adrian
Top achievements
Rank 1
answered on 12 Dec 2014, 09:00 AM
Hello Eric,

Thank you for the reply which summarises my point correctly.

I would like it if all manually entered comments were written to the web test file, regardless of whether the session itself causes a "request" to be written to the file.

It is easy to delete unwanted comments within Visual Studio, but it is time consuming to manually copy or retype comments that are already held by Fiddler.

Regards
Adrian
0
Eric Lawrence
Telerik team
answered on 15 Dec 2014, 03:25 PM
Does the WebTest XML schema allow a comment to appear without a corresponding request?

If you supply me with a file containing an example of this, it's possible I could help.

Regards,
Eric Lawrence
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Adrian
Top achievements
Rank 1
answered on 16 Dec 2014, 09:51 AM
Hello Eric,

I believe that Fiddler and Visual Studio have different view on comments. Fiddler associates comments with sessions whereas in the XML for Visual Studio they are at the same hierarchical level as requests. The XML for web test files has a sequence of <comment...> and <request...> tags, plus a few other tags. Attached is an image of the top of a web test file I have just recorded, it visits the Telerik website and then clicks on the forums link. This forum will only let me attach images to a post, can you supply an email address to send the file? As a forum administrator, perhaps you can send direct to my email address.

Regards
Adrian
0
Eric Lawrence
Telerik team
answered on 19 Dec 2014, 10:37 AM
Hi, Adrian-- You can send email using the Help > Send Feedback command inside Fiddler, but your screenshot should be enough to go on. I'll need to look into whether this schema works in older versions of the WebTest file format, as the Visual Studio team themselves originally wrote the webtest code,

Regards,
Eric Lawrence
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Extensions and Customization
Asked by
Adrian
Top achievements
Rank 1
Answers by
Eric Lawrence
Telerik team
Adrian
Top achievements
Rank 1
Share this question
or