Contributions
Re: Environment Specific Configuration/Variables
This sounds like a really good idea - my rough draft is to create excel tables with property/value pairs and then use a script to read from the sheet and create project-level variables. And then for Ci/CD runs I can set the sheet as a command line parameter. Thank you for the suggestion.1.1KViews0likes0CommentsEnvironment Specific Configuration/Variables
Hello - I use TestComplete to test a web app that exists in different environments (DEV, QA, Staging, etc.). One issue I have is that when I want to run tests in a different environment, I need to manually change data in either TestComplete data-tables, TestComplete project-level variables, or my Excel Sheets. So every time I change environments, I need to change the URL, the test users, some of the input data, etc. Obviously this is getting tiring, and sometimes we forget to change certain properties which wastes time. In Selenium/Protractor, I would just create different config files and then pass in a command line argument to determine which config file to use. Is there a way of doing that in TestComplete, or are there any other ways to manage running TestComplete with different variables/properties?Solved1.1KViews0likes3CommentsDisable Form Editor auto-insert
I have loaded a WSDL to send SOAP requests, and the schema I am using has a list of objects, each with multiple fields. Because of how our data-driven testing is setup, for some of these objects we store the entire section of XML in one single property (versus one xml field = one property) <ObjectList> <Object1> <someField1>$Property1</someField1> <someField2>$Property2</someField2> </Object1> <Object2>$Object2Property</Object2> </ObjectList> If I accidentally leave the Form Editor open and start my tests, it "helpfully" adds required fields: <Object2>$Object2Property<someField1/><someField2/></Object2> Which causes a WSDL validation error because those fields are duplicated (someField1 and someField2 and already included in $Object2Property). Is there anyway to disable this behavior? It's not a critical issue or anything, it's just super annoying because I do use the Form Editor on occasion but I jsut forget to switch to a different Request Editor window before starting a bunch of tests, and this causes failures. And I need to re-edit the XML to remove these extra fields that have been added in. I have "Remove Empty Content" set to true but that has not helped.Solved4 years agoPlace ReadyAPI QuestionsReadyAPI Questions951Views0likes2Comments