i created a memo field in test plan. i wrote a program for this memo field, but i donīt know how i can the program start. the program should start when the content of the memo field change. i wrote this program in "test_fieldChange" with if...but i think this is not right. please show me the right condition for starting the program
Try posting your script and we may be able to see the cause of the problem.
Also if you click into and edit a memo field, the field does not actually post until you exit the field by selecting another field or move to another Defect.
Your IF statement should compare the old value of the field with the new value of the field and if different, then run your script.
You can capture the old vs. new in FieldCanChange with:
oldVal = Bug_Fields("BG_USER_00").Value '<-- Where "00" is the user field number
newVal = NewValue '<-- Where NewValue is declared by the FieldCanChange function.
While I have been working for Businesses that are Vendor partners with HP, IBM and Microsoft, my opinions and advice is my own.
The solutions provided are either sourced from my own scripting libraries or from a quick Google Search.