Contributions
- 626Views0likes0Comments
Disable logging of a single TestedApp
Can I disable logging of a single TestedApp? Currently in my project I test one application and I want all inputs and data out of this application. But I also have two other TestedApps in the project, which I don't care about their input logs because they are support applications. I have them as TestedApps mainly for the ease to run them and specify run parameters. One of the examples of logging that I don't care about these specific apps is "The button was clicked with the left mouse button". But I still want these logs about the main TestedApp. Is there a way to disable logging for these specific applications?Solved639Views0likes2CommentsHow to update DBTable columns?
After each major section of my test cases, I run a DBTable Compare to check if the data was saved correctly by the application. Sometimes, we have to remove/rename fields from the database and this causes a major headache, because, as far as I'm aware of, there is no option to automatically update DBTable fields, only their values. I also thought about changing the data manually editing the DBTable file, outside of TestComplete, but the data is stored in a format that I can't read through text. Is there a way to update DBTable fields OR maybe read the DBTable data through other applications where I can easily remove the field I need?Solved703Views0likes2CommentsRe: Handling Indicator manually
function funValidaDialog(sMensagem):boolean; var ObjProcesso, ObjJanela, ObjMensagem; begin ObjProcesso:=Sys.Process('sige2'); ObjJanela:=nil; ObjMensagem:=nil; Indicator.PushText('Verificando se a mensagem que contém: "'+sMensagem+'" existe...'); ObjJanela := ObjProcesso.WaitWindow('#32770','X' , -1, 5000); if ObjJanela.Exists then begin ObjMensagem := ObjJanela.WaitWindow('Static', sMensagem, 2, 1000); if ObjMensagem.Exists then begin Result:=True; end else begin Result:=False; end; end else begin Result:=False; end; Indicator.PopText; end; this is my code so far... Now, the message that I want to see during the whole process is: "Verificando se a mensagem que contém: "X" existe..." But all I can see is: "Waiting for Window: WndClass - "#32770", WndCaption - "X" " because the Test Runner posts another message after I post my message, and thats why I want to temporarily disable the automatic messages... And that happens when my executable's message box doesnt exists...1.6KViews0likes2CommentsRe: Handling Indicator manually
tristaanogre wrote: Before any method that you want to hide the indicator, call "Indicator.Hide()". Then, when you want to re-enable the indicator, call "Indicator.Show()". Seehttps://support.smartbear.com/viewarticle/84805/ Yes, I know that as well but I still want to use the indicator for my own purposes... If I hide the indicator I cant post my own messages, thats why I need to deactivate only the automatic messages sent from the Test Runner...1.6KViews0likes4CommentsRe: Handling Indicator manually
Yes, I know how to handle my own messages... I want to disable testcomplete's auto messages... For example: If a field doesnt exists on screen, it shows the default message (waiting for field "x") and has its own timeout... I want to disable that, is it possible?1.6KViews0likes6CommentsHandling Indicator manually
I've been messing around with Indicator for a while and I feel like in some cases I would like to stop TestComplete from pushing its actions to the Indicator message box. For exemple, when I'm using WaitWindow method, during the timeout, it shows the following: "Waiting for Window: WndClass - "#32770", WndCaption - "Test*" and I would like to leave a custom message saying: "Waiting for MessageBox containing "Test* to show" Is there a way to do that? and the example with WaitWindow method is just an example, the are many cases with many other functions where I would like to leave a custom message...1.7KViews0likes8Comments