Is Testcomplete compatible with Angular Material?
I have this html , taken fromhttps://material.angular.io/components/select/overview To see the rendering of the code below go tohttps://stackblitz.com/angular/vvqbegyprlm?file=package.json <form> <h4>mat-select</h4> <mat-form-field> <mat-select placeholder="Favorite food" [(ngModel)]="selectedValue" name="food" role="SELECT"> <mat-option *ngFor="let food of foods" [value]="food.value"> {{food.viewValue}} </mat-option> </mat-select> </mat-form-field> <p> Selected food: {{selectedValue}} </p> <h4>native html select</h4> <mat-form-field> <select matNativeControl placeholder="Favorite car" [(ngModel)]="selectedCar" name="car"> <option value="" selected></option> <option *ngFor="let car of cars" [value]="car.value"> {{car.viewValue}} </option> </select> </mat-form-field> <p> Selected car: {{selectedCar}} </p> </form> when I spy this object it finds all the panels for the <div class...> objects but doesnt recognize the <mat-select class...> but it correctly identifiesnative html select <select> with wSelectedItem property . Does Testcomplete not support custom html tags? Or is it somehow possible to add those custom html tags to the object spy4.1KViews0likes5CommentsFollowing migration to TestComplete 14.61 and Firefox 81, pages and objects are no longer recognized
Hello everyone, I have a problem because on my automatic test development machine, I was with TesComplete 14.60 and Firefox 77 and everything worked perfectly. Having updated TestComplete to version 14.61, I saw that it supports Firefox version 81 (https://support.smartbear.com/downloads/testcomplete/firefox-patches/). I didn't check that TestComplete was still compatible with Firefox 77 and I updated Firefox to version 81. Result,pages and objects are no longer recognized 😪. On the same machine, TestComplete 14.61 is still compatible with Chrome 80🤔 I rechecked the Firefox settings (https://support.smartbear.com/testcomplete/docs/app-testing/web/general/preparing-browsers/firefox.html)and everything is okay. Where can the problem come from ? I tried to reinstall Firefox 77 but that doesn't work anymore either. thank you for your helpSolved4KViews0likes7CommentsTestComplete and CrossBrowserTesting Integration
We have licenses for the TestComplete Web module and a separate CrossBrowserTesting account we have been using for a little over a year. When I try to login with the CBT Environment Manager within TestComplete, it doesn't recognize my login credentials. Is the Environment Manager a separate license from CBT that needs to be purchased in order to use it?Solved3.6KViews0likes4CommentsCan we do Graphs and Scaling validation with testcomplete
Currently we had an application which is having graphs. The graphs are generated in the AUT based on the data in excel. I tried object recognition, but the whole graph is showing as an object and object type is showing as 'CANVAS' Can we able to validate the graphs and scaling points created on x and y axis using testcomplete using that data? Should Intelligent Quality add on do any help for the above scenario? Please see attachmentsSolved3.3KViews0likes5CommentsQuestions about Browser Looping
I am evaluating this product for possible use with for the company. I am attempting to create a test that will run on both Chrome and Edge. I created the test using Chrome and when I originally ran the test on Chrome it works perfectly. Now I have added the looping function to it but when I do that the system launches the Chrome browser then launches the Edge Browser and hangs there eventually it completes the test run for Chrome but doesn't do the test run for Edge using the same steps. Is there a configuration to the Looping feature that is needed? So that it will run all the steps on both browsers.2.9KViews0likes20CommentsInvalid Callee in Firefox
TC10 does not add empty span objects to the object browser, which means you can't add them to your NameMapping file. I am using the code below to click one of these empty span objects in order to work around this 'feature'. The code works fine in IE 11 and Chrome, but returns aVBScript runtime error when used in Firefox. VBScript runtime error: Invalid callee Any ideas on a work-around? Google isn't turning up anything useful. Field = "Aliases.App.SendEmailForm.EmailIconBar" Value = "Send Email" Set objField = Eval(Field) For i = 0 to objField.childElementCount - 1 Set ChildItem = objField.children.item(i) 'Firefox - Runtime error: Invalid Callee If ChildItem.nodeName = "SPAN" Then If ChildItem.Title = Value Then '# ChildItem.Click only works in IE. The Click method doesn't exist for this object in Chrome or FF 'ChildItem.Click '# Rect works for IE and Chrome. Set Rect = ChildItem.getBoundingClientRect() x = Rect.right - Rect.left + 1 y = Rect.bottom - Rect.top + 1 Call objField.Click(x, y) fClickEmptySpan = 1 Exit Function End If End If Next <div class="emailIconBar"> <span class="uIcon hover send" onclick="sendEmail(this)" title="Send Email"></span> <span class="uIcon hover saveDraft" onclick="SaveDraft(this)" title="Save as Draft"></span> <span class="EmailBranchSetupError"></span> <span class="DocumentSelect hide" style="display: none;"></span> </div> This recent topic covers the same kind of issue, but it didn't look like Firefox was being tested: http://community.smartbear.com/t5/Functional-Web-Testing/Click-method-not-accepted-in-chrome/m-p/100484#U100484Solved2.4KViews0likes2CommentsUnable to execute script on CBT
In Crossbrowser testing when we are executing our script on (window10 and firefox65 (64 bit)) facing an error "Another browser is used." for full details kindly check the attachment. Also check below code, here in parameter BrowserName have chrome as per my test data and in CBT I am executing on firefox, I think this the problem. Sub OpenBrowserWithURL (BrowserName,URL) Dim firefox,InternetExplorer,Chrome,Edge If (BrowserName="Firefox")Then Browsers.Item("firefox").RunOptions = "-P ""Tester""" Sys.Browser.BrowserWindow(0).Maximize ElseIf (BrowserName="InternetExplorer")Then Browsers.Item("iexplore", "11", Browsers.pX64).Run URL Sys.Browser.BrowserWindow(0).Maximize ElseIf (BrowserName="Edge")Then Browsers.Item(btEdge).Navigate(URL) Sys.Browser.BrowserWindow(0).Maximize ElseIf (BrowserName="Chrome")Then Browsers.Item(btChrome).Navigate(URL) Sys.Browser("chrome").BrowserWindow(0).Maximize Log.Checkpoint("Browser Name: "&BrowserName) Log.Checkpoint("URL: "&URL) End If Browsers.Refresh End Sub2.3KViews0likes7CommentsA question about Checkpoints
I have various checkpoints that are going to be setup with this product however as I create new data my the values will be different than what the baseline would be. For example say the baseline uses my name with all the appropriate information in the data. However, I want to set it up as a variable where the checkpoint might have my name but then the next day I have a new persons name and I want to have the checkpoint so that if that new person runs the script it will pass because it is setup correctly with a for various people and different data that may be entered throughout.2.2KViews0likes10CommentsCrossbrowser Object mapping: Object correctly detected in one browser not detected in the second
Hi all, just a post about something I've noticed when working with mapped object between Firefox and Chrome. I was having issues getting some mapped objects to be detected in the second browser having mapped successfully in the first. In all cases I was using some text property, e.e. innerText, to identify the object and there appeared to be no difference in the text property between the two browsers, when I examinded using object spy etc., and hence no obvious reason why the mapped object could not be found by testcomplete in the second browser What I have discovered after trial and error is that there appear to be unseen/invisible characters within the text property itself and that this is why testcomplete cannot identify the object in the second browser. Workaround I have found is to delete the extra invisible characters and also to wildcard the beginning and end of the text string. In namemapping editor select the object and open the edit object properties dialog, select the property and click the edit icon, object property edit dialog is presented. Click at the start of the string and use the "Delete" button on keyboard to remove any unseeen characters that may be occurring at the start of the string.(presence of unseen chars at start of a string is noticeable in that the cursor does not move even though the key has been pressed, until all unseen chars have been deleted at which point the string characters will then start to be deleted) Click at the end of the string to move the cursor and use both the Delete and Backspace keys to remove any potential unseen chars at the end of the string. (presence of unseen chars at end of a string is most noticeable when using Backspace, the cursor does not move even though the key has been pressed, until all unseen chars have been deleted at which point the text string characters will start to be deleted) e.g. I have a dialog with titie bar text Add task, which was not being detected by testcomplete in the second browser. I edited the innerText property value, performed the deletion and saved the changes. The dialog was then detected in the second browser. Ocassionally deletion of the unseen/invisible chars does not work and the object still cannot be found by testcomplete in the second browser. In these cases I also add wildcards to the beginning and end of the text string, after performing the deletion steps, and the mapped object is then correctly detected in the second broswer. For example: *Addtask* Hope this is of help to someone out there trying to figure out why your mapped objects are not being detected between different browsers. And if anyone can shed some light on what exactly is happening to create the unseen/invisible characters in the mapped object property I'd love to hear about it. Regards Tom.2.2KViews2likes3Comments