|
Description from Opened a web page and the wet UI. After refreshing ,got the browser form . Set the SEARCH text box with the item to be searched. As there was no button and no other way to do search ,could not do search. I cannot share resourses at this point of time. I could achieve this, by following the below steps: 1. I installed the "AutoIt" Version 3.2.0.1. Download the exe from the site "http://www.autoitscript.com/autoit3/downloads.php", and install it on the system. 2. Include the following function in the "watirbrowser.rb" file at the location def send_keys(key_string) 3. Include the following function in the "Browser.rb" file at the location def send_keys(key_string) 4. Use the following WET Script to send the characters to the Browser require 'WET' The above script will open the Yahoo Mail, input the string "yahoo" in the "Yahoo! ID" TextField. Then the "\t"(tab character) takes the focus to the "Password:" TextField. It enters the Password as "yahoo" and finally sends the "\r" i.e., the <RETURN> character to the Browser, which submits the login page. Make the necessary changes in the files as mentioned above, to reflect in the next build. Fixed in Rev. 652. Chitra, To verify please write a cript navigate to a page on which enter can be pressed (eg. google) and do form_submit: When you run this command, a google search for 'Wet web tester' should be done automatically |
||||||||||||||||||||||||||||||||||||||||||||||||||||
This fix has to made before 1.0