J'utilise le logiciel de version d'essai UFT. J'ai ajouté l'objet nom d'utilisateur au référentiel d'objet (mode d'automatisation de l'espionnage d'objets). Voici le code UFTImpossible de lancer l'application de la fenêtre de vol dans UFT
SystemUtil.Run "C:\Program Files (x86)\HP\Unified Functional Testing\samples\Flights Application\FlightsGUI"
Window("HP MyFlight Sample Application").WinEdit("agentName").Set "Username"
erreur ci-dessous je reçois
The test run cannot continue due to an unrecoverable error.
The "HP MyFlight Sample Application" object was not found in the Object Repository.
Check the Object Repository to confirm that the object exists or to find the correct name for the object.
Line (2): "Window("HP MyFlight Sample Application").WinEdit("agentName").Set "Username"".
Image- Object repository image
S'il vous plaît aider!
S'il vous plaît ajouter une capture d'écran du référentiel d'objet associé à l'action – Motti
@Motti est correct ... montrez que vous avez le nom correct dans le référentiel d'objets. – dmcgill50
check plz .. Ajouté – john