Not able to give focus on ok button windows using hot keys in IE | Selenium Forum
K
Kiran Posted on 20/04/2021

Hello Sir,

I'm facing issues while giving focus on OK button window after uploading the invalid file in IE.

For that I have used the robot class using hot keys as well like 

1. Alt + N => Ctrl + O;

2. Alt + N => using TAB key

3. Also try with windows handled but not worked etc.

Request you to help me in this issue.

Thank you,

Kiran More 


A
Ashish Replied on 21/04/2021

Why are you trying to upload invalid file?


K
Kiran Replied on 22/04/2021

Hello Sir,

Actually there is a scenario to prove that multiple files can't be upload, so we pass 2 file path in a file name edit box and by clicking on open it throws an error. Hence by doing this we prove that multiple file can not uploaded. But I!m facing error while doing this.

Please let me know what should be the correct way to do this.

PFA

Thank you,

Kiran More 


K
Kiran Replied on 22/04/2021

Hello Sir,

Actually there is a scenario to prove that multiple files can't be upload, so we pass 2 file path in a file name edit box and by clicking on open it throws an error. Hence by doing this we prove that multiple file can not uploaded. But I!m facing error while doing this.

Please let me know what should be the correct way to do this.

PFA

Thank you,

Kiran More 


M
Replied on 22/04/2021

PFA

Responsive image

A
Ashish Replied on 30/04/2021

Please use auto IT

Extract the window and then the OK button

THis will work


Related Posts