Highlighted
Absent Member.. tomarpradeep Absent Member..
Absent Member..
606 views

QTP is not able to recognize meuns & submenus of UG NX ( NX 7.5, NX 6.0 ) applications

Our team is automating few applications which are developed through UG NX ( NX 7.5 or NX 6.0 ) i.e. Siemens CADD application. It have some objects developed in .Net and WPF ( may be Visual Basic somewhere). We are using .Net, WPF, Visual Basic & Active X add-ins for automating these applications.

But QTP is not able to recognize these .Net & WPF objects ( specially objects- like menus, submenus and buttons and other objects). Please find the screen shot attached for these.

QTP is recognizing these as Win object in form of co-ordinates instead of menu, submenu or button like:

 

Window("NX 6").Activate

Window("NX 6").WinObject("Afx:00400000:b:00010003:000000").Click 585,15

OR

Window("NX 6").Activate

Window("NX 6").WinObject("Afx:00400000:b:00010003:000000").Click 28,35

 

Except that it is able to recognize other objects in fine way eg:

 

Window("NX 6").Dialog("Wind Blade Editor").WinList("ListBox").Select "STA<18>"

Window("NX 6").Dialog("Wind Blade Editor").WinTab("SysTabControl32").Select "Add-Del"

Window("NX 6").Dialog("Wind Blade Editor").Check CheckPoint("Wind Blade Editor")

Window("NX 6").Dialog("Wind Blade Editor").WinButton("Add Section").Click

 

     Can any body help us to resolve this issue ?

 

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.