googleid_114358ContributorJoined 13 years ago47 Posts11 LikesLikes received4 SolutionsView All Badges
ContributionsMost RecentMost LikesSolutionsTestComplete certification - user feedbackHello. I would like to get user's feedback about the Smartbear's TestComplete certification. I took the test two times and failed both. I am not an expert of TestComplete but I have been using it for 3 years now and I tried to take the test without the training. Thus, I think I might miss some information especially when I see question like this : "You need to check a link on a web page to make sure it is a valid email address. You have decided to use a Property Checkpoint. Use a Property Checkpoint to test for a valid email address. What sould you do ? (More than one answer choice may achieve the goal. Select the BEST answer.) Use the Matches condition on a Property Checkpoint and specify an email regular expression as the value. Use the Matches condition on a Property Checkpoint and specify an email regular expression as the value. Use the Equals condition on a Property Checkpoint and specify an email regular expression as the value. Use the IsPartOf (cmpIn) condition on a Property Checkpoint and specify the @ symbol as the value. As you can see, we are supposed to select the BEST answer. I am still wondering which of the first and second answer is the best... I faced 3 or 4 questions like that with answers that are completely identical... Appart from the fact that, without taking the training, I have issue to identify the SmartBear BEST answer meaning (I am pretty sure, BEST is a subjective point of view) I am wondering if I should try a third time to take the test. Are there other TestComplete users that took the test without the training, or am I totally insane to do so. Regards, Guillaume. TC 9.30 - Table Checkpoint support for WPF Datagrid controls using TextBlockComboBox Hi. I am trying to use Table Checkpoint with a standart System.Windows.Controls.DataGrid control but unfortunately, TestComplete throws an exception when it tries to retrieve datagrid content (see TC_Exception.png attached file). As you can see the column throwing this error is the one named Type. I am able to get the same error if I try to get the wValue property from the datagrid for a cell of this column : Possible reasons: 1. The application stopped responding. 2. The application was compiled incorrectly (see the Open Applications topic in the help system). 3. An error occurred in TestComplete. The message will probably be useless. Anyway... If i look at the Object browser, I can see that DatagridCells of this column contain object System.Windows.Controls.DataGridComboBoxColumn+TextBlockComboBox (See ObjectSpy.png attached file) From the Project Properties, I saw that this DataGridComboBoxColumn is supported... It is contained in the Microsoft Controls > WPF > WPFToolkitDatagrid > Combobox list. So far, I am stuck... and I have no idea what should I do to access the wValue of this control. My guess is, as soon as I will be able to get this value, the Table Checkpoint will work. Need some tips here. Cheers, Guillaume Re: User Form text of selected itemHi Mark. As far as I know, when the tcxListBox control selected value changes, the Text property get the value of the selected one. At least, that is what I do to get the value. But I guess you can get the same value using the index of the selected value. Regards, Guillaume.TestComplete quality centerHello. We developped what I would call a Quality Center for TestComplete. Basically, we are able to follow our test execution in real time within a web application by simply plug-in some script extensions within TestComplete engines. It generates graphics (using a custom XML output file) and contains TestComplete MHT files. As we are running our automate against multiple configurations, we are also able to search within our execution for a specific configuration (production version and browser used for the execution for instance). We also added the production installation logs and database structures within a TestExecution Instance. We have been using this version for 2 years now and it works fine. We are planning to expose it to the community. However, it would definitely require some optimization to fit TestComplete community requirements (we are looking at ElasticSearch, LogStash, MongoDB to store our log files). Thus, we are actually interested to know what you guys use to store and access your TestComplete execution logs. With your answers, we could decide to work on a community edition or use an already existing solution. I have been reading about HP Quality Center connector, Squash TA, and other quality center solution, but could not find anything that would match what are using, and willing to expose to you guys. Hope you might help us. Regards, Guillaume Théraud. Re: I am getting JScript run time error when objImage.Check method is used .Hi Asmat. Could you post a bit more of the code you are using so we could help you ? If you are trying to compare a runtime object picture, I would suggest that you use something like that : boolean = RunTimeObject.Picture().Compare(Utils.Picture.LoadFromFile("PathToBaseLine")). Source : http://support.smartbear.com/viewarticle/30650/ Re: which command is send when using Aliases.SomeForm.Close()?Hi. Alexei, I never understood why those objects are not avalaible in script extensions context. I read the objets Available to script extensions page : http://support.smartbear.com/viewarticle/27796/ Joachim, an easy solution is to store the missing obect in a script extensions run time object property. Win32Api for instance become MyRunTimeObject.Win32Api. Then I assign the MyRunTimeObject.Win32Api with Win32Api in a OnStartTestMethod for instance. When i would use Win32Api in a script, i switch to MyRunTimeObject.Win32Api in the script extensions source code. Works fine. Can't see why i can't be done automatically actually. Regards, Guillaume. Re: HTML5 data-* properties unavailableHi. Thank for the answer. That was exactly what I was looking for. Regards, GuillaumeLast Operation Result for a Custom Conditional Keyword OperationHi. I am trying to create a custom conditional keyword operation that has to get the last operation result to decide wether or not execute something. http://support.smartbear.com/viewarticle/35353/ - Creating Custom Conditional Operations Do you have any idea ? Regards, Guillaume.Re: TableCheckpoint - aqBin file typeHi ! I am still interested in a solution for this problem. For instance, what could be done to solve this Table Checkpoint failed message : Update the "SC_020_040" checkpoint. Unable to find the "Label" column. Since the Label column does not exist, TestComplete won't be able to update the Table Checkpoint... Thus, I have to delete, and create the same Table Checkpoint with the new column header. Regards, Guillaume. Re: Problem with Project.TestItemsHi Cristophe. This as nothing to do with debugging. In fact, TestItems.Current is only available when you run the project. Right click on the project in the Project Explorer, and click Run ... [Project] Project.TestItems.Current is defined. If you run a TestItem directly from the Test Items panel of the project, Project.TestItems.Current will be undefined. Same goes if you run a script or a keyword from the projet explorer. You can find out more about this Current Property. Regards, Guillaume.