[wtr-general] Help: Pop-up for facebook creditental
I have a page to make automation with watir-webdriver using firefox. http://connect.tasawr.info/?l=enredirect_to=http://nujoomhotel.tasawr.info%3Flan%3Den http://connect.tasawr.info/?l=enredirect_to=http://nujoomhotel.tasawr.info%3Flan%3Denfor entering facebook credential I need to enter email ids, and how to click on the button of any pop ups..I have never used pop ups and I am completely a new comer in this field. but I dont to how to enter email id in pop ups. pop up url: https://www.facebook.com/login.php?api_key=151490298214692skip_api_login=1display=popupcancel_url=http://static.ak.fbcdn.net/connect/xd_proxy.php%23cb%3Df2e07e5f0%26origin%3Dhttp%253A%252F%252Fconnect.tasawr.info%252Ffb2600458%26relation%3Dopener%26transport%3Dpostmessage%26frame%3Df2e7bc468%26result%3D%2522xxRESULTTOKENxx%2522fbconnect=1next=https://www.facebook.com/dialog/permissions.request%3F_path%3Dpermissions.request%26app_id%3D479a1b24877d9f9118df2fb5f64b9764%26redirect_uri%3Dhttp%253A%252F%252Fstatic.ak.fbcdn.net%252Fconnect%252Fxd_proxy.php%2523cb%253Df2e07e5f0%2526origin%253Dhttp%25253A%25252F%25252Fconnect.tasawr.info%25252Ffb2600458%2526relation%253Dopener%2526transport%253Dpostmessage%2526frame%253Df2e7bc468%2526result%253D%252522xxRESULTTOKENxx%252522%26sdk%3Djoey%26display%3Dpopup%26api_key%3D479a1b24877d9f9118df2fb5f64b9764%26fbconnect%3D1%26locale%3Den_US%26method%3Dpermissions.request%26perms%3Demail%252Cpublish_stream%252Ccreate_event%252Crsvp_event%26return_session%3D1%26session_version%3D3%26from_login%3D1 -- Thanks, Irfan Ahmed Rizvi (Sagar) cell Numbers: +880 1676 246 991 +880 1723 712 888 http://www.welltreat.us http://restaurant.welltreat.us/ http://isp.welltreat.us/ -- 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
Re: [wtr-general] How to check a text in the lightbox (javascript)
browser.text.enable?(text).should == true. It is not working. :( as the text was from java script..:( On Wed, Dec 29, 2010 at 2:34 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Tue, Dec 28, 2010 at 8:15 PM, Irfan Ahmed irfan...@gmail.com wrote: browser.text.enable?(text).should == true. Please provide relevant HTML or link to the page (or similar one). Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them -- 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.comwatir-general%2bunsubscr...@googlegroups.com -- Thanks, Irfan Ahmed Rizvi (Sagar) cell Numbers: +880 1676 246 991 +880 1723 712 888 http://www.welltreat.us http://restaurant.welltreat.us/ http://isp.welltreat.us/ -- 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
Re: [wtr-general] Re: How to check a text in the lightbox (javascript)
Oh at last I solved that problem. Actually when the steps come to match the case I made a mistake in the last step so the light box wasn't appeared in that step and watir could not find the text. On Thu, Dec 30, 2010 at 12:01 PM, Dave McNulla mcnu...@gmail.com wrote: Like Sharma and Željko said, we want to know what Watir sees. Even though your eyes see the text, Watir doesn't have human eyes. It parses html. We should be able to examine that html either by you posting it or providing a link. To post html, navigate until the lightbox appears, right click and select Show Source (or something similar), then copy the html, especially that part with the text you saw visually. Thanks Dave On Dec 29, 12:54 am, Irfan Ahmed irfan...@gmail.com wrote:t browser.text.enable?(text).should == true. It is not working. :( as the text was from java script..:( On Wed, Dec 29, 2010 at 2:34 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Tue, Dec 28, 2010 at 8:15 PM, Irfan Ahmed irfan...@gmail.com wrote: browser.text.enable?(text).should == true. Please provide relevant HTML or link to the page (or similar one). Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them -- Before posting, please readhttp://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.comwatir-general%2bunsubscr...@googlegroups.com watir-general%2bunsubscr...@goog legroups.com -- Thanks, Irfan Ahmed Rizvi (Sagar) cell Numbers: +880 1676 246 991 +880 1723 712 888 http://www.welltreat.ushttp:// restaurant.welltreat.us/http://isp.welltreat.us/ -- 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 -- Thanks, Irfan Ahmed Rizvi (Sagar) cell Numbers: +880 1676 246 991 +880 1723 712 888 http://www.welltreat.us http://restaurant.welltreat.us/ http://isp.welltreat.us/ -- 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
Re: [wtr-general] Re: Help: File Size defining with Cucumber Watir.
Hi, Jarmo Pertman, Thanks for your response. Actually there was a problem to find out a file size for upload. Becuase, I need to know if the file size is more then something then the system will display a message xcvbnnm. Look at the step generated by cucumber: *Given /^I have selected a logo ([^]*) of size (\d+) MB$/ do |arg1, arg2| * * browser.file_field(:name, file).set(arg1)* *end* * this step will be passed if size of image file arg2 is the size equal to arg1. the file there I set (**browser.file_field(:name, file).set(arg1)) too upload a picture, I need to write a code to show that the file has a size of minimum requirement and so that I need to findout the size of that. So here I need to know how know a size of a picture or any file which are taken to upload. * On Sun, Dec 19, 2010 at 6:24 PM, Jarmo Pertman jarm...@gmail.com wrote: I didn't understand what's the exact problem. Could you be more specific what you'd want to exactly do? Jarmo Pertman - IT does really matter - http://www.itreallymatters.net On Dec 19, 5:02 am, Irfan Ahmed irfan...@gmail.com wrote: Hi, I am working for automation with Cucumber and watir in a software company. I have a problem while working windows component for uploading I need to do the following: *Given /^I have selected a logo ([^]*) of size (\d+) MB$/ do |arg1, arg2| * * browser.file_field(:name, file).set(arg1)* *end* * * But, I am having problem to get to the file size to pass this test. I need to compare the file size with the given size. Anybody, please help me as soon as possible. -- Thanks, Irfan Ahmed Rizvi (Sagar) cell Numbers: +880 1676 246 991 +880 1723 712 888 Tasawr Interactive http://www.tasawr.com -- 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.comhttp://groups.google.com/group/watir-general%0awatir-general+unsubscr...@googlegroups.com -- Thanks, Irfan Ahmed Rizvi (Sagar) cell Numbers: +880 1676 246 991 +880 1723 712 888 http://www.welltreat.us http://restaurant.welltreat.us/ http://isp.welltreat.us/ -- 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
Re: [wtr-general] Re: help-please: cucumber-watir tutorial
Hi everybody, You people are too much helpful..I am really grateful to you. I wish one day, some how, I can also help you...:) On Tue, Dec 14, 2010 at 5:22 PM, Keith Hughes khughe...@gmail.com wrote: Irfan, Have a look at these, http://khughes88.wordpress.com/tag/cucumber/ http://khughes88.wordpress.com/tag/webdriver/ rgds Keith On Tue, Dec 14, 2010 at 3:04 AM, Dave McNulla mcnu...@gmail.com wrote: that's on my wish list. i'll probably buy it next. dave On Dec 13, 10:39 am, Chuck van der Linden sqa...@gmail.com wrote: http://www.pragprog.com/titles/achbd/the-rspec-book buy and read On Dec 12, 4:39 pm, Basim Baassiri ba...@baassiri.ca wrote: Have you read any information herehttp://www.cuke4ninja.com/ On Sun, Dec 12, 2010 at 12:40 PM, Irfan Ahmed irfan...@gmail.com wrote: Hi, Anybody here who can provide some tutorial links/books on Cucumber- Watir-Wevdriver? I need this help very urgently. Please help me. -- Before posting, please readhttp://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- Hide quoted text - - Show quoted text - -- 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.comhttp://groups.google.com/group/watir-general%0awatir-general+unsubscr...@googlegroups.com -- 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.comwatir-general%2bunsubscr...@googlegroups.com -- Thanks, Irfan Ahmed Rizvi (Sagar) cell Numbers: +880 1676 246 991 +880 1723 712 888 http://www.welltreat.us http://restaurant.welltreat.us/ http://isp.welltreat.us/ -- 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
[wtr-general] help-please: cucumber-watir tutorial
Hi, Anybody here who can provide some tutorial links/books on Cucumber- Watir-Wevdriver? I need this help very urgently. Please help me. -- 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