Forum Discussion
Bro
14 years agoNew Contributor
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"]();
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"]();
Related Content
Recent Discussions
- 3 hours agodhundley