Is TestComplete compatible with FireFox ?
Hi, I'm trying to use TestComplete with FireFox 61.0.1 , but TestComplete is not recognizing the objects on screen . I applied all the recommendations mentioned inPreparing Firefox for Web Testing, but didn't work:smileysad: I even tried to install FireFox 59 and also didn't work :smileysad: And I see the same issue in Chrome ! Any help please ! Thanks RaghdaSolved4.3KViews0likes15CommentsIterating through items
Hey everybody, me again This time, my issue is that I have to iterate through a series of objects. The objects have objectID '0', '1', '2', and so on, but the amount of objects is not fixed. What I tried is creating a Project Variable, and go for while(Aliases.browser.pageCockpit.frameUserMenu.panelIterative.Exists) { Aliases.browser.pageCockpit.frameUserMenu.panelIterative.Click(15, 20); Project.Variables.panelIterativeIdentifier++; } And set the ObjectID identifier in namemapping to panelIterativeIdentifier as well. It just doesn't work, it keeps going for the object with the ObjectID of 0. What am I doing wrong?Solved4.2KViews0likes9CommentsHow turn off feature - find a similar object? [TC 12.31.1833.7, Firefox 52.0.2 (x32)]
Hi all Anybody canexplain what I must do thatfeature was off ( I meanfind a similar object ) I will give an example: In NameMapping I had mapping some object with next properties with values: 'ObjectType'='Button', 'Visible'='True', 'Exists'='True', 'Enabled'='True' and 'className'='btn*' (I test web) Next When my test was finished in log I foundwarning event - An object recognition hint. Where in Additional Info I was saw next Info 'A similar object has been found' and table Property Mapping Value Found Action ObjectType Button Button X Enabled True False Update Visible True True Exists True True className btn* btn _fill _disable Therefore, the attention of the question, comrade connoisseurs - What I must do that turn off thathell feature 'A similar object has been found'? I DON'T WANT that script spent time for found some asimilar object and I DON'T WANT had some warning event in log about that Because,I already know that inat a certain moment mapping object cannot exist, that's why I wait when objectto be ObjectType'='Button', 'Visible'='True','Exists'='True','Enabled'='True'and 'className'='btn*' Thanks.4.1KViews0likes12CommentsIs 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 helpSolved4KViews0likes7CommentsLaunch Browser in Incognito/Private Mode
Thought of sharing the code in the community for launching browsers in their incognito modes. The function is parameterized such a way to run for the browsers Internet Explorer, Edge, Chrome and Firefox. Hope it will be useful for more people. function runIncognitoMode(browserName){ //var browserName = "firefox" //iexplore,edge,chrome,firefox if (Sys.WaitBrowser(browserName).Exists){ var browser = Sys.Browser(browserName); Log.Enabled = false // To disable the warning that might occur during closing of the browser browser.Close(); Log.Enabled = true // enabling the logs back } if(browserName=="edge"){ Browsers.Item(btEdge).RunOptions = "-inprivate" Delay(3000) Browsers.Item(btEdge).Run(); }else if (browserName=="iexplore"){ Browsers.Item(btIExplorer).RunOptions = "-private" Delay(3000) Browsers.Item(btIExplorer).Run(); }else if (browserName=="chrome"){ Browsers.Item(btChrome).RunOptions = "-incognito" Delay(3000) Browsers.Item(btChrome).Run(); }else if (browserName=="firefox"){ Browsers.Item(btFirefox).RunOptions = "-private" Delay(3000) Browsers.Item(btFirefox).Run(); } Sys.Browser(browserName).BrowserWindow(0).Maximize() }3.7KViews8likes3CommentsCan 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.3KViews0likes5CommentsTestcomplete 14 SaveResultsAs does not export summary.htm
Hi, I use Log.SaveResultsAs(FileName,LogFormat,ExportVisualizerImages,LogScope) for export Testresults in HTML after the testrun, call is : Log.SaveResultsAs(logpath, lsHTML, true, 0), logpath is defined in a variable. Testcomplete 14 has the summary report (summary.htm), when I call the export from Testcomplete ID or with commanline parameter, the file summary.htm will be exported, but when I use Log.SaveResultsAs the file summary.htm will be not exported. Is there something wrong with my call for Log. SaveResultsAs or does Log.SaveResultsAs not support the export of summary.htm? greentings Martin StrombergerSolved2.6KViews0likes4CommentsTC fails to find button when screen resolution change from 1152X856 to 1920X1024
Hi, When I have a Flex object mapped using property other than ID, TC fails to locate the object correctly when screen resolution change. Selecting an objectg using the Object Browser tree that does not use ID, at 1152X856 resolution I see the object (button). At the higher resolution of 1920X1024, selecting the same object results in a different section of the page to display, not the object displayed with the lower resolution (button). Objects mapped using ID experience the same issue with the object browser, however TC does locate the object correctly during the play. TC version 12.10.6027 Firefox: 60.1 Flash Player Debugger: 32. Is these a way to recreat the obeject mapping when the screen resolution changes? Thanks, FredSolved2.5KViews0likes5Comments