Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
changing the font color of text of object column in resultdetails page in test result
#12
Solved: 11 Years, 4 Months, 4 Weeks ago
No error has been occured.
Actually You have told me that pass the step name as plain text.
So,I was little bit confused and doing it in two ways.

Firstly I did,
I just changed objDict("PlainText")=strStepName instead of objDict("NodeName")=strStepName.
After that the stepname ,objcet name and in left pane of Result page nothing is shown.

The code is given -
Code:
Function CustomReportEntry(strStatus, strStepName, strMessage)
            Set objDict = CreateObject("Scripting.Dictionary")
            objDict("Status") = strStatus
            objDict("PlainText") = strStepName
            objDict("StepHtmlInfo") = strMessage
            objDict("DllIconIndex") = 206
            objDict("DllIconSelIndex") = 206
            objDict("DllPAth") = "C:\Program Files\HP\QuickTest Professional\bin\ContextManager.dll"
            Reporter.LogEvent "User", objDict, Reporter.GetContext
End Function


CustomReportEntry micPass, "<font color='green' ><b>Custom Report Example</b></font> ", " <font color='green' ><b>This is a custom report entry!</b> </font> "

I have attached the screenshot as Screenshot1.jpg .


AND

Secondly,

Also if I have passed 2nd parameter in CustomReportEntry function "Custom Report Example",then the green color of StepName and Object name can't be displyed.

I am also attached this screenshot as Screenshot2.jpg .

Actually, Which thing do you want told me or anything else?


Attached Files Image(s)
       
Reply


Messages In This Thread
RE:changing the font color of textofobject column in resultdetailspage in test result - by atanu - 05-12-2011, 11:57 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Problems with Text color recognition Treirk 0 1,146 06-17-2019, 12:19 PM
Last Post: Treirk
  Getting background color of an object on mouse over Surya 2 3,951 06-27-2018, 08:51 PM
Last Post: vensas3181
  How can we get the Windows application Text box background color Using UFT 11.53 Kuppampattu 3 6,119 06-06-2017, 11:12 AM
Last Post: workrohit08
  SwfTreeview - Color validation for child item YogeshCallappa 0 2,313 11-10-2016, 04:55 PM
Last Post: YogeshCallappa
  Page element keep changing chong67 4 4,689 11-08-2016, 09:17 PM
Last Post: Paul Rammone

Forum Jump:


Users browsing this thread: 9 Guest(s)