Page 1 of 1

No identify container object in calc.exe application of Win7

Posted: Mon Dec 29, 2014 4:58 am
by william5065
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

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

Posted: Tue Dec 30, 2014 10:01 am
by Support Team
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

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

Posted: Tue Dec 30, 2014 12:33 pm
by william5065
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

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

Posted: Fri Jan 02, 2015 3:59 pm
by Support Team
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