Forum Discussion
Thanks for the reply.
Following are the reasons for failing most of the test cases:
1. Object is present in the screen still not able to identify with object.
2. There was an attempt to perform an action on a zero-sized window.
3. TestComplete Chrome Extension Is Not Installed or Is Disabled error we got but next test cases are executed.
4. Unable to evaluate the operation's "Text" parameter. Error: One or more arguments are out of range
5. Sometimes click function is not happening(Indiviually if we run the test case working fine but all together if we run getting failed)
Regards,
Nakshatra.
All except #3 sound like object identification or timing issues, but we would still need more specific details about the fails; logs, screenshots of your namemapping, object browser, code examples etc..
#3 I believe is a bug with test complete, we see that sometimes as well, your best bet for this would be to open a support ticket with SmartBear directly.
- tristaanogre6 years agoEsteemed Contributor
As cunderw mentioned, everything but #3 are probably timing issues. And they could be any number of reasons why the timing issues. Generally speaking, you'll need to examine each fail point and determine what wait actions need to be put in place in order properly determine the appropriate time to execute the next step. Sometimes it's waiting for a component on screen to appear, sometimes it's waiting for a component to be enabled. Each point is a different potential solution. For us to help, we'd need a lot more details and we'd need to approach each specific scenario individually as they all may have different solutions to put in place.
Howevre, to sum up, it's all about timing. You click on something... something needs to load before the automation can proceed. You need to make the automation "smart" enough to detect those.
- nakshatra6 years agoContributor
Thanks for the reply.
We kept waitaliaschild for waiting up to element should click.
can you help me any other way to wait for the element to be clickable?
Example:
Object of button:
Aliases.browser.pageIndex.HomePanel.panelMaincontent.panelFullbodycontainer.DueButtonstabs.panel.DueAllCountInOwnQUeue
Object of Row:
Aliases.browser.pageIndex.HomePanel.panelMaincontent.panelFullbodycontainer.tableQueuegrid.EpisodeIdInQueueGrid
After Navigating to page waiting for DueAllCountInOwnQUeue button with wait time 60 sec.
After clicking on Button waitinig for load EpisodeIdInQueueGrid with wait time 60 sec.
After loading selecting EpisodeIdInQueueGrid row.
sometimes button click is failing and sometimes selecting row is failing.
We gave 60 sec wait time there is no chance to get after 60 sec.
am i missing anything here? Kindly Help me.
Regards,
Nakshatra.
- tristaanogre6 years agoEsteemed Contributor
After you wait for the object, do you detect whether or not it found it? WaitAliasChild returns one of two things when it complete, either the object you were looking for or an "empty" object with Exists property = false.
Also, keep in mind that the problem may not be with the end object in your Alias tree but some other object in the hierarchy. Again, actual log file screenshots showing the exact error message with the Additional Info tab is useful and screenshots of keyword test steps or copy/paste of script code so we can see what you've attempted to implement.
Related Content
- 2 years ago
- 6 months ago
- 8 years ago
- 7 years ago
Recent Discussions
- 20 hours ago
- 20 hours ago
- 5 days ago