ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre Smits (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-2100) Survey Implementation for testing scenarios of ecommerce application
Date Wed, 15 Oct 2014 22:02:36 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-2100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14173041#comment-14173041
] 

Pierre Smits commented on OFBIZ-2100:
-------------------------------------

Given that this issue didn't attract any follow up since 2009 we should close this issue.

> Survey Implementation for testing scenarios of ecommerce application
> --------------------------------------------------------------------
>
>                 Key: OFBIZ-2100
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2100
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: specialpurpose/ecommerce, specialpurpose/projectmgr
>    Affects Versions: Trunk
>            Reporter: Pranay Pandey
>            Priority: Minor
>         Attachments: List_Of_Associated_Survey_On_Summary_Page.png, Survey_Association_With_WorkEffort.png,
Take_Survey_Page.png, WorkEffortSurvey.patch
>
>
> This has been a collaborative effort : Idea is given by Anil Patel and provided notes
about the approach (Notes are used as #1, #2, etc). I am providing Implementation Notes for
this work (Discussed few things with Pranay .... Thanks Buddy). 
> In past days we tried to come up with various ways to make testing easy. Managing testing
report on spreadsheet is good but difficult to manage and analyze the results.
> Lets use OFBiz survey to manage test scripts & record test results.
> 1) Implement Survey in project manager for the testing scenarios of ecommerce application
for various functionalities  :
> a. Checkout Page
> b. New customer Page
> c. View/Edit Profile Page
> d. Manage Address page
> e. Catalog pages
> f. Mini Cart Page
> g. Show Cart Page 
> Impl. Note : Only Data needs to be prepared for this. Take help of DemoSurvey.xml file
for reference. Prepare new data file and keep it in the data folder of ecommerce component.
> 2) Testing is part of the software development and maintenance. Based on project requirement
a task will be created for testing an artifact in system. Execution of such task will require
tester to take survey that has questions corresponding to each test case. Test case content
will include expected result. On executing steps as specified in survery question, system
response should match with expected result as specified in question.Tasks in ofbiz PM are
workefforts. A tasks is assigned to ofbiz PM users. When user opens a task, A screenlet having
list of survey associated with task (workeffort) will also show up on screen. User should
be able to take a survey by selecting it from this list.
> Impl. Note : We may need to create new entity for implementing this feature (Association
of task (i.e workeffort) with the survey). Lets keep the name of entity as "WorkEffortSurveyAppl".
> One screen will be present in the "TaskSummary" page. 
> Another screenlet will be created to add and list the Survey with the task (i.e workeffort).
For doing this add new tabbutton item adjacent to "Notes" tab.
> On the list form there will be a link "Take Survey" and this will navigate user to the
list of questions that will be associated with the survey.
> 3) Each test case should be represented as a questions to user. Answer to the question
should be Boolean. If test fails (answer will be "false") then user should add notes giving
details of error.
> Impl. Note : On selection "N" (i.e False) we should open a big text area so that user
could enter details of error message. For this we may need to create new entity. Lets keep
the name of entity as "SurveyQuestionNote". This entity will be similar to other *Note entities
like "WorkEffortNote", "CustRequestItemNote" & "OrderHeaderNote" etc.
> 4) Create New Header Item titled "Survey Questions" in the ProjectMgr component to add
new questions for any survey and also search questions associated with any survey.
> Impl Note : 
> a) Add new link on this page titled "Add Survey Questions"
> There should be three field in this form. 
> i) SurveyId - Lookup should be provided so that we could associate the Survey Questions
to the existing survey. (Create New Survey if this field kept blank)
> ii) Question : Map this to "question" field of "SurveyQuestion" entity.
> iii) SurveyQuestionType : Default will be Boolean, Fetch the existing values from SurveyQuestionType
entity.
> We should provide option to add more then one question in single shot. Add button titled
"Add More Questions". This will be handled through Javascript/ Ajax (prototype library). 
> b) There should be search and list form for the questions associated with Survey.
> Fields on search form will be :
> i) Survey Id -- We should provide lookup for this
> ii) SurveyName - Search on the basis of contains default option.
> iii) SurveyQuestionTypeId - Values in the combo box. Default will be empty value.
> Fields on the list form will be :
> i) SurveyId - Not Editable
> ii) SurveyQuestionTypeId - Not Editable
> iii) Question - Editable.
> iv) Required - Editable
> We should be having single button to update all the records returned from search being
performed (Multi Form).
> For reference see : https://localhost:8443/humanres/control/EditSkillTypes
> Thanks Pranay for your your initial comments/ thoughts on this, I have incorporated your
comments in my writeup. 
> --
> Ashish Vijaywargiya



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message