Contributions
Re: Is Testcomplete compatible with Angular Material?
Thanks for the replyAlexKaras , I will conclude that the current Testcomplete does not have support for Angular Material framework . It has full support for standard html components including the specified ones specified on the pagehttps://support.smartbear.com/testcomplete/docs/general-info/supported-technologies/controls/index.html only . Regards.4KViews0likes3CommentsIs 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.1KViews0likes5CommentsRe: Automating the Test Link
Hi Saran, No need to to do all that.You can find the Testlink Java API from hereand in your TestLink Config file Config.inc.phpChange the following to true $tlCfg->api->enabled = TRUE; Once you have your API keys in order the code to do all that is as simple as public static void reportResult(String TestProject,String TestPlan,String Testcase,String Build,String Notes,String Result) throws TestLinkAPIException{ TestLinkAPIClient api=new TestLinkAPIClient(DEVKEY, URL); api.reportTestCaseResult(TestProject, TestPlan, Testcase, Build, Notes, Result); } edit: The above java class method can be called within TestComplete as JavaClasses.com_package_AutomatedUpdateExample.reportResult(testProject, testPlan, testCase, build, notes, result) This assumes that you have already went through the TestComplete Java bridge setupprocess2.5KViews3likes0CommentsRe: Compare 2 values
Hi Abrar, I have felt your pain at some point in my life. The point was that I did not know that string compares differently from ints.The quotations in a string mean a lot and simple tab space does not equal to space. My apologies for posting a reply in vbscript but this is what I used and helped me get my sleep back. Function CleanString(strSource) 'On Error GoTo CleanStringErr ' convert tabs to spaces first strSource = Replace(strSource, vbTab, " ") ' convert all CRLFs to spaces strSource = Replace(strSource, vbCrLf, " ") ' Find and replace any occurences of multiple spaces Do While (InStr(strSource, " ")) ' if true, the string still contains double spaces, ' replace with single space strSource = Replace(strSource, " ", " ") Loop ' Remove any leading or training spaces and return ' result CleanString = Trim(strSource) Exit Function 'CleanStringErr: ' Insert error-handling code here End Function Cheers, Mpho2.3KViews2likes0CommentsWhere do I report TestComplete Territory Manager's lack of service ?
Hi there, Three weeks back I deactivated one of my companies licence with testcomplete in order to move it to the next PC. We have been in communication with two of the support team with regards to the fact that we are unable to login via https://my.smartbear.com/login.asp. The way the service is sobad turnaround time is two sometimes three days. How hard can unlocking someone’s account be? I have hammeredthe 'forgot password' and 'Resend my login info' links so many times that I have come to the conclusion theydo not work. Cheers, MphoSolved9 years agoPlace Community Off-TopicCommunity Off-Topic6.2KViews0likes1CommentRunning test scripts on different monitors
I have a problem with Test complete object spy naming one object different names according to which screen you run your tests on . On one monitor the flex object's name is graphic, however when I run the same script on a different monitor same pc it fails, when I try object spy i see that the object name has changed to graphic24 how is that possible ? Here is my sample script : var browser; var panel; var vobject; var edit; var graphic; var edit2; var graphic2; var edit3; Browsers["Item"](btIExplorer)["Run"]("file:///D:/Test Complete CIT Demo Script/ITR14/debug.html"); browser = Aliases["browser"]; browser["BrowserWindow"]["FrameNotificationBar"]["DirectUIHWND"]["Click"](790, 24); panel = browser["pageDebug1"]["panelMain"]; panel["panelColumn1"]["submitbuttonSendbutton"]["Click"](); vobject = panel["panelColumn2"]["objectMainapplication"]; vobject["Graphic"]["Click"](11, 12);7.8KViews0likes1Comment