none
XML CODE SEEN IN TEST CASE STEPS RRS feed

  • Question

  • I'm using visual Studio 2010 and after getting connected to TFS i write the testcases  but i write the steps for that test cases in Test manager  and later when my work is done i save it and close the test case but the real problem comes when i send that test case ID to some of my teammates for review they are finding some xml code instead of steps in that test case. the words are placed inside the xml code :( but i find them clear in my window. Eached fasthelp and they redirected me here. Hoping my issue would be resolved
    Thursday, October 18, 2012 10:07 AM

Answers

  • I sound like some of your XML tagx are not closed properly.  I usally like verifying XML is correct by validating with a schema.  You can use visual studio to check XML by doing the following

    1) Suppose you have the XML below.  XML requjires the first line and at least one "root"

    <?xml version="1.0"?>
    <root>
                    <Level1>
                                    <Level2>
                                                    <Child>A</Child>
                                                    <Child >C</Child>
                                                    <Child >G</Child>
                                    </Level2>
                    </Level1>
    </root>

    2) I put the XML into a file

    3) Then Open Visual Studio (or go to start Page if visual Studio is opned)

    4) Go to menu File - Open and browse for XML file

    5) From menu XML Schemas check the row containing the following

    http://www.w3.org/XML/1998/namespace

    6) Press OK at bottom of page

    7) From menu select View - Error List

    Most common errors will be reported. 


    jdweng

    Thursday, October 18, 2012 11:36 AM