Micro Focus QTP (UFT) Forums
Getting error message in Windows application - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Getting error message in Windows application (/Thread-Getting-error-message-in-Windows-application)



Getting error message in Windows application - keerthanansk - 10-15-2008

Hi Ankur,
You are doing excellent job. Your messages are really helpful for us. Let me go to my question:
I am trying to record one of our Windows Application.
Its having 4 different bars includes Menu and Icons:
1) In the first row, its having Menu -> which has properties objclass, regexpwndclass - Windows.app.o...8405
regexpwndtitle -> Menustrip1
2) In the second row, its having 4 different icon ->
each icon will go to new window->
Properties: regexpwndclass->Windows.app.0....8405
3) In the third row, its having 4 disabled icons
-> Properties: regexpwndclass -> Windows.app.0....8405
4) In the fourth row, its having one edit box
-> Properties: regexpwndclass -> Windows.EDIT.app.0.8405

I set 3 properties as default for all the rows: 1) regexpndclass, 2) object class 3) native class
For the first row, i had set location as 0. Its started recognizing the object.
For the first icon of second row, i had set location as 1 hence it started recognizing the object. I don't know how to set for the other 3 icons? Are there any specific properties that I need to add to differentiate each icon?
For the fourth row, i had tried to set location as 3 or 2, its giving the error message as "its having same matching properties for the other object".
So how can I differentiate fourth row and second row?