Application calls a batch file which produces a Message box which cant be clicked.
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Application calls a batch file which produces a Message box which cant be clicked.
The application that I am testing runs on a server. One of the functions of this app calls a batch file which produces a message box informing me the batch file has completed.
I cannot get testcomplete to see this message box, If I use the object spy it focuses on every other window on the screen but will not see this message. If I put the spy on the icon on the botton tray it gives:
Aliases.explorer.wndShell_TrayWnd.ReBarWindow32.MSTaskSwWClass.MSTaskListWClass.UIAObject("QS_MSG_ENDED_1_running_window")
The message box has and "OK" button I need to click.
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try using the Record feature to do this part of your test manually and see if TestComplete records anything besides screen coordinates for your box.
Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Try to start TestComplete 'As Administrator' and see if it helps.
/Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Marsha,
Thanks for the reply, but I have been recording, coordinates do not come up. I tried Alex suggestion to run as administrator and it works.
Lee
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Alex,
Thanks for the reply, running as administrator works, it sees the message box but it does not see the "OK" button. I just used the ".close()" function and it closes....
Thanks again,
Lee
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Lee,
> it sees the message box but it does not see the "OK" button.
It may be because of the IDE/language used to create this message box.
Assuming that we are talking about desktop applications: Usually, all windows are generated via system calls and are registered in the system as window of certain class. Such windows are always visible to TestComplete and other tools like Spy++ from Visual Studio.
On the contrary, buttons may be created as windowed objects (C\C++) or windowless (Delphi, if I am not mistaken). In the latter case TestComplete requires debug information in order to be able to access such windowless objects.
Anyway, it's good to hear that the problem is solved.
/Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
