marek_tomecka11 years agoWrite to file + 1Hello I need and advice about TestComplete program in Visual Basic language. I need to write a text in Notepad program: Example x where x is number of the last created example + 1....Show More
TanyaYatskovskaAlumni11 years ago Hi Marek, Here is the sample code: Sub Test Dim obj, index Set obj = Sys.Process("notepad").Window("Notepad", "Untitled - Notepad", 1).Window("Edit", "", 1) For index = 1 To 10 obj.Keys("Example " & index & "[Enter]") Next End Sub Is this what you are looking for?
Recent DiscussionsTestComplete cannot create sessions from JenkinsTestComplete Support Plugin Compatibility IssueModuleNotFoundError. Python Runtime error only on other machine but not mine
Related ContentHow to write into excel file using Javascript?Read from and write to the same Excel file using VBScriptWriting to excel compatible files