Completed
Last Updated: 28 Jan 2019 14:34 by ADMIN
Sumit
Created on: 08 Jan 2019 05:42
Type: Bug Report
2
Issue with Windows 2016 Server Standard

Hi,

We are having TestStudio_2015.3.1015_Runtime and when we installed this version of Runtime on Windows 2016 Standard server, it is not working.

Our first test starts with taking the user credentials and when it asked for User Id and Password it does not enter the details.

On Windows 2012 Standard server it is working fine.

Please find the attached image for your reference.

 

With Warm Regards,

Sumit Kumar

4 comments
ADMIN
Elena
Posted on: 28 Jan 2019 14:34
Hi Sumit,

The issue was investigated and also resolved. A fix will be available in our next official release 2019 R1 planned for the beginning of February. Once this is out, please give it a try and in case of any troubles, get back to us. 

Regards,
Elena Tsvetkova
Progress Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
ADMIN
Elena
Posted on: 21 Jan 2019 09:59
Hi Sumit, 

I am glad to hear the provided details were useful for you. 

Dialog handling in Test Studio is always with higher priority in development as a main part of any testing scenario. So when an issue in that area is identified, we always try to fix it as soon as possible. Having this said, I hope that our upcoming release, planned for the beginning of February, will contain the solution for this misbehavior. 

In addition, I would like to mention that last year we implemented the dialog handler definitions in a way that we can update these whenever this is necessary and independently of a product major release. So even if the official 2019 R1 build does not include the dialog handling fix, this should be available shortly after that through the Dialog Handler Updater

Thank you in advance for your patience and understanding. 

Regards,
Elena Tsvetkova
Progress Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Sumit
Posted on: 14 Jan 2019 13:51

Hello Elena,

Thanks for your feedback. It has saved my lot of time. Since last 2 months I was struggling to find the solution as we procured the new server to execute the test only and it is idle since then.

I am hopeful that the development team would have taken this bug on priority basis as many of the companies has started using windows 2016 server.

Any idea when this issue will get solved? 

With Warm Regards,

Sumit Kumar

 

ADMIN
Elena
Posted on: 10 Jan 2019 15:45
Hello Sumit,

Thank you for sharing your observations. I managed to test the same scenario as you described it and it seems there is something different in the Windows Server 2016 OS, which prevents Test Studio to handle that logon dialog. Therefore I have converted the current thread into a bug report for the development team to continue the investigation. This will be now visible in the public feedback portal where you can follow its progress. 

In the meantime, I also managed to identify a possible workaround, which you could give a try to. This is will be sort of simulating manual login to the application by sending the so called "blind" keyboard actions against the element on screen with focus on it. The solution requires a coded step at the beginning of the test, an assembly reference to the System.Windows.Forms.dll and a using statement at the beginning of the coded step to use the System.Windows.Forms. Please find the required code below: 


// change the focus on the URL bar if the browser
Manager.Desktop.KeyBoard.KeyPress(System.Windows.Forms.Keys.F6);
System.Threading.Thread.Sleep(1000);
// enter the URL and press enter to load the page
Manager.Desktop.KeyBoard.TypeText(@"http://at-hyperv01/windowsauthentication/");
System.Threading.Thread.Sleep(1000);
Manager.Desktop.KeyBoard.KeyPress(System.Windows.Forms.Keys.Enter);
System.Threading.Thread.Sleep(1000);
// type domain and username domain\user
Manager.Desktop.KeyBoard.TypeText(@"");
// press tab to change the focus to the password field
Manager.Desktop.KeyBoard.KeyPress(System.Windows.Forms.Keys.Tab);
System.Threading.Thread.Sleep(1000);
// type password
Manager.Desktop.KeyBoard.TypeText(@"");
System.Threading.Thread.Sleep(1000);
// press enter to confirm the username and password
Manager.Desktop.KeyBoard.KeyPress(System.Windows.Forms.Keys.Enter);

The above code uses the Keyboard Manager Class and to better describe how that one can be used, here is an article with some sample code how to send a combination of key strokes like Alt+F4. Although that sample covers different scenario, it can be used for reference. 

The coded step should be the first in the tests to execute on that server machine and actually on any other environment. Please give it a try and let me know in case you need any assistance on this. 

Please note that transferring the thread to the feedback portal makes it public and if you need to share any confidential information, we can use a private support ticket instead. 

Thank you for your understanding in advance. 

Regards,
Elena Tsvetkova
Progress Telerik