winclicker problem

E

Erika

[Note: parts of this message were removed to make it a legal post.]

Hi,

I used the following code
def myclick(button, waitTime = 3)
w = WinClicker.new
longName = $ie.dir.gsub("/" , "\\" )
shortName = w.getShortFileName(longName)
c = "start ruby #{shortName}\\watir\\clickJSDialog.rb #{button}
#{waitTime} "
puts "Starting #{c}"
w.winsystem(c)
w=nil
end

Then, before the button i want to click that generates the popup, added: myclick ("Ok",3)


But after I updated the ruby it doesn't have any effect. Another
command page is opened but it disappears very quickly, maybe is an error there but can't be seen. The IE wasn't changed in the mean time.Did anyone else experienced the same problem?

I would be grateful for any idea.

Thank you,
Erika
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top