iamddr 12 Posted February 24, 2016 Report Share Posted February 24, 2016 In some of my projects, first text field filling action doesn't work correctly every time, I don't know what caused it, just first text field do. So I usually don't put text field filling action first or just use change attribute 3 times instead. I tried a while loop to recheck text field value is nothing then run text field filling action. Yes, It's always nothing Any idea about recheck filled text fields? Quote Link to post Share on other sites
pash 504 Posted February 24, 2016 Report Share Posted February 24, 2016 try click text field before type text or change attribute sample navigate("http://support.ubotstudio.com/","Wait") wait for browser event("Everything Loaded","") wait(1) click(<name="searchquery">,"Left Click","No") wait(0.1) loop(10) { if($comparison($scrape attribute(<name="searchquery">,"value"),"= Equals","")) { then { change attribute(<name="searchquery">,"value","error") } else { } } } click(<class="searchbutton">,"Left Click","No") this loop check 10 time loop(10) { if($comparison($scrape attribute(<name="searchquery">,"value"),"= Equals","")) { then { change attribute(<name="searchquery">,"value","error") } else { } } } Quote Link to post Share on other sites
iamddr 12 Posted February 24, 2016 Author Report Share Posted February 24, 2016 Thank you pash, click text field works 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.