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 DiscussionsSymbol in Manage Org MembersTestComplete recording feature.Prevent TestExecute dialog to Confirm Save in silent mode
Related ContentHow to write into excel file using Javascript?Writing to excel compatible filesRead from and write to the same Excel file using VBScript