WebPagetest Forums
Input box value loosing after tab out - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: General Discussion (/forumdisplay.php?fid=25)
+--- Thread: Input box value loosing after tab out (/showthread.php?tid=15793)



Input box value loosing after tab out - pmohite@ancestry.com - 05-29-2019 01:36 AM

Hello team ,

I am not able to set value to input box .

1. tabbed out after entering value , value is getting flushed out

i tried below function

setValue id=emailAddress abc@gmail.com

document.getElementById("emailAddress").value="abc@gmail.com"

document.querySelector('#emailAddress').value="abc@gmail.com"

setInnerText id=emailAddress abc@gmail.com

setInnerHTML id=emailAddress abc@gmail.com


, could u pls tell me is there any other way to set value

Note: my application not using iframe , even tried that

one more note : I tried to set value using selenium webdriver , sendKey function there its working , but not in WPT