WebPagetest Forums

Full Version: Help with Custom Scripting
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I have the below script where the first part highlighted in yellow works fine, but the remaining block doesn’t get executed. Could someone kindly help me with this.

logData 0
navigate https://quickbooks.intuit.com/signup/core?bc=USS-TR0
logData 1
//Create a Sample Company
execAndWait document.getElementById("ius-email").value="ryan8888_iamtestpass@intuit.com",document.getElementById("ius-confirm-email-address").value=" ryan8888_iamtestpass@intuit.com",document.getElementById("ius-first-name").value="raj",document.getElementById("ius-last-name").value="vasikarla",document.getElementById("ius-mobile-phone").value="6606606666",document.getElementById("ius-password").value="1Splendor!",$("#ius-password").focus(),document.getElementById("ius-fieldset-confirm-password").className="",document.getElementById("ius-confirm-password").value="1Splendor!",document.getElementById("ius-sign-up-submit-btn").click();

execAndWait document.querySelector("[data-qbo-bind='value: companyName, attrWidget: {address:businessLookupInfo}']").value="RajHoldings";document.querySelector("[data-qbo-bind='value: address']").value="401 First Avenue";document.querySelector("[data-qbo-bind='value: city']").value="Sunnyvale";var dropdown = document.getElementsByClassName('stateSelectBox')[0];var event = document.createEvent('MouseEvents');event.initMouseEvent('mousedown', true, true, window);dropdown.dispatchEvent(event);document.querySelector("[aria-label='CT ']").click();document.querySelector("#companySetup;[data-dojo-attach-point='nextBtn']").click();
Hello There,
I just wanted to check if you were able to resolve this? please let me know as I am facing a similar issue.

Thanks,
Deepak
Reference URL's