Hi.
UI tests for desktop application(not store app):
Used:
FlaUI.Core v2.0.0-alpha6
FlaUI.UIA3 v2.0.0-alpha6
SpecFlow v.2.3.2
NUnit 3.10.1
NUnit.ConsoleRunner 3.8.0
TeamCity Professional 2017.1.4 (build 47070)
On my local machine works perfectly. On Teamcity test stand pc (win server 2012) when run from console - work perfectly.
But the problem when run test with Teamcity on test stand pc.
Build steps:
get project from git
- Restore NuGet Packages
- Build solution
- Run test with NUnit console runner.
Build is hangs on last step. On debug NUnit mode problem in last string here:
ProcessStartInfo process = new ProcessStartInfo(path);
var app = Application.AttachOrLaunch(process);
var automation = new UIA3Automation();
return app.GetMainWindow(automation);
app initialized success, automation too.
but when in GetWindow method this: _process.MainWindowHandle is hangs.
Any helps will be nice.
Hi.
UI tests for desktop application(not store app):
Used:
FlaUI.Core v2.0.0-alpha6
FlaUI.UIA3 v2.0.0-alpha6
SpecFlow v.2.3.2
NUnit 3.10.1
NUnit.ConsoleRunner 3.8.0
TeamCity Professional 2017.1.4 (build 47070)
On my local machine works perfectly. On Teamcity test stand pc (win server 2012) when run from console - work perfectly.
But the problem when run test with Teamcity on test stand pc.
Build steps:
get project from git
Build is hangs on last step. On debug NUnit mode problem in last string here:
ProcessStartInfo process = new ProcessStartInfo(path);
var app = Application.AttachOrLaunch(process);
var automation = new UIA3Automation();
return app.GetMainWindow(automation);
app initialized success, automation too.
but when in GetWindow method this: _process.MainWindowHandle is hangs.
Any helps will be nice.