HTML code appearing in Description in ALM 11.52

  • Questions
  • HTML code appearing in Description in ALM 11.52
Question ID: 105603
1
0

In ALM in the test plan we are seeing HTML tags appear in the description of Test Cases in test plan, what could be causing this?

Marked as spam
Posted by (Questions: 100, Answers: 4)
Asked on September 26, 2014 7:14 pm
126 views
Answers (2)
1
Private answer

This is usually caused by a known problem at HP, ask your support rep about QCCR1J69872. The use of ''TDConnection.IgnoreHtmlFormat = True'' can cause HTML code propagation in ALM in memo fields as well as dashboard issues. There is not a fix for this, I have found a workaround:

Add in the line below in the Test_MoveTo sub this is located under the Test Plan Module script code in workflow make sure and put this after the On Error Resume Next and before On error goto 0:

TDConnection.IgnoreHtmlFormat=True

then Add the following line to the ExitModule sub, this sub is located under Common Script, make sure and put this after the On Error Resume Next and before On error goto 0:

TDConnection.IgnoreHtmlFormat=False

If you were seeing the issue in the defect description you would put the TDConnection.IgnoreHtmlFormat=True in the bug move to script instead of the test move to sub.......

Marked as spam
Posted by (Questions: 0, Answers: 364)
Answered on September 26, 2014 7:19 pm
0
Private answer

I can see all HTML tags in the Description and Expected Result fields in the Test Lab too after running my test. Is there a fix for this or work around?

Marked as spam
Posted by (Questions: 1, Answers: 1)
Answered on February 23, 2016 7:29 pm
EyeOnTesting