Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Regarding Alert Interface
Fri Feb 24, 2017 2:00 pm by karthikeyakumar

» Geting issues in identifying the elsements in webdriver
Fri Feb 17, 2017 4:41 pm by janbaskt

» WebDriver - why not to use a singlton for it?
Fri Feb 17, 2017 4:40 pm by janbaskt

» WebDriver session when using testng annotation to invoke driver instance
Fri Feb 17, 2017 4:39 pm by janbaskt

» Selenium fails to launch Chrome
Fri Feb 17, 2017 4:39 pm by janbaskt

» why do i get this error
Fri Feb 17, 2017 4:38 pm by janbaskt

» Selenium Tutorial
Thu Feb 16, 2017 5:21 pm by Rahul

» When to use Selenium IDE, RC and WebDriver
Mon Feb 13, 2017 2:35 pm by azharuddin

» How to integrate selenium with ZAPI-Zephyr
Sat Feb 11, 2017 2:25 am by gseera002c

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