Micro Focus QTP (UFT) Forums

Full Version: Object Class Name has changed in New OS(2012 R2)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Dear Sir/Madam,

I am facing issue are facing issue with UFT Object Class Names. We are migrating to new VMS from exiting VDIs in my project and and in new VM we are facing recognition issue with existing Objects. This is not any issue related to object property got changed, the object hierarchy itself got change so it is not recognizing.

We are migrating from OS Windows 7 to Windows 2012 R2.

UFT version used in old and new remote machine is: 14.00 Build 1775
Application:Same version in both OS | Developed in Delphi Environment(Delphi2006)


User Name Object Property in Windows OS 7:-->

"Class Name:=DelphiEdit",
"abs_x:=718",
"abs_y:=340",
"delphi_name:=edtUserName",
"enabled:=True",
"focused:=False",
"height:=24",
"hwnd:=854760",
"nativeclass:=TXEdit",
"regexpwndclass:=TXEdit",
"regexpwndtitle:=",
"rightaligned:=False",
"righttoleftlayout:=False",
"righttoleftreading:=False",
"testobjgentype:=edit box",
"text:=",
"visible:=True",
"width:=313",
"window id:=0",
"windowextendedstyle:=0",
"windowstyle:=1409351872",
"x:=436",
"y:=265"


User Name Object Property in Winodws OS 2012 R2: -->

"Class Name:=DelphiObject",
"abs_x:=719",
"abs_y:=342",
"delphi_name:=edtUserName",
"enabled:=True",
"focused:=False",
"hashscroll:=False",
"hasvscroll:=False",
"height:=24",
"hscrollpagesize:=",
"hscrollposition:=",
"hwnd:=394930",
"leftscrollbar:=False",
"maxhscrollpos:=",
"maxvscrollpos:=",
"minhscrollpos:=",
"minvscrollpos:=",
"nativeclass:=TXEdit",
"object class:=TXEdit",
"regexpwndclass:=TXEdit",
"regexpwndtitle:=",
"rightaligned:=False",
"righttoleftlayout:=False",
"righttoleftreading:=False",
"testobjgentype:=object",
"text:=",
"visible:=True",
"vscrollpagesize:=",
"vscrollposition:=",
"width:=313",
"window id:=0",
"windowextendedstyle:=0",
"windowstyle:=1409351872",
"x:=436",
"y:=269"

Kindly let me know if i need provide more detail. I am waiting for your responses. 


Thanks,
Raj Aryan Singh
Test Automation Eng.