Tag Info

New answers tagged

0

I would recommend you to move your Selenium version and drivers for your other browsers (IE,Chrome) to the latest version. So far 2.44. Verify Selenium and drivers from browsers are same version and also check according to your US (32 bits, 64 bits)


1

You need to tell it to return the value. Change this line: String mainURL = (String) js.executeScript("productObj.mainURL"); to: String mainURL = (String) js.executeScript("return productObj.mainURL");


0

//create a list/array of the partner codes found within the source file List<MindsparkPartnerCode> records = new ArrayList<MindsparkPartnerCode>(); //set the location of the file and create a read buffer FileReader r = new FileReader("C:\\DailyLocalGuidePartnerCode.csv"); BufferedReader bfr = new ...


0

line contains nothing but commas. That causes line.split to return a zero-length array. Since the array is empty, chunks[0] causes an ArrayOutOfBoundsException.


2

You can use WebDriverWait to synch with page load. Something like the following might help WebDriverWait wait = new WebDriverWait(driver, 15); //you can play with the time integer to wait for longer than 15 seconds.` wait.until(ExpectedConditions.titleContains("title")); //if you want to wait for a particular title to show up OR ...


0

Can I suggest using techniques to reduce heap size at compile-time or runtime in order to force this situation to reproduce on smaller scale testing? I used to do this many years ago on an embedded platform with a lot of success, although lately it's not that easy to do without special work if you are using Windows platform. Hope this helps.



Top 50 recent answers are included