Public Notes on
View Public Collections
text_from_all_my_visible_divs = br.div(:id, 'divs I care about').divs.select do |div| text_i_care_about(div) && div.visible? end def text_i_care_about(div) div.text =~ /regexp/ end #Watir #tips #code #references #good_to_know #pub
Show More
#Watir #references #tidbits #reminders #advanced_basics #Ruby #code #pub
Show More
"Another thing I like to do is serialize(save) the Watir::Browser object into a file using YAML, like so: require "yaml" File.open("browserObj.yaml", 'w').write YAML::dump(@browser) This browserObj.yaml file will then contain all sorts of internal details in easily readable/parseable text, including PID of whichever browser, path to temp profile, etc. Eg. profile_dir: /tmp/webdriver-rb-profilecopy20121201-1981-9o9t9a" #Watir #browsers #cookies #preferences #states #automation #data #pub
Show More
"I finally have a solution! It appears that watir-webdriver stores the browser state/user data in random path. By default this can be found here (where XXXXXX is the random identifier): /private/var/folders/2v/vkd2v3vs5njf69m59nqzc16m0000gn/T/.com.google.Chrome.XXXXXX/Default/ Instead of relying on this default and randomized path, you can specify a precise location for the user data using the following flag: Watir::Browser.new :chrome, :switches => %w[--user-data-dir=/path/to/user/data] Then the cache, cookies, etc. can be backed up, deleted, etc. using Ruby's standard library. Hopefully this helps someone else. Edit: If you are unable to find where watir-webdriver is storing your user data by default, find Chrome's process id by running watir-webdriver and top. Once you have the pid, type lsof -p into terminal to find the path to the user data." #Watir #browsers #states #preferences #cookies #automation #data #pub
Show More
#Watir #web_automation #docs #references #guides #info #Ruby #code #pub
Show More
"Watir is a great framework for automated testing web applications. It is easy to get started with Watir, but do you use effectively for testing real-world test scenarios? Such as data driving test from an Excel spreadsheet and handling pop up dialogs. Watir Recipes will show you the solution for your problems from the experts who have already solved them. All recipe test scripts (100+) are ready-to-run, i.e., I created the target web pages and test sites, so that you can simply find the recipe and run, in matter of seconds. Owning this book is like having a test automation coach sitting next to you." #Watir #web_automation #docs #references #guides #info #Ruby #code #ebooks #paid #recipes #@to_get #pub
Show More
Watir Recipes zhimin.com
"Watir is a great framework for automated testing web applications. It is easy to get started with Watir, but do you use effectively for testing real-world test scenarios? Such as data driving test from an Excel spreadsheet and handling pop up dialogs. Watir Recipes will show you the solution for your problems from the experts who have already solved them. All recipe test scripts (100+) are ready-to-run, i.e., I created the target web pages and test sites, so that you can simply find the recipe and run, in matter of seconds. Owning this book is like having a test automation coach sitting next to you." #Watir #code #info #guides #recipes #references #web_automation #ebooks #paid #Ruby #docs #@to_get #pub
Show More
"While few people deny the benefits of test automation, comprehensive automated testing via UI (browser for web applications) is rarely implemented in software projects. Common reasons for projects' failed attempts on test automation are: Difficult to learn - test scripts are complex and testing tools are not easy to use Hard to maintain - UI tests are vulnerable to application changes Long feedback loop - automated tests take too long to run To succeed in automated testing via UI, software projects need to overcome all these 3 chellenges. This book (7 free chapters) presents a practical approach to implementing test automation for web applications. Topics include: Developing easy to read and maintain Watir/Selenium tests using next-generation functional testing tool Page object model Functional Testing Refactorings Cross-browser testing against IE, Firefox and Chrome Setting up continuous testing server to manage execution of a large number of automated UI tests Requirement traceability matrix Strategies on team collaboration and test automation adoption in projects and organizations To help readers learn more effectively, the book has a dedicated site containing the following resources:" #Watir #ebooks #paid #@to_get #web_automation #testing #pub
Show More
"While few people deny the benefits of test automation, comprehensive automated testing via UI (browser for web applications) is rarely implemented in software projects. Common reasons for projects' failed attempts on test automation are: Difficult to learn - test scripts are complex and testing tools are not easy to use Hard to maintain - UI tests are vulnerable to application changes Long feedback loop - automated tests take too long to run To succeed in automated testing via UI, software projects need to overcome all these 3 chellenges. This book (7 free chapters) presents a practical approach to implementing test automation for web applications. Topics include: Developing easy to read and maintain Watir/Selenium tests using next-generation functional testing tool Page object model Functional Testing Refactorings Cross-browser testing against IE, Firefox and Chrome Setting up continuous testing server to manage execution of a large number of automated UI tests Requirement traceability matrix Strategies on team collaboration and test automation adoption in projects and organizations To help readers learn more effectively, the book has a dedicated site containing the following resources:" #Watir #ebooks #paid #@to_get #web_automation #testing #pub
Show More
"TestWise Recorder records your operations into executable test scripts while you navigates your web application in Firefox. Three test scripts syntax are supported: RWebSpec, Watir and Selenium-WebDriver." #browser_extensions #Firefox #recorders #Watir #RWebSpec #Selenium #webdriver #pub
Show More
"Use Watir with RSpec with ease." #Watir #gems #RSpec #web_automation #Ruby #pub
Show More
#Watir #tidbits #good_to_know #references #pub
Show More
Vapir vapir.org
"Vapir* is a fork of the popular Watir browser automation library for Ruby. It offers a great deal of bug fixes and new functionality over Watir, particularly comparing Firefox versions." #watir #webdriver #ruby #open_source #automation #user_testing #forks #pub
Show More
vapir/vapir github.com
"Vapir is a fork of the popular Watir browser automation library for Ruby. It offers a great deal of bug fixes and new functionality over Watir, particularly comparing Firefox versions. http://vapir.org/" #watir #webdriver #ruby #open_source #automation #user_testing #forks #pub
Show More
Selenium 2.0 (WebDriver) was released today, and with it came support for Opera. Since Watir-WebDriver uses the WebDriver bindings, it now supports Opera out of the box. How to get it working First make sure you have the latest watir-webdriver (>0.2.5) and selenium-webdriver (>2.0.0) gems installed. Install Opera if you haven't already Download the latest… #watir #selenium #webdriver #tutorials #dev #opera #pub
Show More
#watir #selenium #$AFMA #dev #tidbits #ruby #pub
Show More
#watir #selenium #$AFMA #dev #tidbits #ruby #discussions #pub
Show More
#watir #selenium #$AFMA #dev #tidbits #ruby #bookmarked_on_site #%stack_overflow #pub
Show More
#watir #$AFMA_umbrella #ruby #dev #code #%stack_overflow #bookmarked_on_site #webdriver #pub
Show More
#watir #$AFMA_umbrella #ruby #dev #code #%stack_overflow #bookmarked_on_site #webdriver #pub
Show More
#watir #$AFMA_umbrella #ruby #dev #code #%stack_overflow #bookmarked_on_site #webdriver #pub
Show More
Waiting | Watir WebDriver watirwebdriver.com
#watir #$AFMA_umbrella #ruby #dev #code #blog_posts #webdriver #pub
Show More