we are automationg for .NET application I have some issues in recognising the objects.
Issue 1: Login window has UserId and password as edit fields,once i spy on these objects Userid and Password are recognised as winobjects with properties "regexpwndclass:=WindowsForms10.EDIT.app.0.378734a ", "nativeclass:=WindowsForms10.EDIT.app.0.378734 a" , attached text,text and regexpwndtitle are <blank> for both the objects.So how can i differentiate these objects apart from using index property
Issue 2: TreeView object is recognised as winobject and sufficient properties are found as:
"regexpwndclass:=WindowsForms10.SysTreeView32.app. 0.378734a". I need to select the links present under this treeview. But once i focus on these links QTP is unable to recognize these objects and instead recognising as SysTreeView.
Objects in application are recognized as Window("X").window("Y").winobject("Z")
Do i need any AddIns to work on these objects, if so please explain me how it is necesary and when?
WinObject are standard objects. They are Generic object. When QTP cannot do anything to recognize the object it will take it as a Generic WinObject. Now if QTP is not recognizng anything in your app or most of the objects as WinObjects then you know there is a need of a add-in. And which add-in is needed would be based on type of the application.
in my case all the objects r identified as window n winobject even though i have installed .NET ADD INS.Now using winobject for a button or combobox is not helping my cause .Do we have any other solution