Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» FlexMonkium Download Not available under Gorillalogic site
Thu Dec 08, 2016 5:40 pm by bhanu.praveen

» Selenium Script issue
Tue Dec 06, 2016 9:48 pm by njain213

» Difference between QTP, Selenium and Silk test
Tue Dec 06, 2016 7:58 pm by jessicacyrus1

» Where does selenium script pick browser from
Tue Dec 06, 2016 1:52 pm by janbaskt

» Safari throws an HTTP ERROR: 404
Tue Dec 06, 2016 1:51 pm by janbaskt

» Access Denied Error in Selenium RC
Tue Dec 06, 2016 1:51 pm by janbaskt

» Automating Flex application through selenium webdriver
Fri Dec 02, 2016 2:06 pm by abhinay.krs

» Starting with Selenium, what is Selenium?
Mon Nov 28, 2016 4:00 pm by Foma

» Getting started with Selenium
Mon Nov 28, 2016 3:23 pm by Rebbelx

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Selenium for IE9

View previous topic View next topic Go down

Selenium for IE9

Post by chinda on 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

Back to top Go down

Re: Selenium for IE9

Post by chinda on 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.


chinda

Posts : 5
Join date : 2011-02-22

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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