Hoe bereid ik een Windows-testagent voor?
Installeer de applicatie en de Qate-agent op een Windows-machine. Houd voor elke test een interactieve desktopsessie beschikbaar.
Hoe voer ik een Windows-desktoptest uit vanuit CI?Azure Windows VM-installatie
Azure is één mogelijkheid om een Windows-testmachine te hosten. Je kunt ook een andere Windows-machine gebruiken met de Qate-testagent en je applicatie. Zorg voor een interactieve, ontgrendelde desktopsessie voor UI-tests.
Vereisten
- Azure-abonnement met de juiste machtigingen
- Toegang tot Azure Portal of Azure CLI
- Het installatieprogramma van uw Windows-desktoptoepassing
Stap 1: Maak een Windows-VM
Azure-portal
1. Click "Create a resource" → "Virtual Machine"
2. Configure instance detailsAanbevolen configuratie
Virtual machine name: vm-qate-01
Region: Choose closest to your users
Image: Windows 10/11 Pro or Enterprise (or Windows Server if preferred)
Size: Standard_B2s (2 vCPU, 4 GiB RAM) - Minimum recommended
Administrator account:
Username: azureadmin
Password: [Strong password - save securely]
Inbound access: Restrict RDP to your trusted IP or use Azure BastionStap 2: Agent aansluiten en installeren
Maak verbinding via RDP
1. Go to your VM in Azure Portal
2. Click "Connect" → "RDP"
3. Download and open the RDP file
4. Enter admin credentialsInstalleer de Qate-agent
1. Open browser
2. Download: https://app.qate.ai/downloads/qate-desktop-agent-windows.exe
3. Right-click → Run as administrator
4. Follow installation prompts
5. Complete configuration in browser when it opensBeveiligingsopmerking
Laat Windows-beveiliging ingeschakeld. Download het installatiebestand via het configuratiescherm van je Qate-applicatie. Als Windows het blokkeert, controleer de download en neem contact op met support voordat je doorgaat.
Stap 3: Installeer uw applicatie
1. Copy your application installer to the VM
2. Install your Windows desktop application
3. Verify the application launches correctly
4. Configure any required settings or licensesStap 4: Herbruikbare afbeelding maken (optioneel)
Maak een image om snel extra test-VM's te implementeren:
Voer Sysprep uit
1. Open Command Prompt as Administrator
2. cd C:\Windows\System32\Sysprep
3. sysprep.exe /generalize /oobe /shutdown /mode:vm
⚠️ VM will shut down - DO NOT restart manually!Afbeelding vastleggen
1. In Azure Portal, verify VM status is "Stopped (deallocated)"
2. Click "Capture" on VM overview page
3. Configure:
- Name: img-qate-v1
- Resource group: Select target
4. Click "Create"
Image creation takes 10-15 minutesKostenoptimalisatie
- Maak de toewijzing van VM's ongedaan wanneer deze niet in gebruik zijn - stopt computerkosten
- Gebruik virtuele machines uit de B-serie voor intermitterende werkbelastingen
- Overweeg gereserveerde instanties voor een altijd actieve testinfrastructuur
- Gebruik Azure Spot-VM's voor niet-kritieke testomgevingen