Contributions
Re: Checking WPF style in TestComplete
"get the name of the applied style and for this style get the value of the required element (foreground/ background color, etc.)" I can get the property that is exposed when a particular style is applied but the question is exactly the above statement from you - How do I get the color when I know this property that is known when a particular style is applied. I don't seem to find a way to do this. So, any pointers on this will be good.1.6KViews0likes2CommentsRe: Checking WPF style in TestComplete
Yes, there is a property that applies the Style. But the requirement is explicitly mentioning the colour change into Red or Blue. So, If there is a bug on using the property in the application code, TestComplete will still "Pass" the test case if we stick to using only the property for testing the Style. I am surprised that this is not already handled in someway by TestComplete. Retrieving the style name at least will be a good start.1.6KViews0likes4CommentsChecking WPF style in TestComplete
We have a GUI based desktop application built using WPF. There are requirements to check the colour change of the GUI controls when they are clicked. However, the application uses WPF styles and apply the different styles when some controls are clicked/toggled etc. When I use Object spy in TestComplete, the background and foreground properties do not reflect the real colours displayed and this is most probably due to the styles being applied instead of setting the colour changes directly using the background and foreground properties. Does someone know a way to Identify these WPF style changes using TestComplete ?Solved1.7KViews0likes6CommentsRe: Recovery from unexpected windows when waiting for action
>Actually, it is enough to try to activate some window (e.g. formWindow.Activate() ). If the formWindow is overlapped with some modal window, the OnUnexpectedWindow event will be triggered. I'm referring to the following limitation: The check does not happen when the script performs certain operations with window properties or when it executes a function, for example, WaitWindow. We are testing an application where there are lots of 'WaitWindow' actions due to the response from hardware. Now, during the 'WaitWindow' if a disconnection happens, it can sometimes throw a popup or other errors. Since the system is not stable yet, we cannot predict what will happen and which popup will be shown. This limitation with the 'WaitWindow' makes it unable to handle such cases.7.9KViews0likes0CommentsTest Execution Progress from Network Suite
When the tests are executed from Network suite, the progress is shown as the Remote desktop window but there should be a possibility to see the number of tests selected and how many are completed from the Network Suite window itself.3.7KViews5likes0CommentsRe: TestComplete Indicator to show the script title along with the Project name
Thanks for the utility. But I see a general trend with TestComplete. Everything is upto the test developers to do or do big coding to get what we want. If that is the case, I can get an open source tool and do all these stuff. I don't have to shell out the money on TestComplete. When I ask for basic features, the standard reply I get is that this is a different tool. A tool for test automation right ? Not some pure development tool that offers test automation like Visual studio. For example, in this case, it can at least show the basic test name, whether it is the keyword test or the individual function and then we can customize it from code. But if it doesn't offer anything and everything is upto the testers, then the licensing cost is useless.5.2KViews0likes0CommentsTestComplete Indicator to show the script title along with the Project name
Currently, TestComplete Indicator shows the Project name and the step it is executing. It will be good if it shows the Script name as well so that one can see which script has been reached in a bulk run of the scripts. Otherwise it is difficult to know how much of the scripts are pending to be completed.5.2KViews0likes3CommentsRe: Host Verification Failed: Invalid address
As I said, in the real world. getting IT department to create separate policies for QA and other users does not happen or it happens rarely, especially in the age of ultra security. Never happened in more than 5 companies that I have seen. Besides, there are so many tools in the market which doesn't ask you to disable group policies etc. to run tests. Yes, there will usually be 2 or 3 things to set, but the requirements mentioned by TestComplete takes 3-4 hours for 1 test machine. Why can't they enable the Windows firewall rules during Installation ? Anyhow, I have moved the machine out of the domain to make it work for now. But some of the commentators here seem to be full of closed minds when it comes to new questions and doesnt seem to realize that TestComplete makes many easy things (that are guaranteed in other tools) difficult to implement and make one spend time on doing the workaround rather than creating automated tests.2.5KViews0likes2CommentsRe: Recovery from unexpected windows when waiting for action
What I mean is that other tools offer things like Recovery Scenario Manager etc. where you can define such scenarios separately (without including all such external situations into your code in each case) and attach it to the scripts when needed. If such a popup is displayed, the recovery scenarios defined will kick in and close the popup. The actual script need not handle it. This approach can help in defining all the unexpected scenarios separately without making your script code more and more complex. If there are 10 such scenarios that can happen over the duration of a script, then you don't have to repeat this in each script or in each function. TestCompelte does not have a Recovery scenario handler separately as far as I know. When I say 'Unexpected', it means that the popupdoes not occurin a 'normal' case but there is a possibility that it will be shown and we can define the recovery to push the 'Close' button etc.8.9KViews0likes0CommentsRe: Recovery from unexpected windows when waiting for action
We will define the Unexpected window contents inside the 'OnUnexpectedwindow' definition. For example, if you wait to save a large file in a network and it is not accessible for some reason, then you may get a popup stating that the path is not accessible. The properties of this window can be defined and the action can be triggered from the'OnUnexpectedwindow' function. But it will not get triggered unless there is the next 'Click' or 'DoubleClick' event. If this unexpected popup hides the control to be clicked, then the script will return error instead of handling the event.8.9KViews0likes0Comments