Contributions
User of wildcard in aqString.Replace() function
I am trying to delete the file extension from the file name string by using below code snippet. But in replace function use of a wildcard is not working. What am I missing here? aqString.Replace(KeywordTests.Verify_Attachements.Variables.UploadedFiles.Value('FileName'),'.*','',false) PS: I am trying to trim the string not dealing with an actual file.11 months agoPlace TestComplete QuestionsTestComplete Questions249Views0likes2Comments- 12 months agoPlace TestComplete QuestionsTestComplete Questions579Views0likes0Comments
Re: How to change value to variable in "Edit Property Checkpoint"?
Click on Finish here. It will add the checkpoint in your test case, then go to that checkpoint and try to click towards the edge of the Value column (it is kind of a struggle here), you will see three dots '...' click on that there you can set it for the expected result.12 months agoPlace TestComplete QuestionsTestComplete Questions402Views0likes0CommentsRe: ReadyAPI-TestComplete Integration - Having issue with passing values to TC project variables
I tried that too,I tried all possible combinations for example - "/pv:{varaiable1 name}={variable1 value},/pv:{variable2 name}={variable2value}..." OR"/pv:{variable1name}={variable1 value},{variable2 name}={variable2 value}..." OR "pv:{variablename}={variablevalue}; {variablename}={variablevalue}.." and for each, it maps the entire string to the first variable, varaible1 value ={variable1 value},/pv:{variable2 name}={variable2value}... P.S. It is a possibility that I am missing something.. Please share if anyone knows.12 months agoPlace TestComplete QuestionsTestComplete Questions321Views0likes0CommentsRe: ReadyAPI-TestComplete Integration - Having issue with passing values to TC project variables
If anyone runs into a similar issue then I would like to share it here- 1. Figured out the error I was getting with option 2. I had the space after the equal sign '=' in my command line and that was throwing the error when TC was getting launched. I am successfully able to pass the project variable value to the TC project after removing the space (there should be no space in the argument). However, through CommandLine we can pass value only to one project variable and have no ability to dynamically pass the variable value in ReadyAPI -TC editor. Therefore it was a go for me. I found option 3 - Use CSV file instead of Excel to transfer the project properties and it is working as expected, no drivers issue.12 months agoPlace TestComplete QuestionsTestComplete Questions335Views1like2CommentsReadyAPI-TestComplete Integration - Having issue with passing values to TC project variables
I am executing a TestComplete test case from the ReadyAPI and I need to pass values to three TC project variables. I have tried these two options but they are not working. Please help - Option 1: I am storing the variable values in an Excel spreadsheet while executing the ReadyAPI test case, TestComplete test case creates a copy of that Excel and reads the value of the copied Excel spreadsheet. The issue is when I run the TC test case by itself then it executes fine and works as expected, but when I run the ReadAPI test case (ReadyAPI executes the TestComplete test case) the TC test case fails with an error - "Unable to evaluate the operation's "NewValue" parameter. Error: The needed data source driver is not installed or is not configured properly. To read data, install the 32-bit version of Microsoft Office 12.0 Access Database Engine OLE DB Provider. It is part of Microsoft Access Database Engine 2010 Redistributable. You can find it on the Microsoft website" Option 2: (Use Command-Line) -In ReadyAPI -TestComplete editor in 'Other args' field, I am passing variable value as "/pv:{varaiable name}={varaiable value}" When I execute the ReadyAPI test case, it launches the TC and gives me the error - "A command-line variable cannot have the "{variable name}" name."Solved12 months agoPlace TestComplete QuestionsTestComplete Questions388Views1like4CommentsRe: How to handle '↵↵' character in property checkpoint
Thank you, everyone. I have tried all your suggestions and wasn't able to have success. However, I have found another workaround using which I can assert the full text including paragraphs without running into any hidden characters issues. I am saving the object text to a variable and then using the IF condition to assert it against the Excel value. When a match is found I am logging the checkpoints (log.Checkpoint()) else error (log.error()).12 months agoPlace TestComplete QuestionsTestComplete Questions393Views0likes0CommentsHow to handle '↵↵' character in property checkpoint
I am using Excel as the data source to compare the field text. I have copied the exact same data from the text field to Excel for comparison. Still, the property checkpoint is failing, as the actual result contains code '↵↵' to represent the next line, while the expected result text contains code '↴↴' for the same... I tried to replace the'↵↵' with '↴↴', but that also not helping.Solved456Views0likes4Comments