Hi All
After recording a test step where I enter text into a input box, and I attempt to run it. The recording shows that the text is entered however when I select the search button I do not get the expected result I'm looking for. I have attempted this manually and it works fine. What I am suspecting is that the recording for some reason things that the text is not entered in the input field.
Below is the code in which i am using to attempt to enter the text
Pages.Orders.ProductSearchTermInputText.ScrollToVisible(ArtOfTest.WebAii.Core.ScrollToVisibleType.ElementTopAtWindowTop);
ActiveBrowser.Window.SetFocus();
Pages.Orders.ProductSearchTermInputText.Focus();
Pages.Orders.ProductSearchTermInputText.MouseClick();
Manager.Desktop.KeyBoard.TypeText("alice", 50, 100);
and here is the html that the input field is using
<input class="t-input" id="ProductSearchTerm-input" name="ProductSearchTerm-input" type="text" autocomplete="off">
Thanks
Chris
After recording a test step where I enter text into a input box, and I attempt to run it. The recording shows that the text is entered however when I select the search button I do not get the expected result I'm looking for. I have attempted this manually and it works fine. What I am suspecting is that the recording for some reason things that the text is not entered in the input field.
Below is the code in which i am using to attempt to enter the text
Pages.Orders.ProductSearchTermInputText.ScrollToVisible(ArtOfTest.WebAii.Core.ScrollToVisibleType.ElementTopAtWindowTop);
ActiveBrowser.Window.SetFocus();
Pages.Orders.ProductSearchTermInputText.Focus();
Pages.Orders.ProductSearchTermInputText.MouseClick();
Manager.Desktop.KeyBoard.TypeText("alice", 50, 100);
and here is the html that the input field is using
<input class="t-input" id="ProductSearchTerm-input" name="ProductSearchTerm-input" type="text" autocomplete="off">
Thanks
Chris