Kev 69 Posted April 10, 2012 Report Share Posted April 10, 2012 Hi all, Im having difficulty clearing an input box and wondered if you could give me a little guidance. The box in question is the L one. ui block text("Litre Arounds", #litres) clear list(%litres) add list to list(%litres, $list from text(#litres, $new line), "Delete", "Global") set list position(%litres, 0) loop($list total(%litres)) { navigate("https://www.jonesoil.ie/shopping-cart/", "Wait") wait(2) change dropdown(<name="oil">, "Kerosene") wait(2) type text(<name="quantity">, $next list item(%litres), "Standard") click(<id="calculatenow">, "Left Click", "No") wait(1) } Here are the values to go into the Block text box:2503003504004505005506006507007508008509009501000 Thanks in advance guys and gals Quote Link to post Share on other sites
Lombi 34 Posted April 10, 2012 Report Share Posted April 10, 2012 Use change attribute (value) instead of type text. 1 Quote Link to post Share on other sites
Kev 69 Posted April 10, 2012 Author Report Share Posted April 10, 2012 Perfect, thanks Lombi Quote Link to post Share on other sites
tidaltides 0 Posted April 12, 2012 Report Share Posted April 12, 2012 Got another lesson for today. Thanks.http://imagicon.info/cat/5-34/vbulletin-cool.gif Quote Link to post Share on other sites
HarryPotter 9 Posted May 4, 2012 Report Share Posted May 4, 2012 any other ideas if change attribute isn't working? for some reason... the change attribute (value) isn't taking effect... but when i do type text, it works... except i can't clear the text box before typing Quote Link to post Share on other sites
a2mateit 395 Posted May 5, 2012 Report Share Posted May 5, 2012 any other ideas if change attribute isn't working? for some reason... the change attribute (value) isn't taking effect... but when i do type text, it works... except i can't clear the text box before typingNeed to be a little more specific to get better guidance and answers. What is the site you are having trouble with and the specific field that change attribute isn't working for... Quote Link to post Share on other sites
HarryPotter 9 Posted May 7, 2012 Report Share Posted May 7, 2012 solved. for anyone else interested... use {BS} for backspace and {BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS} to clear whatever you want in the input box Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.