Here $variable1 is the window title. Send command is used to click next button on that screen. Button4 and Button5 are the classnames of the controls.

The script pauses on this screen and check boxes do not get check.

Kindly let me know if anyone is facing this issue. i am using this ControlCommand() in the same script to select a radio button in one of the screens prior to the screen information mentioned above and its working fine. but the same implementation is not working for checking the check box on another screen.

Here $variable1 is the window title. Send command is used to click next button on that screen. Button4 and Button5 are the classnames of the controls.

The script pauses on this screen and check boxes do not get check.

Kindly let me know if anyone is facing this issue. i am using this ControlCommand() in the same script to select a radio button in one of the screens prior to the screen information mentioned above and its working fine. but the same implementation is not working for checking the check box on another screen.

Why are you changing the text used to ID the window? You correctly found it with "Destination Folder" in the WinWaitActive(), but then use other strings to ID the window for ControlCommand(). Are you sure it's matching? You might try this:

Share this post

Link to post

Share on other sites

simran 0

simran 0

Hi, Thank you all for the valuable comments. But actually i have found out the right problem. the main problem here was with the window text "Destination folder". I was using "Destination Folder" instead of "Destination folder" to identify the window.