Keyword vs Scripting in Test Complete 12
Hi all: I searched in the forums and this discussion occurred years ago but I feel that things may have changed in the latest version. My question is this: Scripts vs keyword tests-- which is better for a .Net VB application? I am currently working on building an automation infrastructure/library for a suite of applications written in Visual Basic with highly visual components. I do have scripting/programming experience in automation, but it seems if keyword tests-- you get more bang for the buck. I have figured out how to call various aspects of my application and do checkpoints via keyword tests. What is the advantage of recording a script test or writing one within the confines of test complete? I am not really seeing any benefit here. Also is it true that if you write a script from scratch you cannot get a visualizer component? Thanks! MicheleSolved5.7KViews0likes7CommentsUpdated: Visual Testing steps in TestComplete ?
Visual testing bugs are valued these days, how to go visual testing to capture the bugs. Can you share your suggestions or steps for the same ? Example: The Logo in a website is validated with the HTML tag Associated but how to check if the logo has changed.4.2KViews0likes11Commentshow call I call the argument function
Description: I used the additional command line to try to pass the temporary variable from testcomplete to Jenkins as a parameter. I have the probelm with the coding in the testcomplete. I would like to know how could I pass my value as a paramter from testcomplete to Jenkins.Solved3.9KViews0likes2CommentsTestComplete unable to identify any object - C++ Application
Hello All; I am a very new user to this product and was wondering if there are any helpful tips to get TestComplete to recognise my application. The application I would like to automate is a Point of Sale application based on C++. This is a legacy product but is still in mass use today. When I attempt the Object Spy on the window it can only discover the whole application (runs in Full Screen) (POS1.JPG). I get a UIAObject for the application (Compris_GPOS) with a blank visualisation. I am unable to record any clicks or screen outputs past this and a little stumped. We have been informed that the application may not be suitable for automation, but looking on the SmartBear website is states ANY 32/64bit application, so a little confused. Any tips would be greatly received. Many thanksSolved3.4KViews0likes6CommentsTest Visualizer doesn't capture screenshot for any user action
Hi, While recording, Test Visualizer is unable to capture any screenshots for any of the user actions. I have attached a screenshot of the same and Test Visualizer settings that I have in Project Properties. Version: 12.42.3048.7 x64 Window 7Solved3.4KViews0likes5CommentsWhat Visualizer Files should be put under Source Control, if any?
TestComplete's Git plug-in can choose all the necessary files that are needed and optional to enter source control; however, it is recommended by SmartBear not to choose this option as it will include all the image files collected and this can slow down the retrieval process from Git to a user's test box. Therefore, I need to individually select what image files will be needed. I know that image files used for "region tests" a will be stored, which is desired, and I know I won't select the .png files; however, should the TestVisualizer files .tcVis and .xml be choosen for source control? .tcVis - Index files that store links to image files shown in the Test Visualizer panel. .png - Images that are shown in the Test Visualizer panel. .xml - Files that store information about the objects displayed in the images shown in the Test Visualizer panel.Solved3KViews0likes3CommentsReturn False from a KeywordTest on any Error
Hi all, I'm on a mission to make my tests run endto end without stopping because there was one failure. I know you can configure TC to continue/stop on error, but what I'm trying to acheive is to be able to run consecutive KWTs and if one KWT fails, all the KWTs that follow that are dependant on this KWT will get cut out, but the ones that aren't will still be run. e.g. KWT CreateOrder: Navigate to page -> enter data -> save ->return true/false KWT VerifyBasket: Open basket page -> check fields ->return true/false Now, you have KWT OrderProcess: KWT CreateOrder if(lastresult==true) KWT VerifyBasket KWT ChangeProfile As you can see, KWTChangeProfile is not dependant on KWT CreateOrder at all, so should still run, it's just KWT VerifyBasket that needs to be left out. Now... I can write a KWT that returns a true/false at the end of the KWT, but how do you handle if one of the steps halfway down the KWT logs an error ? If TC is configured to stop, KWT ChangeProfile won't happen. If TC doesn't stop, KWT VerifyBasket will error all over the place and keep wasting time trying to find objects that don't exist etc. It's not reasonable to check each and every single possible error in all environments on each step of the KWT and return false, so is there a way to tell my KWT onError, return false ? Could it be as simple as wiring up an event like so ? function GeneralEvents_OnLogError(Sender, LogParams) { return false; }3KViews0likes5CommentsAdvanced TestComplete SmartBear Academy class!
Hello everyone! We are really excited for ouradvanced TestComplete 301coming up next week! The class isTestComplete 301: Testing Web-Services with TestComplete(8/29@ 2-3pm ET). If you want to join, register athttps://smartbear.com/academy/ Hope to see you there!2.3KViews0likes0Comments