russelld
3 years agoContributor
Automate Test Cases using Task Scheduler
Hi, I'm trying to automate my test cases using Windows Task Scheduler. The process executes and opens my desktop application but it don't recognize the Alias names that are mapped using Name mapp...
- 3 years ago
As long as the mapping is unique, what you have now should be fine. If the object name changes, as it can on a web page, then you would use a wildcard to address it.
https://support.smartbear.com/testcomplete/docs/reference/misc/using-wildcards.html
If the object name is not changing, I would still look for a timing issue. Here are some things to try:
- Do the Delay again, but put something really long like 2 minutes in the value.
- Put a breakpoint before the line with the failure and step through to see what's happening in each step.
- 3 years ago
Hi,
As Marsha wrote.
Personally I don't like those Index, ObjectGroupId and other properties that you used to map the window. They seem to me to be not stable and thus I would try to find some set of unique and stable identifiers for mapped objects.