When this script step executes successfully on the website it shows up as fail in Test Studio
HtmlFindExpression expr = new HtmlFindExpression("class=~records_per");
HtmlSelect select1=Find.ByExpression<HtmlSelect>(expr);
select1.SelectByText("All", true);
ArtOfTest.WebAii.jQuery.jQueryControl jQueryControl = select1.AsjQueryControl();
jQueryControl.InvokejQueryEvent(ArtOfTest.WebAii.jQuery.jQueryControl.jQueryControlEvents.change);
The scripted step is used to select the "All" option from a dropdown list. When "All" is selected, the page will automatically refresh to show "All" the data on a page. Is there something missing? I look forward to your response.
HtmlFindExpression expr = new HtmlFindExpression("class=~records_per");
HtmlSelect select1=Find.ByExpression<HtmlSelect>(expr);
select1.SelectByText("All", true);
ArtOfTest.WebAii.jQuery.jQueryControl jQueryControl = select1.AsjQueryControl();
jQueryControl.InvokejQueryEvent(ArtOfTest.WebAii.jQuery.jQueryControl.jQueryControlEvents.change);
The scripted step is used to select the "All" option from a dropdown list. When "All" is selected, the page will automatically refresh to show "All" the data on a page. Is there something missing? I look forward to your response.