| || |
Clicking on menu items
I want to click on View -> Bcc but when I do that I am getting error that "Bcc is not exposed" but anyway currently I am using workaround of it as :-
[ ] NewMessage.View.Click ()
[ ] NewMessage.Bcc.MoveMouse(34, 12)
[ ] NewMessage.Bcc.Click(1,14,10)
so is there any better way to do this?
Re: Clicking on menu items
See in Help:
Window is not exposed
You run a script and get the following error:
Error: Window 'name' is not exposed
Sometimes, applications are written such that windows are hidden to the operating system, even though they are fully exposed to the user. A running script might generate an error such as "Window not exposed", even though you can see the window as the script runs.
While it might be tempting to simply turn off the checks for these verifications from the Agent Options/Verification dialog, the best course of action is to take such errors on a case by case basis, and only turn off the verification in cases where the window is genuinely viewable, but SilkTest is getting information from the operating system saying the object is not visible.
1 Add the following statement to the script, just before the line causing the error:
2 Then add the following line just after the line causing the error:
This means SilkTest will execute the action regardless of whether it thinks the window is exposed.
· Other troubleshooting tips