mardi 12 avril 2016

Using Aurelia and Telerik Test Studio

I am trying to record UI tests for an Aurelia App. I am using Telerik Test Studio and it has issues detecting the textboxes that get generated via a template.

If I use straight HTML in the template e.g.

<input type="text" name="firstname">

That is easily detected and recorded and playback of the test can enter info into that field

In a template if I have textboxes resembling

<textbox name="patientLastName" size="small" editing.bind="editing" if.bind="!demographics.lastName.hidden" required.bind="demographics.lastName.required" label.bind="demographics.lastName.name" value.bind="patient.details.lastName"></textbox>

The template works but I get html resembling

<input class="form-control au-target" type="text" value.bind="value" disabled.bind="!editing" au-target-id="143">

This doesn't appear to be outputting any html attributes/properties that Test Studio can latch onto. How would I alter a textbox so that it is detectable by Test Studio?

Aucun commentaire:

Enregistrer un commentaire