automated tests - Telerik testing tools - escape ampersand (&) in search string -
i'm using telerik testing tools. goal wait anchor make screen, click on it. anchor has href of #resources/details?mode=view&resourceid=149176
i'm having problems escaping string properly. code works perfectly:
activebrowser.waitforelement(5000, "href=~resourceid=149176") .as<htmlanchor>().click(); unfortunately, when try incorporate more of url, breaks, ie, not work
activebrowser.waitforelement(5000, "href=~view&resourceid=149176") .as<htmlanchor>().click(); it seems though & problem. i've tried escaping can think of based on telerik's documentation on find expressions, including \ \' , =.
what proper way escape string?
i believe can use & one.
Comments
Post a Comment