Making a URL semi-agnostic Page object in Keyword Test
Hello All, My question is quite brief. I am trying to automate a website with a Keyword test. Let's call it: https://www.test.com Suppose that after I save something on this website, the URL changes to: https:/www.test.com/12WJQ4L/ Afterwards, I want to do one or two actions on the screen, and then I close the page. The problem is that the end of the URL changes whenever you make different changes to the initial site. So next time I open, manipulate, and save the page, the URL is: https://www.test.com/63XTY8K/ In code, I'm sure you could do something to the effect of "https://www.test.com/" + * + "/" to identify the Page, but I don't see how I would use a code snippet in this case. Is it possible to create such a dynamic URL Page object in a Keyword test? Thank you,Solved14Views0likes3CommentsVideo recording of Text Execution
Hello to everyone! I installed the VideoRecorder Extension and the last version of VLC Media Player. When I try to record a test execution in the log tab the following sentence appears: "Unable to start video recording. The VLC recorder is not installed." Why does this message appear? I uninstalled and installed again VLC but it continues to appear. How could I solve this problem? Thanks in advance to everyoneSolved1.1KViews0likes8CommentsScreenshots in Keyword test to document steps
Hi! How to attach a screenshot in Smartbear's Testcomplete to a single test step of type 'Property Checkpoint' or of type 'Run Script Routine' in the keyword testing mode like is it done automatically during an 'On Screen Action' operation with 'Capture images' flag enabled the Visualizer settings? The option 'Tools' -> 'Current Project Properties' -> 'Visualizer' -> 'Collect Test Visualizer data during test run' -> 'Capture images' (activated) binds the screenshot to the script function and not to the calling keyword test step as expected. Used Testcomplete version 15.62.2.7 x6490Views0likes11CommentsExecute same Keyword test on different Environment
I have created a keyword test and now need to execute the same test in both the UAT and INT environments. However, the web elements captured in the UAT environment are not being recognized when I run the test in the INT environment. I have also attempted to use JavaScript mode, but the issue persists. Upon analysis, I discovered that the tool requires mapping two elements for the same web element in the Object Mapping. Has anyone else encountered this issue? Added Screens for your reference. Thanks, Sudam.Solved31Views0likes3CommentsHow to call/get a keyword test ID in Testcomplete?
I am uploading file A from keyword test (UPLOADFILE_A) from Testcomplete to our site. After file is uploaded in our site, it takes 20/30 mins on our end to process the file and after the file is processed I want to let know TestComplete to upload file B. How can I call Testcomplete and let it know to run the Keyword test (UPLOADFILE_B) that uploads File B. Need help, thanks63Views0likes6Commentshow 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.Solved32Views0likes3CommentsAzure 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!Solved102Views0likes6CommentsAdding 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.SSolved63Views0likes5CommentsAccess 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?62Views0likes4Comments