Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce

» Selecting the input for auto populating element
Sat Jul 29, 2017 7:53 pm by kdabbara

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