Contributions
Re: Completing TextBoxes with values from csv file using script.
Thank you for the reply but I'm stuck on the window obtaining. Should it be something like this:form1 = testApp["Form1"]; ? If I put something like this I don't have access to the textboxes in the form. The code I have written according to what you suggested looks like this: var testCompleteApp; var form1; var drv = DDT["CSVDriver"]("C:\\Test.csv"); TestedApps["TestCompleteApp"]["Run"](1, true); testCompleteApp = Aliases["TestCompleteApp"]; form1 = testCompleteApp["Form1"]; while(!drv["EOF"]) { form1.textBox1.Keys(drv["Value"]("textBox1Value")); drv["Next"] } form1["Close"]();1.3KViews0likes0CommentsCompleting TextBoxes with values from csv file using script.
Hello, I'm new to TestComplete and I would like You to help m with an issue. The thing is that I have a .NET winform with several textboxes and I need to write a test that would fill them with data read from csv file. Can this be done in script? Prefferably C# script. Thank You in advance for any help.12KViews0likes10Comments