Contributions
Re: Charts validation
My suggestion would be, Identify which tool is running your application (Desktop, tablet ...) and make checkpoint for each situation. To ease you can create a valid comparison function that where your application is running (using Sys.) and pass as a parameter the image name (using Regions.item (var)) ... I hope to have collaborated with their doubts. If you need anything, I'm at your disposal.644Views0likes0CommentsRe: How to change default mapping properties of entire project
Entendo, Nunca alterei esse valor de identificação dos objetos. Quando é alterado o objeto, é mais fácil vc atualizar ele. Ou seja: digamos que no script está assim: Alises.TestApll.tPanel.tcxGrid.Text Mas depois de uma nova versão o TestComplete ñ está mais encontrando esse mapeamento, porque agora ele identifica assim: Alises.TestApll.tPanel.tPanel2.tcxGrid.Text. Então, ao invés de eu atualizar o Script, eu acesso o NameMapping, com a aplicação aberta e com a tela do mapeamento aberta, de dois clique na propriedade final nesse caso tcxGrid, ai ele vai trazer uma tela de "Atualização pela tela" Update on Scream (algo parcido). Clicar nela ai seleciona o Objeto nesse caso o tcxGrid. Após isso, o NameMapping sempre vai enteder que esse cara (Alises.TestApll.tPanel.tcxGrid.Text) é esse em memória (Sys.TestApll.tPanel.tPanel2.tcxGrid.Text). Acabei aprendendo pois quando entrei em minha empresa não renomearam, ai isso ferrou tudo conforme o Sistema foi evoluindo. Tem como alterar tudo no mapeamento, assim evitando manutenção no código do teste.2.1KViews1like1CommentRe: TestComplete with Jenkins
Good afternoon, The machine that is the Jenkins (installation) tabem is installed TestComplete? If not, that's why we are not finding the TestComplete / Run. Also I tried to make installation on another machine and have not had success. Recalling that the TestComplete project in SVN, and Jenkins looking at the same place (SVN) has just as goal run that project, just need something to start the project (TestComplete / Execute). Try ai warns.4.6KViews0likes9CommentsRe: Build process in TestComplete
Good afternoon, Last month I auditioned with Jenkins and TestComplete. It has been found the need to have TestComplete or TestExecute the machine that is the Jetkins. At least I tried and did not succeed. Recalling that the Jenkins have to install sitado complement in the above article (at Marsha_R). There are other details, but enters the S.O security question (used the Server 2012 R2).886Views0likes0CommentsRe: Making update the region by the script
I will try to explain via code. Today I have a picture comparison in Adobe Reader, which has the following name: RegionTest. The RegionTest region gave error. Now I want to update the RegionTest image, replacing the new one. Example code: Regions.Update (RegionTest, Alises.adobe.editA);1.2KViews0likes1CommentMaking update the region by the script
Good afternoon, I wonder if it is possible to update a region by code, not manually equal currently do. Because I would like to address the differences ... In short, it is possible to update the region using code? Or someone uses another way ... I thank you for the answers.Solved1.3KViews0likes3CommentsAfter comparing region, TestComplete is idle
My test aims to compare a region in Adobe Reader X program, after opening the file will make the comparison, but the TestComplete I seem to be idle, I waited for an hour but nothing error or continuation of the test. So, I opened the system manager and I finished the Adobe process. Soon showed the report of the test run, saying the image (Alises Adobe) was not posível find. Additional Information. OS: Windows 10, Version TestComplete: 11:31. If someone had a similar experience, I would like to comment on the q was done. I try to do something. I thank you for the answers = D677Views0likes0CommentsRe: How to deal with suit and sub-suit test items?
I am Brazilian, I implemented a solution for when there is failure and can continue. I hope I can spend my idea for you showing the code. If you have any doubts regarding abaxo I am willing to help you. But in short: I have three red variable standards that define where the test is; I have a procedure to define the test cases that MT will be executed; I used OnLogError to override the error, to know the mistake I used UserForms The variables are integer What do I identify the tests cases, I use the ComboBox ID to set the value of the variables thus being easy to continue (example) ( UserForms.Error.cbSelBase.ItemIndex.Add ('CT_2_2'); Summarize the maximum my test project. But let's say my TestExecute, does everything the TestComplete itself does less correct code. My goal: artificial intelligence (laughs) kkk. ---------------------------------------------------------------------------------------------------------------- My test items CT_2_2 procedure; begin ShowMessage ( 'CT_2_2 test'); end; Start Test procedure beginning; begin Principal.Etapa_1; end; -------------------------------------------------- ------------ procedure CT_2_4; begin ShowMessage ( 'CT_2_4 test'); // If there is the will to error OnLogErro end; procedure CT_2_6; begin ShowMessage ( 'CT_2_6 test'); end; procedure CT_2_8; begin ShowMessage ( 'CT_2_8 test'); end; -------------------------------------------------- ------------------------------------------------- Events create OnLogError event - It is only called when an error occurs, then you can use it to treat your TestItem the large balcony that creates vc test item in the 'code' GeneralEvents_OnLogError procedure (Sender; LogParams); var VerificouImagem: integer; ShowLogError: boolean; begin // Right now I implemented a form to handle the error // So having a button that setava my variable to continue the test // My test consists of three key variables: Base, Step and cases represented by Project.Variables.PrincipalBase, Project.Variables.PrincipalStep and Project.Variables.PrincipalCases // If this will only be able to continue the test if clicked Continue on ERROR form. if (Project.Variables.ContinuaTesteErro = true) then // is veriavel is assigned the button to confirm the Form Error begin Project.Variables.ContinuaTesteErro: = false; ContinuaTesteError; // Here determine the continuation of the test end; end; end; ----------------------------------------------------------------------------------------------------- Specifies all tests ContinuaTesteError procedure; begin case Project.Variables.PrincipalStep of 0: Principal.Etapa_1; 1: Principal.Etapa_2; 2: Principal.Etapa_3; end; end; ------------------------------------------------------------------------------------------------------ Determines which IRAM tests run by stage procedure Etapa_1; begin if (Project.Variables.PrincipalCases= 0) then begin CT_2_2; // Call my Test Project.Variables.PrincipalCT Project.Variables.PrincipalCT + = 1; // Move to the next test end; if Project.Variables.PrincipalCases = 1) then begin CT_2_4; Project.Variables.PrincipalCT = Project.Variables.PrincipalCT + 1; end; if Project.Variables.PrincipalCases = 2) then begin CT_2_6; Project.Variables.PrincipalCT = Project.Variables.PrincipalCT + 1; end; if Project.Variables.PrincipalCases = 3) then begin CT_2_8; //Project.Variables.PrincipalCT = Project.Variables.PrincipalCT + 1; end; end; procedure Etapa_2; begin if Project.Variables.PrincipalCases = 0) then begin CT_2_22; Project.Variables.PrincipalCT = Project.Variables.PrincipalCT + 1; end; if Project.Variables.PrincipalCases = 1) then begin CT_2_44; Project.Variables.PrincipalCT = Project.Variables.PrincipalCT + 1; end; if Project.Variables.PrincipalCases = 2) then begin CT_2_66; Project.Variables.PrincipalCT = Project.Variables.PrincipalCT + 1; end; if Project.Variables.PrincipalCases = 3) then begin CT_2_88; //Project.Variables.PrincipalCT = Project.Variables.PrincipalCT + 1; end; end; procedure Etapa_3; begin if Project.Variables.PrincipalCases = 0) then begin CT_2_222; Project.Variables.PrincipalCT = Project.Variables.PrincipalCT + 1; end; if Project.Variables.PrincipalCases = 1) then begin CT_2_444; Project.Variables.PrincipalCT = Project.Variables.PrincipalCT + 1; end; if Project.Variables.PrincipalCases = 2) then begin CT_2_666; Project.Variables.PrincipalCT = Project.Variables.PrincipalCT + 1; end; if Project.Variables.PrincipalCases = 3) then begin CT_2_888; //Project.Variables.PrincipalCT = Project.Variables.PrincipalCT + 1; end; end; Thus becomes a Looping. I have helped thank you2.8KViews1like0Comments