Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

read values from runScript method

View previous topic View next topic Go down

read values from runScript method

Post by sunram_ram on Wed Aug 25, 2010 1:58 pm

hi,
my javascript function call which is defined in browser is not working with geteval so i am using runScript, I am able to get the values in alert but don't how to read these values?

selenium.runScript("alert(getBoundaries());");

PLease let me know how to get the values returned either from the alert or directly from the method.

I tried selenium.getAlert() but it is not having any response.. the alert box is keep on open, when i manually click ok then selenium throws error no alerts found

sunram_ram
Active particpant
Active particpant

Posts : 16
Join date : 2010-06-25

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