Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Object Class Name has changed in New OS(2012 R2)
#1
Not Solved
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Using Variables for calling a method in a class chitu576 0 1,752 12-05-2014, 12:31 AM
Last Post: chitu576
  Need to get background color of a webelement whose class is iframe sundari_msls 2 8,438 01-03-2012, 06:34 PM
Last Post: sundari_msls
  Class not registered error razluv 3 6,779 09-14-2011, 11:43 AM
Last Post: SailajaKavi
  QTP 10.0 - Unable to identify web object with 'Window' class cmyee99 1 7,576 06-02-2011, 01:09 PM
Last Post: raaga

Forum Jump:


Users browsing this thread: 1 Guest(s)