Forum Discussion
If you are using environment variables to help the switch, then read about those here
https://support.smartbear.com/testcomplete/docs/testing-with/advanced/environment-variables.html
To make your name mapping and object references flexible, read about wildcards here
https://support.smartbear.com/testcomplete/docs/reference/misc/using-wildcards.html
- RamateerthP2 years agoNew Contributor
Hello,
Thanks for your reply.
I would need this for window based application implementations, as I don't find the navigation path to reach the name mapping as well as operational parameters as per links
Any sample codes to invoke that application as well as tag the same to the respective test data which could be taken for the execution and finally taken for the execution, that would be a great help.
- Marsha_R2 years agoModerator
If you are using separate name mappings, then your tests for each environment will need to be in separate projects. You can't pick and choose a name mapping at runtime.
If your name mappings are similar enough, then you can use the wildcards as I mentioned earlier and make one name mapping that works for all tests.
You can use project or project suite variables to store the names and/or paths of your data files and whatever output you want.
- RamateerthP2 years agoNew Contributor
hey All,
I would need help on, how do we need to import the test data with respective to the recorded scripts for window based applications? I meant if it is through excel file or any keyword driven approach which needs to mention the action type, data with respect to the test case, or any OleObject method needs to be used to import the test data for execution with respective to the test case? If it had been implemented by someone already in their project, please share the approach and strategy. I did updated the recorded script with an approach of object properties identified through test complete, but I got the Javascript error, as type script mismatch, also that was not the right approach either when we have 500 windows applications to automate. Please suggest and guide me on this.
Thanks
Related Content
- 9 years ago
Recent Discussions
- 2 days ago