balathavamani
10 years agoOccasional Contributor
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.
Ex: Save window name in excel & retrive it : (Sys["Process"]("Testedapp")["WPFObject"]("HwndSource: MainWindow", "MainWindow"));
How to achive this ? any one plz help me out to resolve this issue ?
please find the error iam getting while tried the above case.
Thanks
Bala
(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")));