I write the next function but nothing happens TestExecsl1.security.dologindialog() give me an error Com Exception was unhandled, im trying clicking a button to show the login dialog.
I hope you can help me. Thank You.Best regards.
There is a difference between in-process OpUI and out-process OpUI.
This is in-process OpUI. Typically, we launch it from TestExec SL developer UI. The Login Group dialog will only be shown in In-Process OpUI. This is because for Developer UI and In-Process OpUI, the tstexcsl.exe is run will different default User Interface shown (either the developer UI’s main UI or the In-Process OpUI’s main UI). In this case, the Login Group dialog enable the user to switch between developer UI and In-Process OpUI.
The one that you are working on is by calling the ActiveX control of TestExec SL and this is called out-process OpUI. In out-process OPUI, testexec.exe is COM server where no User Interface is shown. The Out-Process OpUI is a standalone application that communicate with the COM server through ActiveX. So user cannot switch between developer UI and Operator UI.
If you are interested in in-process OpUI, the .NET example is at "C:\Program Files (x86)\Agilent\TestExec SL 7.1\Examples\OpUI.NET" while the C++ version is at "C:\Program Files (x86)\Agilent\TestExec SL 7.1\Examples\OpUI"
DoLoginDialog is for testing purpose to make sure exceptions are thrown when called.
I would suggest you use TestExecSL1.Security.Login function instead.
The example on how to work on this is in the Example folder of TestExec SL "C:\Program Files (x86)\Agilent\TestExec SL 7.1\Examples\TypicalOpUI.NET"
Thanks for the answer Cynthia,
I already do that but the logindialog that i want to show is this:
if i use the security.login i cannot see the login group and enter to test exec.
In the OPUI below i click login i can see the login group and enter to test exec how can i do this?
Thanks for the answer this information is really helpful.
Retrieving data ...