Test Fails When Running with Tag: Double Parameter Default Issue
Hey, fellow community, I'm facing an intriguing issue with one of my tests, and I was hoping to get some insights from you all. Here's the problem: I have a test that includes an optional double parameter, and its default value is set to 10000. When I manually run the test, everything works perfectly, and the default value of 10000 is used as expected. However, the trouble starts when I try to run the test using the tag. I use the right-click option on the project and run the test with the tag '@tag'. Surprisingly, the test fails, and upon further investigation, I noticed that the value used for the double parameter is 0 instead of my intended default value of 10000. I've already double-checked the tag setup and made sure everything looks correct. It's puzzling why the default value is being ignored when using the tag, leading to the failure. Has anyone encountered a similar issue before or have any ideas about what might be causing this discrepancy? I'd greatly appreciate any suggestions, tips, or experiences you can share to help me troubleshoot this problem and get my test running successfully with the tag. Thank you all in advance for your support and insights!Solved6.7KViews1like17CommentsVisual Studio Integration - Include Test Complete Tests as part of Visual Studio Load Tests
Visual Studio enterprise allows us to create Load Teststo performance test our application. This achieved by creating a series of Web Performance Test scripts and then creating a Load Test setup to distribute the scripts and user load in a controlled manner. (Fig 1) Currently Test Completes support integration with Visual Studio where Test complete scripts can be run via a Visual Studio controller and Test Agent config. But this is limited to only running Test complete tests one by one (Like a regression test suite). Unfortunately a Test Complete script which is in a Visual Studio project cannot be run via the Visual Studio Load Test setup as it does not recognise Test Complete scripts. You get the below error when tying to add the test to a load test config (Fig 2) The reason why Test Complete comes in handy for load tests is because some applications depend on processing in the client end before displaying the results in the GUI (something like a thick client). The time taken for this processing would not be captured via middle tier simulation supported by Visual Studio. Business critical systems which require transaction performance monitored release by release will benefit from the ability to include Test complete scripts in a Visual Studio Load Test as it will allow us to create background "Load" via Visual Studio scripts and monitor real life End to end transaction performance under load via a series of Test complete scripts which run as part of the load test.6.1KViews0likes3CommentsLog4J vulnerability
Hello SmartBear, With recent news about Log4J vulnerability. Could you let us know if there are impacts on TestComplete tool Version 14.xx Source :https://thehackernews.com/2021/12/extremely-critical-log4j-vulnerability.html References: https://www.wired.com/story/log4j-flaw-hacking-internet/ https://www.zdnet.com/article/security-warning-new-zero-day-in-the-log4j-java-library-is-already-being-exploited/ https://arstechnica.com/information-technology/2021/12/the-critical-log4shell-zero-day-affects-a-whos-who-of-big-cloud-services/ https://www.cisa.gov/uscert/ncas/current-activity/2021/12/10/apache-releases-log4j-version-2150-address-critical-rce https://www.randori.com/blog/cve-2021-44228/Solved5.9KViews0likes3CommentsIP Address fetching for remote machine using C#Script
Fellas, Am using this piece of code to fetch the IP ... wmiServ["ExecQuery"]("SELECT IPAddress FROM Win32_NetworkAdapterConfiguration WHERE IPEnabled = 'True'"); Which is returning 'null' I tried with given my NIC card description withno imprvements. \ wmiServ["ExecQuery"]("SELECT IPAddress FROM Win32_NetworkAdapterConfiguration where IPEnabled='True' and Description ='Intel(R) 82579LM Gigabit Network Connection'"); Help this novice guys ...Solved5.6KViews0likes2CommentsRead excel data/links in javascript test complete
Hi team, I have tried to read the data file using javascript in test complete.But shows error as "Type error: cannot read the property 'SheetByTitle' of null" functionExcelRead() { varexcelFile = Excel.Open("C:\\temp\\DataStorageExcel.xlsx"); varexcelSheet = excelFile.SheetByTitle("Sheet1"); varvalueA = excelSheet.Cell("A", 3).Value; varvalueB = excelSheet.Cell(2, 3).Value; varvalueC = excelSheet.CellByName("C3").Value; } Can any one help regarding this issue or I want to fetch the weblinks from excel file one by one that links need to execute. Thanks in advance.Solved5.1KViews0likes4CommentsDouble-Monitor and Logging ...
Hello, I work with two monitors and after running Keywordtests the pictures in the log are showing the secound (for testing unused) monitor. It´s not necessary to make a picture of both screens and I think nobody uses two screens for testing. So pleasechange the process of screenshot making limited to one screen only or make it chooseable from which screen pictures are been taken. Attached Screenshot is showing my secound (blank) screen on the left side.5.1KViews3likes3CommentsSupport for FireMonkey / FireUI
TestComplete lacks support for testing of Delphi / C++Builder applications that are using the FireMonkey / FireUI cross platform framework.The only options are to use OCR or low-level mode tesing, making UI testing cumbersome. The FireMonkey framework is actually widely accepted and getting momentum in the Delphi community, and missing support for FireMonkey is quite a pity.4.9KViews4likes2CommentsHow to read a JSON file
Hi experts, I wanted to read and work with JSON files. Is there best ways to read JSON files using TestComplete? I wanted to trigger the script to fetch the JSON file and do curtains operation by fetching the data from it. Plz suggest best ways to do so. TIASolved4.3KViews0likes8Comments