Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.NET window class names changed
#1
Hi,

I have a general query regarding the internal classes recognition by QM.
Mine application was earlier based on Microsoft DotNet Framework 1.1, now it has been changed to Microsoft .NetFramework 2.0. I'm getting changes in classes name.
For an example, if earlier a class name was ""WindowsForms10.Window.8.app3" than now QM recognizing as "WindowsForms10.Window.8.app.0.378734a".

There's no any change been done which should be considered as development changes.
So is this change is occuring because of change in .Net Framework or some other reason could be..?
Is there any solution to overcome this problem except to make changes in classes name all over the scripts?

Thanks
Rashmi
#2
Quote:is this change is occuring because of change in .Net Framework

Yes.

Quote:Is there any solution to overcome this problem except to make changes in classes name all over the scripts?

Now you will have to change something in all macros anyway. Change class names, or remove class names and use only window names. Also you can use wildcard characters in class names. Example:

int w1=win("" "WindowsForms10.Window.8.app*" "" 0x800)
act w1
#3
Thanks.


Forum Jump:


Users browsing this thread: 1 Guest(s)