What steps will reproduce the problem?
1. ff.startClicker("ok", 1) # start the clicker
2. Click the button that creates the popup.
3. Call get_popup_text() # this returns the popup text but doesnot clear
the text even if the browser moves to a new page.
What is the expected output? What do you see instead?
get_popup_text() should return empty after it has been read once.
What version of the product are you using? On what operating system?
Firewatir 1.1, OS: WIN XP
Please provide any additional information below.
File Name: firewatir.rb
Function name: get_popup_text()
Line No: 721
Actual code seen:
# reset the variable
$jssh_socket.send("popuptexti = '';\n", 0)
Change the popuptexti to popuptext.
This should clear the popuptext variable.
Changed code:
# reset the variable
$jssh_socket.send("popuptext = '';\n", 0)
Thanks & regards,
Tony
Original issue reported on code.google.com by ynot...@gmail.com on 11 Feb 2008 at 11:50
Original issue reported on code.google.com by
ynot...@gmail.com
on 11 Feb 2008 at 11:50