cancel
Showing results for 
Search instead for 
Did you mean: 

7.2.1 Testing with Notepad

Stephen.Jones
Level 5

I'm having issues creating a simple Application Model for Notepad.exe to test control room communication with a runtime resource.

I've created the model based on the following 

35993.png

I have managed to spy the main window edit box with the following 

35994.png

Now i want to identify the File - Save As menu button, which i spied using UI Automation mode

35995.png

35996.png

If i select 'Highlight' after identification , even after adding the following, the button cannot be identified

35997.png

If i try and and re-spy by opening the UI Automation Navigator the following message is shown

35998.png

What am i missing ?

1 REPLY 1

harish.m
Level 12

Hi Stephan Eric Jones,

I would suggest to select minimal attributes  for example save as on your above screen shot I probably select highlighted elements as well as Match index
You might need to play around and figure out the attributes some time you may need to select more attributes my 2 cents based on the provided screenshot is you  can do minimal attribute selecion and  avoid selecting empty values
35992.png

----------------------- If I answered your query. Please mark it as the "Best Answer" [FirstName] [LastName] [Designation] [JobTitle] [City] [State] [Phone]