This is a migrated thread and some comments may be shown as answers.
Set date via DOM which is not visible in UI
3 Answers 2 Views
This is a migrated thread and some comments may be shown as answers.
Uroš
Top achievements
Rank 2
Uroš asked on 01 Dec 2015, 12:49 PM

I have a date picker in the application which does not offer custom date insertion, but only navigation Previous/Next. In my test scenario I need to set exact date, because I will verify the calculation for the same month. I have found some references that Test Studio is able to set the text of a field like this directly through the DOM, even if you cannot edit it through the UI.

 Is there any example how this can be done?

 

3 Answers, 1 is accepted

Sort by
0
Ivaylo
Telerik team
answered on 01 Dec 2015, 04:05 PM
Hello Uros,

Yes Test Studio is capable to set the text/value to an element directly from the DOM however it needs to be an element that accepts such methods, especially when this is a span element.

I have also registered in MyHours application and investigated this further, unfortunately this cannot be done.

Thank you for your understanding.

Regards,
Ivaylo
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Uroš
Top achievements
Rank 2
answered on 02 Dec 2015, 07:05 AM
Thanks for the fast replay. Is there any other trick or workaround that I could look into to solve my problem?
0
Ivaylo
Telerik team
answered on 02 Dec 2015, 12:18 PM
Hello Uros,

Unfortunately looking at the application no suitable workaround can be provided. This limitation comes more from the application you are testing rather than from Test Studio.

Thank you for your understanding.

Regards,
Ivaylo
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Asked by
Uroš
Top achievements
Rank 2
Answers by
Ivaylo
Telerik team
Uroš
Top achievements
Rank 2
Share this question
or