Unable to parse benchmark page with Selenium WebDriver

45 views
Skip to first unread message

Levi Half

unread,
Jun 5, 2014, 8:44:52 AM6/5/14
to seleniu...@googlegroups.com
I am trying to parse Octane benchmark page
http://octane-benchmark.googlecode.com/svn/latest/index.html

I've started Selenium WebDriver on my tablet device (using Java, Eclipse,
Selendoroid) and I've initialized driver with Octane page,but Java returns
NullPointer Exception (on line)- function FindElement()
can not find anything on this html page.

Driver is started well, it returns appropriate value for getCurrentUrl()
function, but can not return PageSource(), and can not return any value for
findElement(By.something...).

Also, Octane html page doesn't conform to XML standard.

Does any one have idea, what should I use to parse this page on my
Android device?

Thank You.

reference: http://grokbase.com/t/gg/selenium-users/144ynqegzd/webdriver-automation-unable-to-find-element-using-xpath-in-octane-2-0-benchmark-page

Oscar Rieken

unread,
Jun 5, 2014, 2:40:02 PM6/5/14
to seleniu...@googlegroups.com
I looked at the page and was successfully able to create a spec that clicked the button waiting until the progress bar was done and then parsed the 
"Octane Score: 20214"

so I'm not sure what problems you are having post some code ( i did it in ruby)



--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/72788b26-8b10-47c7-94e5-ed4a65625c64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages