Contributions
Re: How can I get an event or error message that was written to the log- window
I need a custom log because another interface is excpecting a special format. I need to do an automatical analysis of the test results and therefor it is the easiest way to handle a csv and not the testcomplete log1.2KViews0likes1CommentHow can I get an event or error message that was written to the log- window
Hi all, in my testing script I need to create an own log of the testexecution. Therefore I write my own csv- file. It's not a problem to check the result for "aqObject.CheckProperty", but for Object.click there is no return value. So my Idea is to get the message which is written in the Testlog. Example output in teslog: Type: Event Messag: The windo was clicked with the left button. Now my question is how I can get this message that is written in the Test- Log? Regards1.3KViews0likes3CommentsMissing values while itterating through CSV/ Excel- file
Hi all, I have a problem while trying to itterate through CSV with "DDT.CSVDriver". CSV file: a;b;c;d;Enter;f input;casesInput.Keys;0;0;0;Input_HappyPath_02 input;searchBox.Keys;1115;1115;Enter;Input_HappyPath_01 input;casesInput.Keys;0;1;Enter;Input_HappyPath_02 ..... My problem is, the values of the second line are wrong, when I itterate with: while (! DDT.CurrentDriver.EOF()) { excelValue1 = DDT.CurrentDriver.Value(0); excelValue2 = DDT.CurrentDriver.Value(1); excelValue3 = DDT.CurrentDriver.Value(2); excelValue4 = DDT.CurrentDriver.Value(3); excelValue5 = DDT.CurrentDriver.Value(4); excelValue6 = DDT.CurrentDriver.Value(5); . . . DDT.CurrentDriver.Next(); } Output: First line (OK): excelValue1:input excelValue2:casesInput.Keys excelValue3:0 excelValue4:0 excelValue5:0 excelValue6:Input_HappyPath_02 Ausführungstyp: input Second line (NOK): excelValue1:input excelValue2:searchBox.Keys excelValue3:1115 excelValue4:1115 excelValue5:null excelValue6:Input_HappyPath_01 Ausführungstyp: input The value for "excelValue5" should be "Enter". It doesnt matter in which line the value is. The output is always "null". Can anybody help me? Regards MaxSolved1.1KViews0likes2Comments