Comments not written to Visual Studio webtest file

6 posts, 0 answers
  1. Adrian
    Adrian avatar
    4 posts
    Member since:
    Nov 2012

    Posted 11 Dec 2014 Link to this post

    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".
  2. Eric Lawrence
    Admin
    Eric Lawrence avatar
    833 posts

    Posted 11 Dec 2014 Link to this post

    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.

     
  3. Adrian
    Adrian avatar
    4 posts
    Member since:
    Nov 2012

    Posted 12 Dec 2014 in reply to Eric Lawrence Link to this post

    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
  4. Eric Lawrence
    Admin
    Eric Lawrence avatar
    833 posts

    Posted 15 Dec 2014 Link to this post

    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.

     
  5. Adrian
    Adrian avatar
    4 posts
    Member since:
    Nov 2012

    Posted 16 Dec 2014 in reply to Eric Lawrence Link to this post

    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
  6. Eric Lawrence
    Admin
    Eric Lawrence avatar
    833 posts

    Posted 19 Dec 2014 Link to this post

    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.

     
Back to Top