Ask a Question

How to select date from Data Time Picker in browserless silverlight application?

payaldalal
Occasional Contributor

How to select date from Data Time Picker in browserless silverlight application?

<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="Word.Document" name="ProgId" />
<meta content="Microsoft Word 12" name="Generator" />
<meta content="Microsoft Word 12" name="Originator" />





Hello,


I have an issue to discuss with all of you.


Issue is like this:


I am working on browser
less silver light application. I want to select date using code in Jscript by
giving value in  'DD-MM-YYYY'.

So I tried to specify my controls class name in the Win32 Controls and Windows
| Date-time picker group of my project’s Object Mapping options.

While adding control from Screen it gives error as "The selected object
does not match the criteria of 'Win32 Controls and Windows' group."

I am facing same issue while adding my Combo box control in object Mapping.

I am attaching Screen shot of Date Time Picker Control.

Am i following right procedure?



Regards,

Payal

Thanks.
Regards,
Payal
3 REPLIES 3

Hi,


Could you please send us a sample application so we could analyze how TestComplete works with it?


Best regards,
Alexey

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
payaldalal
Occasional Contributor

Hello ,



Please find attached zip file for sample Silver light Date Picker application.

Since we do not have access to the actual application.I am attaching sample silver light application.



Regards,

Payal
Thanks.
Regards,
Payal

Hi,


So I tried to specify my controls class name in the Win32 Controls and Windows | Date-time picker group of my project’s Object Mapping options.

While adding control from Screen it gives error as "The selected object does not match the criteria of 'Win32 Controls and Windows' group."

I am facing same issue while adding my Combo box control in object Mapping.

I am attaching Screen shot of Date Time Picker Control.

Am i following right procedure?


No, unfortunately, you did not follow the right procedure - Silverlight applications are exposed by using the Microsoft UI Automation technology. So, try using the approach described in the "Testing Silverlight Applications with TestComplete" help topic. Please note that this topic applies to TestComplete 8 that has been released recently.


Best regards,
Alexey

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
cancel
Showing results for 
Search instead for 
Did you mean: