1. Login with author access.
2. Create a new topic by clicking on Create New Topic tab enter the topic name of your choice, select the access type and click on ok.
3. Select the topic from the drop down which you have created and click on New Question.
4. Click on the Hands-on Performance Question.
5. Enter the question name which you want to create and select the question type J2EE from the drop down list.
6. Task Statement: Describes the problem description of the question to be displayed to the participant while taking assignment/project.
7. Testcase XML: Describes the test case structure of the question to be evaluated against the participant solution.
<testsuite name="sample_j2ee" maxscore="13">
<failuremessages>
<message label="success_login" value="In the jsp page = login.jsp, for valid input it has to redirect to the main.jsp."/>
<message label="search_address" value="In the jsp page = add.jsp, on clicking the link tag it has to redirect to the search.jsp."/>
</failuremessages>
<databasecall>
<tablecall name="table_name">
<param colname="sno"/>
<param colname="name"/>
<param colname="emailid"/>
<param colname="password"/>
</tablecall>
</databasecall>
<testcase mainpage="/project_j2ee/login.jsp">
<urlrequest url="login.jsp">
<param type="text" name="username" value="Devsquare" action="set" label=""/>
<param type="text" name="mailid" value="email@email.com" action="set" label=""/>
<param type="submit" name="submit" value="" action="click" label=""/>
<output type="page" value="main.jsp" mark="1" label="success_login"/>
</urlrequest>
</testcase>
</testsuite>
<webxmlcheck>
<filtercheck name="struts2"value="org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter" mark="1" id = "1"/>
</webxmlcheck>
<classcheck fullyqualifiedname="com.wipro.sample_j2e.entity.ScheduleBean" mark="1" id = "3">
<method name="getemailid"return="String" parameters="" />
<attribute name="id" type="String" />
<attribute name="emailid" type="String" />
</classcheck>
<strutscheck>
<actioncheck name="schedule" path="com.wipro.sample_j2e.action.scheduleAction" mark="1" id = "4"/>
</strutscheck>
<springcheck>
<bean type="view" mark = "1" id = "4"/>
<bean type="sessionFactory" classes="com.wipro.sample_j2e.bean.ProfileBean,com.wipro.sample_j2e.bean.scheduleBean" mark = "1" id = "6"/>
</springcheck>
8. Additional Testcase Files: You can browse and upload one or more additional testcase files, if required.
9. Support Libraries: You can browse and upload one or more support library files that are to be downloaded to user work directory path, if required.
10. By clicking on Update Question the question will upload to the server.
11. By clicking Preview Question you can preview the created question.