No identify container object in calc.exe application of Win7

Ask general questions here.
william5065
Posts: 2
Joined: Fri Dec 26, 2014 8:42 am

No identify container object in calc.exe application of Win7

Post by william5065 » Mon Dec 29, 2014 4:58 am

Hello

i have a question when i recorded calc.exe in Win7,it can not identify a container (Frame),but control of container it is ok .can you help me to solve the problem?

it show: Unknown CalcFrame
Form'Calc'
--Element 'CalcFrame'
--ext 'Static'
--Container'#32770'

Thanks

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: No identify container object in calc.exe application of Win7

Post by Support Team » Tue Dec 30, 2014 10:01 am

Hello william5065,

The container is recognized as a win32 element. Also, the elements within the container are identified with unique RxPaths. We are not exactly sure what’s causing issues while automating the calculator on a Win7 machine.

Regards,
Robert
.
Image

william5065
Posts: 2
Joined: Fri Dec 26, 2014 8:42 am

Re: No identify container object in calc.exe application of Win7

Post by william5065 » Tue Dec 30, 2014 12:33 pm

Hello

I can not valicate the Text 'Static'of Element 'CalcFrame', just using image to valicate it value.
can you tell me how to valicate it by using text value?


Thanks

William

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: No identify container object in calc.exe application of Win7

Post by Support Team » Fri Jan 02, 2015 3:59 pm

Hello William,

It should work when you use the following RxPath: "/form[@title='Calculator']/?/?/container[@instance='0']/text[@controlid='150']".
The value is stored in the "Text" attribute of the specific Text element.

Regards,
Markus
.
Image