Forum Discussion
- Marsha_R
Champion Level 3
Stuck meaning it takes longer to run than the other log messages or stuck in that it never moves on?
What exactly are those particular log messages recording? Post them here please.
- ryan_perneelContributor
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- Marsha_R
Champion Level 3
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