This is what I write all day long.
Python
try:
# check the page
breadCrumb =’Load Disability Application » Capture Disability Details » Disability Details’
JCCommon.check_breadcrumb(breadCrumb)
# Put a list of subtasks into the logs to aid in troubleshooting
# create a list of the subtasks for this task
searchString = ["//div[@class='subtask']","//div[@class='subtaskOff']"]
subtaskList = JCCommon.findMergeList(searchString)
Log.Message('Subtask list > ' + str(subtaskList))
CurrPage.Wait()
except Exception as e:
myErrMessage = JCCommon.capture_error(e)
Log.Error(myErrMessage)
#Verify form on page
formXPath = “//form[@name=’SFDisabilityDetails’]”
myForm = JCCommon.find_object(formXPath)
And right now, I need a break with real English and real sentences.
I love to write, but I don’t like to type, but when writing code typing isn’t all that bad.
Sorry for the brief interruption in the Sparkle Jet Stream, I now feel better.







