Forum Discussion

balathavamani's avatar
Occasional Contributor
9 years ago

how to Store & retrive object name from excel

Hi Everyone,   How to retrive Object name from excel using DDT Testing in testcomplete.   Scenario: Need to save object name of Test Application in Excel file & retrvie them when test runs. ...
  • NisHera's avatar
    9 years ago

    (Sys["Process"]("Testedapp")["WPFObject"]("HwndSource: MainWindow", "MainWindow"));

    is a string TC do not recognize it as an object in your screen

    try Eval( (Sys["Process"]("Testedapp")["WPFObject"]("HwndSource: MainWindow", "MainWindow")));