marek_tomecka12 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
TanyaYatskovskaAlumni12 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 DiscussionsUnable to activate floating license.Testcomplete closed itselflog message issues in testcomplete
Related ContentHow to write into excel file using Javascript?Writing to excel compatible filesRead from and write to the same Excel file using VBScript