Contributions
How to do operations in the MS Windows OS's colorbox
I am writing a script to select color for a traingle, and when I click the color button, it appears the color box like this, it seems like the default color box of MS Windows OS, Someone could tell me how to operate it in VBS, I don't want to use the coordinates to click the color...Solved759Views0likes1CommentUsing createTextFile() to create a text file, but weird thing happens
I want to create a text file, and use the method createTextFile(), code as following: Dim oFSO,OpenFile CreateFolder(sFilePath) set oFSO = CreateObject ("Scripting.FileSystemObject") set OpenFile = oFSO.CreateTextFile(sFilePath,true) OpenFile.WriteLine sColumnHeadText OpenFile.Close and what confuse me is that a filefolder named "123.txt" is created in the specific path but not a text file. I have already give the permissions, and I can manually create a 123.txt there. It's strange.917Views0likes2CommentsReasons about why TestComplete recognizes "Winforms" as "window"...
Two days ago, I ran my scripts and it went well, But today I run these scripts, it goes wrong, and the error is "Microsoft VBScript Runtime Error" about that Object doesn't support this property or method: 'Sys.Process(...).WaitWinFormsObject'. It's because TestComplete recognizes "Winforms" as "window", but before it took that object as "Winforms". Has anyone encountered this problems? How to return it back? Thanks very much!Solved1.9KViews0likes4CommentsHow to see the code qualities such as duplication of the files (*.svb), is there any tools special?
I want to see the qualities such as duplication, complexity and so on of the scripts with extension .svb . I use some tools downloaded from the internet, but it doesn't match. one tool called SourceMonitor doesn't recognize the scripts because of the coding methods (ASCII..). So anyone has experience in this domain? could you help me, thanks pls.Solved1.6KViews0likes4Comments