Contributions
- 1.2KViews0likes0Comments
Re: Code analysis Via TestComplete
Hello, I was thinking of an analyzer in the visual studio genre. More advanced than TestComplete. I would like to go much further than explorer code. instead of having long functions it is more interesting to have cyclomatic complexity. Have the variables that are not used. Being able to add our own rules ourselves1.9KViews0likes4CommentsRe: Unable to load property of a component
I based myself on the text property that works well to get around the problem, but I wanted to understand why the formatedtext does not work. In the end the focus of the component already present at the time of the search for the component block this update. Thank you1.5KViews0likes0CommentsRe: Unable to load property of a component
Sorry, wanting to remove some comment I removed some of the code function GetTextWPF(oComponent) { var oRet=""; oRet=oComponent.FormattedText; //BuiltIn.ShowMessage(aqString.Trim(oComponent.FormattedText.OleValue,aqString.stAll)); //oComponent.Refresh() // BuiltIn.ShowMessage(aqString.Trim(oComponent.FormattedText.OleValue,aqString.stAll)); if(typeof oRet=='object') return aqString.Trim(oComponent.FormattedText.OleValue,aqString.stAll); else return aqString.Trim(oComponent.FormattedText,aqString.stAll); }2.1KViews0likes2CommentsRe: Unable to load property of a component
The code is quite simple, and by deepening the simple fact of inserting a dialog by writing the search value allows me to find it, as when I evaluated it but without it the code does not work function GetTextWPF(oComponent) { //BuiltIn.ShowMessage(aqString.Trim(oComponent.FormattedText.OleValue,aqString.stAll)); // BuiltIn.ShowMessage(aqString.Trim(oComponent.FormattedText.OleValue,aqString.stAll)); if(typeof oRet=='object') return aqString.Trim(oComponent.FormattedText.OleValue,aqString.stAll); else return aqString.Trim(oComponent.FormattedText,aqString.stAll); }2.1KViews0likes4Comments