Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
avatar
chinda
Posts : 5
Join date : 2011-02-22

Selenium for IE9 Empty 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.
avatar
chinda
Posts : 5
Join date : 2011-02-22

Selenium for IE9 Empty Re: Selenium for IE9

Wed Sep 14, 2011 1:47 pm
I modify script from @session.element? to @session.is_element_present, it work. Wink

I think IE9 cannot support this command in idiomatic.rb.

Back to top
Permissions in this forum:
You cannot reply to topics in this forum