Forum Discussion

Nimith's avatar
Nimith
Contributor
9 years ago
Solved

TC not identifying object which is outside the active monitor

Hi All,

 

I am facing an issue where in a window that is populated on screen has the "OK" and "CANCEL" buttons cut off from the screen. 

 

The script fails as it is not able to activate the button in this case. 

 

The drag option is also not working out. 

 

Can anyone suggest another method to help me resolve this issue. (If possible without using the coordinates or drag)

 

car restriction.jpg

 

 

Thanks,

Nimith

  • Hi ,

            you can try with Keyboard operations and Set Focus method, First you can use SetFocus method for Particuler window then obj.Keys("Enter") method.otherwise you can do Record mode like Keyword script and identify the flow of execution , based on  you can modify Script. I think it is useful for you.

     

    Thanks,

    Gan

2 Replies

  • Gan's avatar
    Gan
    Occasional Contributor

    Hi ,

            you can try with Keyboard operations and Set Focus method, First you can use SetFocus method for Particuler window then obj.Keys("Enter") method.otherwise you can do Record mode like Keyword script and identify the flow of execution , based on  you can modify Script. I think it is useful for you.

     

    Thanks,

    Gan