- chinda
- Posts : 5
Join date : 2011-02-22
Selenium for IE9
Wed Aug 24, 2011 3:59 pm
Hi all,
We've tried to run our script on IE9(Windows7).
I tried to run this script with IE8, FF5 and Chrome. They works!
(also tried with Selenium RC2.3, 2.4 and 2.5)
On IE9, it failed and found some errors msg as below:-
==============================
============
C:\ScriptAT>AT_Homepage.rb
Loaded suite C:/ScriptAT/AT_Homepage
Started
2011-08-24 10:34:06 +0700 selenium-client received failure from selenium server:
requested:
cmd=isElementPresent
1=Lustype_myacclink
sessionId=2be4e69b55a54132929a4af2e36329f8
received:
"ERROR: Command execution failure. Please search the user group at https
://groups.google.com/forum/#!forum/selenium-users for error details from the log
window. The error message is: Unable to get value of the property 'nodeValue':
object is null or undefined"
called from C:/Ruby192/lib/ruby/1.9.1/timeout.rb:58:in `timeout'
E
Finished in 9.652965 seconds.
1) Error:
test_untitled(Untitled):
Selenium::CommandError: ERROR: Command execution failure. Please search the user
group at https://groups.google.com/forum/#!forum/selenium-users for error detai
ls from the log window. The error message is: Unable to get value of the proper
ty 'nodeValue': object is null or undefined
C:/Ruby192/lib/ruby/gems/1.9.1/gems/selenium-client-1.2.18/lib/selenium/clie
nt/protocol.rb:13:in `block in remote_control_command'
1 tests, 1 assertions, 0 failures, 1 errors, 0 skips
Test run options: --seed 54893
C:\ScriptAT>
=======================================
Main Script
=======================
if @session.element?($LoctMyacct)==true
@session.click($loctGotoLogout)
end
=======================
Thanks a lot.
- chinda
- Posts : 5
Join date : 2011-02-22
Re: Selenium for IE9
Wed Sep 14, 2011 1:47 pm
I modify script from @session.element? to @session.is_element_present, it work.
I think IE9 cannot support this command in idiomatic.rb.
I think IE9 cannot support this command in idiomatic.rb.
- [Help] Problem of running selenium Testcase[Java Junit] with Selenium RC
- What is the use of Selenium Core and Selenium Test Manager ? (N-Unit Procedures in VS 2010)
- Creating detail log for selenium command execution (Selenium RC Java client)?
- Selenium IDE generated testcase script is not working in Selenium Webdriver
- In Selenium RC wat is the Need of Running Selenium Server On Custom port
Permissions in this forum:
You cannot reply to topics in this forum