« Return to Thread: Issues importing test cases that contains js or xml tags.

Re: Issues importing test cases that contains js or xml tags.

by Gregary Hendricks-2 :: Rate this Message:

| View in Thread

On Fri, Apr 8, 2011 at 1:16 PM, Sri <radhikaaduri@...> wrote:

> I have been facing some issues when importing test cases from .csv
> file or from bugzilla by clicking on "create a test case".
>
> 1.When text that is ready to be imported has some chars for eg: like
> <script>TEXT HERE </script> or <package></package>, when the import
> encounters the first opening tag "<" it
> gets completed ignored while importing , whereas the text before and
> after the tags is imported.
> The same issue happens when you try to "create a test case" from a bug
> in bugzilla.
> all the data is populated except for the text in <script> tags.
> This text (with <scripts>) mostly exists in all of our test cases
> under" Action" and "Expected Result" column.
> Having ignoring this is a very serious issue for our testing scope.

Anything in <SCRIPT> Tags is automatically ignored. I assume you are
using the WYSIWYG editor on the test case creation screen.
The reason for this is to prevent XSS attacks where your users security
could be compromised. If you need this type of information, consider
using the XML or CSV import or using the webservice to create the
cases..


> 2.When creating a test case from bugzilla - Just like how Summary is
> auto-populated in testopia, I want to know if we can auto-populate
> "Priority" as well.

You can modify the template that creates the test case to pass
priority=<your priority> and that should populate it for you.

> 3. when creating a test case from bugzilla - Only the first set of
> comments to the bug are inserted in the "Action" column of testopia.
> Can we get all the comments from the bug to this column.

That was considered excessive according to our users so we did not
included it. If you want to include the comments, you will have to
modify the code pretty heavily. In general, i would discourage it,
since the information is in the bug which is easily accessible from
the test case via a link.

> 4. Testopia supplies an auto-id for new test plans or test cases or
> test runs. However this particular column "id" is not been very
> helpful esp when sorting or grouping.
> Eg: If you try to group by a category - it will include this "id" and
> sort it asc thus ignoring our other criteria which is "category"
> Question: will it be possible to hide or not to use the "id" in the
> grouping logic.

You should be able to group by any other field and have it work. I did
not write the grouping as that was part of the extjs library. Perhaps
I don't understand what you are trying to do though.

> 5. Lastly, if there a way to display the Plans in testopia by its name
> and not by Id's.
>
> Eg: if you look at the test cases for a plan - you will notice "id"
> with a link in the test cases column. Can we have "Plan Name" instead
> of id.as in reports - having to show a plan id is not very helpful.

That should be fairly simple to add.

> Hoping for a quick reply from the testopia team.
>
> Thanks
>
> Sri


++Greg
_______________________________________________
support-webtools mailing list
support-webtools@...
https://lists.mozilla.org/listinfo/support-webtools

 « Return to Thread: Issues importing test cases that contains js or xml tags.