how to get name of a keyword module started from another keyword module
Hi guys, is there a programmatic way to get the name of a keyword module, started from another keyword module? I need to identify a failing module in event handler. I'm aware of these methods, but all of them return only the name of main module, from which the child module was run (viaRun Keyword Module): Project.TestItems.Current.Name - returns name of the main keyword module aqTestCase.CurrentTestCase.Name - returns name of the main keyword module Project.TestItems.Current.ElementToBeRun.Caption - returns "KeywordTests -" + name of the main keyword module For now, I solved the problem by adding Set Variable Value action at start of every keyword module, which sets the project variable with hardcoded module name. But I don't like this solution, because it requires more steps and can cause potential failure in case the module name changes and someone forgets to change also the hardcoded string in given module.Solved22Views0likes3CommentsAzure Devops Release Pipeline with tags - Not running expected test
Hi all, i'm trying to setup a release pipeline in AzureDevops that will run tests with a specific tag. However when i run the release, it keeps on running all the tests and not just the one with the tags. I'm trying to figure out what im doing wrong here...I I tried to use both the /tags: and /test: parameter none works... Also i tried on the build machine to run it in command line and it works: "C:\Program Files (x86)\SmartBear\TestExecute 15\x64\Bin\TestExecute.exe" "C:\.....\SESInstaller.UITestSuite.pjs" /run /project:"SESInstaller.UITests" /tags:"@DoNothingTest" What am i doing wrong? Thank you!Solved69Views0likes6CommentsAdding a Table data value in Log Message for Keyword Test
Hello All, I am using keyword test and would like to know if it is possible to customize a log message with Table data value from a csv file. I have used the data driven loop and need testcomplete to display a customized log message having details for the current table data value. I am trying to use code expression option in the "log message" module as below to display a customized message with Table data but i am getting a runtime error when executing the script. My requirement is to display a message having a customized string + table data(from csv). Can anyone help me for this requirement. Regards Vivek.SSolved56Views0likes5CommentsAccess a child in a tree Structure through Keyword Strokes
Hi, I am trying to select the child members available in a tree structure using the keyword strokes method. In the past, I normally use the on screen command to select the tree and use the ClickItem or SelectItem operation and select the child by its name with names not fixed but keeps changing dynamically. is there any way , to choose the child members based on index value (i.e child[0], child[1] to select the appropriate child). I would like to do this using the Keyword Strokes rather than Scriptiing method. Please help and suggest me how to proceed in select the child using the keyword strokes based on index value. Thanks in advance. Vivek.S47Views0likes5CommentsTextbox values disappear after adding Year value from Date Picker
I'm testing on an Electron-based Desktop application, in which I'm trying to create a new order. When I run the keyword test for automation with excel sheet as the data being inputted, the 3 textbox that I have each gets properly filled up with the text from the excel file, but when it reaches the dateInputStartDate, entering the date makes the values from the 3 previous textbox disappear. I've been trying to fix this by changing the values of the date to string, putting quotations, and just having something like "05152024" instead of 05/15/2024. What's also weird is that when TestComplete enters the day and the month, it doesn't make the values in the 3 textbox disappear, but when it gets to the year portion, that's where the problem arises. Any idea of how to go about this next?62Views0likes4CommentsApp does not work when manipulating mobile screen screen in TestComplete
I am currently setting up an appium server locally and using an actual device to create a test case for a native android app, but the app does not move when I operate (click, etc.) the app screen that is displayed on the mobile screen. (No response from buttons, etc.) Sometimes the app moves about 3 seconds after the click. The mirroring function of AndroidStudio worked fine on the same device and cable. If anyone knows of any solutions, please let me know.23Views0likes0CommentsChange the OS region format all at once
Hi all, is there a way to change the regional setting so that we change the format based on a given format such as French-France ('fr-FR') : I saw that i can use the script to change the SetLocaleInfo to change each properties one by one, but i would prefer to use the Format pre-set settings to tests. Thank you.Solved98Views0likes2CommentsKeyword Test - Click - use -1, -1 by default?
Hi all, When recording my tests, i noticed that from time-to-time control clicks are recorded using x=-1 and y=-1 (basically clicking at the center of the control). This is perfect and what I want most of the time. But sometimes I noticed that the recording is done using a fixed relative position. Is there a way to prevent that, at least for certain controls? Most of the time I won't pay too much attention to this, but in some of my UI the controls may resize itself based on the space available and therefore any Click keyword not using -1, -1 will fail since the click would be attempted outside the control. So is there a way to control the default behavior of this? Thank you27Views0likes4CommentsBrowser alert text showing as empty
TC is not recognizing the text in the browser alert. It used to be able to. I am aware the TC documentation says it only supports up to version 121 of Edge/Chrome however I have almost always been ahead of the "supported version" and usually things still work. Is this truly related to browser version? Is anyone else experiencing this? Is there any workaround? TC: 15.62.2.7 x64 Chrome: 123.0.6312.59 Edge: 122.0.2365.10647Views1like2CommentsKeyword testing and object not found error
I figured it out, posted solution in the comments. Live and learn :) Hello fellow testers, I need some advice. I made a keyword test that would close all of notifications by clicking little "x". I set up a While loop condition, While "CloseNotification"=visible, this works, but once the Xs are all clicked and gone I get the error, "The Object CloseNotification does not exist." How do I set up a loop that doesn't cause an error when the condition Exists, or Visible is no longer met. Thanks! PS. dont mind If...Then it has the same condition as the While Loop, I only added it so I could try to set up a log with Else statement.Solved29Views0likes1Comment