ContributionsMost RecentMost LikesSolutionsRe: "The operation cannot be performmed because the desktop is invisible" error Note that in this situation, the Test Complete software is running the keyword testcase on the SAME PC as the REMOTE PC. I reviewed other similar community questions on this topic, but in those cases, the Test Complete/Test Execute software was NOT on the same PC. "The operation cannot be performmed because the desktop is invisible" error The error stated in the subject field happens as follows: Test Complete is executing a keyword testcase against a web application on a REMOTE PC. I am accessing that REMOTE PC via the Windows Remote Desktop feature. The above message occurs whenever I minimize the REMOTE DESKTOP window associated with that REMOTE PC. While in REMOTE DESKTOP, the testcase is still running on that system. However, Test Complete must be sensitive to the fact that the window associated with the REMOTE DESKTOP session is no longer visible. Is there a way around this problem, or must the REMOTE DESKTOP window ALWAYS remain VISIBLE, (not minimized or closed) while the testcase is still running? If I was using the Test Execute software to run this testcase, would I have the same problem, and if so, is there a workaround for that similar problem? RED HIGHLIGHTING under Picture Tab in the Actual Image Shown in the Test Log in TC 12.5 Since I upgraded to 12.5, I am noticing that the Actual Image screenshots (under the Picture tab of the Test Log) contain a LARGE amount of RED COLORED HIGHLIGHTING ALL OVER the Actual Image. This highlighting makes it MORE difficult to see the differences between the Expected Image and the Actual Image. Anyone else seeing this behavior? The CAPTURE.PNG attachment shows this problem. Re: Using Set Variable in a Keyword testcase Thank you Robert for your reply. It reminded me that I had to WAIT an appropriate amount of time before using the SET VARIABLE command in my test case. Once I added a Find Object command for the contentText {GET] operation associated with the object I was looking for, the SET VARIABLE commnd did assign the value I expected to the TatalTax variable. Using Set Variable in a Keyword testcase What I was trying to do was to simply show the value of a variable in the test log associated with a KEYWORD testcase. For some reason the value of the Project variable named TotalTax is NULL. I used the Set Variable wizard tool to define the TotalTax variable as the value of an object on the target web page This worked fine. When I used this wizard, the value of the TotalTax variable was set to "= 26,808.88". The MODE setting for this parameter was set to OBJECT PROPERTY. The VALUE setting for this parameter was set to Aliases.browser.pageAutawb21SalestaxwebGotosucce.table.cell5.contentText Note that the project variable, TotalTax has a TYPE set to STRING. I tried a TYPE set to OBJECT, and then TestComplete complains of a TYPE MISMATCH error when the Set Variable Value statement is executed. This TYPE MISMATCH error is shown under the Additional Details tab of the test log. Any help with this question would be appreciated. Thanks. SolvedIf you are recording a keyword test using a 3270 emulator, will TC handle a remapped ENTER key? In this testcase, the Blue Zone 3270 emulator is being used to access an IBM Mainframe. Within the Blue Zone 3270 emulator settings, the tester has REMAPPED the standard mainframe ENTER key to the ENTER key on a normal PC keyboard that is located to the right of the number 3 key within the keypad area of the keyboard (ie. at the bottom right hand corner of the keyboard). The standard ENTER key, next to the double quote key, is remapped to be a NEWLINE key. When TestComplete records this keyword test using this emulator software, Test Complete records and ENTER key (ie. [ENTER]) in the actual Test Complete keyword test case. However, when this test case is replayed, the [Enter] key in the test case does NOT send an ENTER key to the mainframe. Could the remapping of the ENTER key by the emulator software be the problem.? Is Test Complete just sending a normal KEYPAD ENTER keystroke to the application? Any help will be much appreciated. If the emulator keyboard mapping is changed to use the ENTER key next the double quote key, then the test case will work fine. Is there any way to keep the remapping of the ENTER key as the tester wanted to do? Re: Post message that remains after breakpoint is activated Thank you for your response. Let me be more specific. I have a Keyword testcase that tests that I want to be more flexible in having different types of tester input WITHOUT having to change the testcase. For example, assume you that are testing the window of a tax application in which has has the ability to show the monthly tax periods for the last 5 years. Since there 60 tax periods in 5 years, the window is designed to show the most recent 12 tax periods, However, if an older tax period must be edited, there is another button that allows use to display the next 12 older tax periods. At the bottom of this window, there is a EDIT button which allows you to edit the data associated with a tax period. Also, assume that depending on the taxpayer account you are logged in under, some tax periods may be available for editing and others may not. Since you do not know before the testcase is executed, which tax periods will be available for editing, you place a breakpoint in the testcase to PAUSE the testcase on the statement which clicks on the EDIT button. (For the sake of this example, also assume that it is NOT possible for Test Complete to determine the INDEX of the selected tax period automatically. The tester must place the CURSOR on the line of the tax period to be edited, and then press the EDIT button.) In order to help the tester know what to do next, you want to post a message, NOT to the TestComplete Log, but to the system on which the tax application is running. I was hoping that Test Complete would have a POP-UP WINDOW feature that would allow this message, which would remind the tester what should be done next, to be posted. However, as I stated in my original post, I tried the INDICATOR feature but that message is displayed too quickly and the message associated with the testcase executing the BREAKPOINT overwrites that message as well. I want this message to remain visible until the tester manually closes the window. As a workaround, I just created a simple Notepad keyword test that posts the desired message in a Notepad window and I just call that Notepad keyword test right before the breakpoint is executed in the main application test. I realize that leaving the breakpoint in the application test makes that test semi-automatic since manual intervention is now required when running that test. However, not REQUIRING the tester to know all possible testcase inputs PRIOR to creating the test, gives the tester more flexibility in dealing with applications where the actual, specific situation that may occur while running a test is NOT KNOWN beforehand. It also allows the tester more flexibility in selecting the tax accounts that need to be worked on, which, in turn, makes the testcase more flexible in dealing with different tax accounts. Does this description help describe what I am looking for? Post message that remains after breakpoint is activated I would like to display a message that REMAINS VISIBLE on the screen once the BREAKPOINT in the next Test Step is activated. Currently, by using the Delay operation in a keyword test case, I can specify a message to be displayed during the time that was specified in the Delay operation. However, once that period of time expires, the Breakpoint in the next test step is executed AND, once that occurs, the message that was displayed by the Delay operation is OVERWRITTEN by the standard message for the Breakpoint, which is "Playback Paused". I tried adding a description to the breakpoint but that does not affect the Breakpoint message of "Playback Paused". I also tried using the Push Indicator operation, but although that message is posted, it is quickly OVERWRITTEN by the Breakpoint message. Another alternative would be to add a Run Script operation and start an external program, like NOTEPAD, and POST the message in the NOTEPAD window. However, I was hoping that Test Complete had a better way to post this message. Any help would be appreciated. Thank you. Re: How to use OCR feature within Test Complete to find strings within screen image? Yes it is possible to change the colors to white text on a black background, but that still doesn't address the main problems , which are: 1) Text Recognition cannot identify any text since as I stated all the objects are hidden and not visible according to Test Complete's Object Explorer. The color of the text does not matter in this case. 2) The OCR feature is not returning ANY string that represents any part of the 24 row by 80 column application area that I am interested in, no matter what the color composition of this area is. Re: How to use OCR feature within Test Complete to find strings within screen image? I have used the Text Recogntion feature as well as Extended Text Recognition. In both cases, the Test Complete Object Explorer can NOT identify any objects within the 24 row by 80 column application area of the 3270 emulator screen. All of these object(s) are listed as HIDDEN, not visible objects, by the Test Complete Object Explorer. As a result, it is not possible to select any of these objects and use their object properties to get access to whatever data is shown in those object properties. Also, I have heard from other sources, that since the text on the 3270 emulation screen in colored (ie. not white text on a black screen but colored text on a black screen), that the OCR recognition will be more difficult to accomplish.