You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[FormatAs("Set surename of customer {text}")]
public void SetSurenameOfCustomer(string text)
{
Panel.Get("txtSurname").Text = text;
}
Open StoryTeller and create a new test (or even open a test which uses this fixture)
Switch to the edit view of the selected test
Add the new fixture to the test and enter some text into the textbox
Save and close the test
Reopen the test
Output:
This text (= text of javascript function) is in the textbox of the fixture ->
"function(text) { if (arguments.length == 0) { return self.x_InnerText; } self.x_InnerText = text; }"
Workaround:
don't use 'text' as the variable name, change it to something other. f.e. 'surename'
The text was updated successfully, but these errors were encountered:
Scenario:
[FormatAs("Set surename of customer {text}")]
public void SetSurenameOfCustomer(string text)
{
Panel.Get("txtSurname").Text = text;
}
Open StoryTeller and create a new test (or even open a test which uses this fixture)
Switch to the edit view of the selected test
Add the new fixture to the test and enter some text into the textbox
Save and close the test
Reopen the test
Output:
This text (= text of javascript function) is in the textbox of the fixture ->
"function(text) { if (arguments.length == 0) { return self.x_InnerText; } self.x_InnerText = text; }"
Workaround:
don't use 'text' as the variable name, change it to something other. f.e. 'surename'
The text was updated successfully, but these errors were encountered: