Current time: 01-28-2021, 10:13 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why does a script work on FF and Chrome but not on IE
03-03-2015, 06:56 PM (This post was last modified: 03-04-2015 02:42 AM by andydavies.)
Post: #2
RE: Why does a script work on FF and Chrome but not on IE
I tried this but it fails in IE too - so you might need to walk through the DOM scripting in IE

Code:
combineSteps
navigate    http://www.insight.com/
exec document.getElementById('searchText').value="hp laserjet pro"
execAndWait    document.getElementById('searchBtn').click()
execAndWait    document.getElementById('CE749AR#BGJ_^^HP LaserJet Pro P1606DN - printer - monochrome - laser - remarketed').click()
execAndWait    submitPPPSubmission('main', 'CE749AR#BGJ',false);
execAndWait    location.href = '/insightweb/viewCart';
exec    document.getElementById('j_username').value="keynoteuser1"
exec    document.getElementById('j_password').value="password1"
execAndWait    InsightNavigation.validateLoginSmallWindow();
execAndWait    callShipBillPayPage('shippingOrder');

One thing I did notice while looking at it is that a couple of the strings end with rather than '

Might have another poke at it later if I get the chance

Andy

Using WebPageTest - http://usingwpt.com/
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Why does a script work on FF and Chrome but not on IE - andydavies - 03-03-2015 06:56 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)