[wtr-general] application/x-shockwave-flash : Need help
Hi All, My application has the following HTML code embed id=DQMView width=100% height=100% align=middle type=application/x-shockwave-flash pluginspage=http://www.adobe.com/go/getflashplayer; allowscriptaccess=sameDomain name=DQMView wmode=opaque bgcolor=#869ca7 quality=high src=dqm.swf/embed This is the entire page where I am looking for objects inside this flash. But the HTML code does not show the objects that exists inside it. There are fields like User Name, Password where i need to fill the text box and then click on a Login button. Not sure how can I locate these objects inside the flash. (HTML code does not show them - I am using Inspector in Firefox) Please let me know if you have experienced this in past or know a solution for this. Thanks, Sanjeev -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com --- You received this message because you are subscribed to the Google Groups Watir General group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[wtr-general] Issue using .options with select_list
Hi, im getting error as NoMethodError for .option which im using with select_list. i have Ruby 1.8.6 and watir 1.6.2. definitely it is old version but right now i cannot upgrade it due to some limitation for my project. Now i wrote code like this : elems = Array.new values = Array.new elems = $ie.select_list(:id,setTagList).options puts elems 0.upto(elems.length - 1) do |i| values.push elems[i].text end 0.upto(values.length - 1) do |i| puts values[i] if values[i] =~ /DupTags/ returnValue = false else returnValue = true end end But then it shows error that undefined method .options like this : NoMethodError: undefined method `options' for #Watir::SelectList:0xfcc2d4c I also tried like this, but same error : searchList = $ie.select_list(:id,setTagList) selectContent = searchList.options.collect { |option| option.value } So what is the issue here? .option is bydefault method i guess. then why its not working. please help. bhavesh -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com --- You received this message because you are subscribed to the Google Groups Watir General group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[wtr-general] Issue with .options method with select_list
Hi, Im using Ruby 1.8.6 with Watir 1.6.2 i know its is very old but we have maintained this structure becasue of some reasons. Presently i m getting NOMETHODERROR when i use .options with select_list. Here is my code : elems = Array.new values = Array.new elems = $ie.select_list(:id,setTagList).options puts elems 0.upto(elems.length - 1) do |i| values.push elems[i].text end It shows errros as : NoMethodError: undefined method `options' for #Watir::SelectList:0xfcc2d4c I also tried this : searchList = $ie.select_list(:id,setTagList) selectContent = searchList.options.collect { |option| option.value } Still same error. But .options is supported for select_list, then why im getting this error? Can anyone help? Thanks Bhavesh -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com --- You received this message because you are subscribed to the Google Groups Watir General group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.