로컬 XML 파일로 저장된 테스트 스크립트를 저장소에
직접 가져올 수 있으며, 가져온 테스트 스크립트는 테스트 케이스
찾아보기 페이지에서 사용 가능합니다.
시작하기 전에
가져올 로컬 XML 파일이 XML 스키마 문서를 준수하는지 확인하십시오.
단계 4의 스키마 정보에 대한 링크를 참조하십시오.
프로시저
- 기본 메뉴에서 를
클릭하십시오.
- 수동을 선택하고 찾아보기를 클릭하십시오.
- 파일을 찾아 열기를 클릭하십시오.
- 가져오기를 클릭하여 테스트 스크립트를
저장소로 가져오십시오.
팁: 테스트 케이스 XML 파일의 컨텐츠 모델 요소 및 가져오기 형식에 대한
자세한 정보는 테스트 스크립트
XML
스키마 문서를 참조하십시오.
스키마를 준수하는 기본 테스트 스크립트 XML 파일은 다음 예제를 참조하십시오.
<?xml version="1.0" encoding="UTF-8"?>
<testscript xmlns="http://jazz.net/xmlns/alm/qm/v0.1/">
<title xmlns="http://pURL.org/dc/elements/1.1/">New Customer Order Test Script</title>
<description xmlns="http://pURL.org/dc/elements/1.1/">Steps to manually test the Customer Order functionality</description>
<category xmlns="http://jazz.net/xmlns/alm/qm/v0.1/" value="Web UI" term="Function"/>
<state xmlns="http://jazz.net/xmlns/alm/v0.1/">com.ibm.rqm.planning.common.new</state>
<steps xmlns="http://jazz.net/xmlns/alm/qm/v0.1/">
<step xmlns="http://jazz.net/xmlns/alm/qm/v0.1/testscript/v0.1/" type="execution">
<description>
<div xmlns="http://www.w3.org/1999/xhtml">Log in to the system</div>
</description>
<expectedResult>
<div xmlns="http://www.w3.org/1999/xhtml">Login succeeds</div>
</expectedResult>
</step>
<step type="execution">
<description>
<div xmlns="http://www.w3.org/1999/xhtml">Place an order</div>
</description>
<expectedResult>
<div xmlns="http://www.w3.org/1999/xhtml">An order is created in the system</div>
</expectedResult>
</step>
</steps>
</testscript>