Newbie Question about Scripting Tests to run across multiple DB
Hi all,
For starters, I'll be frank - I'm a newbie to QA, newbie to automation, and have no tech background. I worked in hospitality for 12+ years and for the past ~3 years have been with a software dev company that develops Point of Sale (POS) software for use in hospitality. Until recently my main job duties mostly included end-user documentation and content production; occasionally I would assist with manual QA. We're now getting into automation testing with TC and I've been tasked with getting the ball rolling to figure out how we can use TC for our general regression tests.
I've learned a lot over the past couple of weeks from watching the TC tutorials in the SmartBear Academy, webinars, etc. It seems like my biggest weakness with trying to figure different things out is my lack of technical skills and understanding code.
Anyway, the issue that I've been stuck on for the past few days is how we can script tests that will run seamlessly across different test environments and different test databases. The reason being that obviously every customer in the real world will have a different setup in their POS; for example, Restaurant A might have a button for Coke in a certain position on one panel and Restaurant B might have it in a different position on a different panel. Another scenario could be that maybe we don't care which button is being selected as long as a product button is being selected and the product is rung up. Each product button has the same full class name (CFButton) so then TC maps them numerically and I've set up a template to use the TabIndex property to avoid conflicts. Even so, how can I script for TC to click any CFButton regardless of properties? I've looked into using Variables and couldn't work that at. I've also looked into the FindChild and FindAllChildren methods to see if maybe I could use that to return the objects (CFButtons) and go from there somehow. But, how can I actually see the objects being returned? Is there a different method that should be used?
I feel extremely lost on this; my next step will be to just start reading through more TC documentation page by page until things start to come together.
Thanks in advance for any replies or assistance.
- AGR
Hi a_g_reed,
I think you can watch several great learning courses. They will help you get started with TestComplete and scripting. Refer to the following resources:
https://academy.smartbear.com/store?utf8=%E2%9C%93&ss=1&ct=75086&commit=Filter