Forum Discussion
sorry, the execution stalls. it is not always Log.Message. there are some .click calls that are slow as well.
the main one that stalls every time is this;
var xmlDoc = Sys.OleObject("Msxml2.DOMDocument.6.0");
xmlDoc.async = false;
let path = ProjectSuite.Path + "OMITTED" + sXMLFile + "\\" + sXMLFile + ".xml"
Log.Message(path); <----this line
Is sXMLFile a string? If not, that could be a problem.
Some other things to try to narrow down the issue:
1) Hard code the whole path and put it inside the Log.Message and see if it works without slowing down
2) See if Log.Message(ProjectSuite.Path + "OMITTED" + sXMLFile + "\\" + sXMLFile + ".xml") works without slowing down
- ryan_perneel7 years agoContributor
sXMLFile is a string (put a break before the offending Log.Message and it is the proper type)
hard coding the path did not help
if i omit this one log.message call, another one down the chain of execution will stall the execution.
I am assuming that no one else is experiencing this?
- tristaanogre7 years agoEsteemed Contributor
Do you have an "OnLogMessage" event handler configured? It could be that it's not a problem with the conversion of that code but perhaps something going on in an event handler.
- ryan_perneel7 years agoContributor
we only have the OnLogError, OnTimeout and OnStartTest hooked up.
Related Content
- 7 years agoNisHera
- 11 years agogoogleid_104400
Recent Discussions
- 2 days agoGane195