hai ,
i need to press maximize button on a screen … in my local its running properly but in server the maximize click is not happening … attaching the ss of selector . what should i do so that selector work in server also
hai ,
i need to press maximize button on a screen … in my local its running properly but in server the maximize click is not happening … attaching the ss of selector . what should i do so that selector work in server also
Are you trying to maximize the browser window?
If yes, use Resize window property of Use application browser activity. Set it to Maximize
If no, then try changing input method to Simulate
for the click activity.
First of all idx is not a reliable attribute it can be very dynamic…avoid using it
And for maximize if you are using…use app/brwoser then there is an option directly
Cheers
so should i delete the line 3 code ?
you should go to ui explorer…indicate the element again and choose attributes which are static…like which does not contain sequence numebrs etc
cheers
Use Keyboard shortcuts
activity and don’t indicate any UI element. It will send the key shortcuts to the application.
Some recommendations:
1-Set up the ‘Resize Window’ property of the Attach Activity to ‘Maximize’
2-Use ‘Maximize’ Window activity
3-If hotkey is needed, then just send the hotkey inside the Attach Activity; not needed to map the element.
4-Extra: Make your selector more reliable
-Remove ‘cls’, change the title to ‘Alert Analyzis Aid*’, replace the idx for another attribute like aaname, innertext…