[wtr-general] Can we get Cell values in excel using column names as reference. TestWise/ Selenium-Webdriver - RSpec

2015-02-02 Thread Mohan MK
Hi All, I am trying to make my script datadriven, but would like to reference the data from data sheet through *column names*. This is what i had used in QTP DataElementValue = DataTable.GetSheet(DataSheetName). *GetParameter(DataFileColumnName).ValueByRow(LoopDataFileRow(i))* Is it

[wtr-general] Re: Can we get Cell values in excel using column names as reference. TestWise/ Selenium-Webdriver - RSpec

2015-02-02 Thread Mohan MK
/ Otherwise just read section Table identification under rubyxl documentation - http://www.rubydoc.info/gems/rubyXL/3.3.3 cheers, www.seleniumframework.com On Monday, February 2, 2015 at 7:20:33 AM UTC-5, Mohan MK wrote: Hi All, I am trying to make my script datadriven, but would

[wtr-general] Re: Can we get Cell values in excel using column names as reference. TestWise/ Selenium-Webdriver - RSpec

2015-02-02 Thread Mohan MK
Thanks Much, i shall go through the links provided Regards, M.K.Mohan On Monday, 2 February 2015 17:50:33 UTC+5:30, Mohan MK wrote: Hi All, I am trying to make my script datadriven, but would like to reference the data from data sheet through *column names*. This is what i had

Re: [wtr-general] Issue running script on Chrome ( TestWise, Selenium-WebDriver, RSpec )

2015-01-18 Thread Mohan MK
') or @browser.img(css: label[for='Item1silver'] img).click On Sat, Jan 17, 2015 at 11:58 AM, Mohan MK mohan...@gmail.com javascript: wrote: Thanks Titus Fortner, but both did not work. I used Xpath and was able to select @browser.find_element(:xpath, .//*[@id='Item1']/div/div

Re: [wtr-general] Issue running script on Chrome ( TestWise, Selenium-WebDriver, RSpec )

2015-01-17 Thread Mohan MK
').parent.img.click In selenium this should work: @browser.find_element(css: label[for='item1silver'] img).click On Fri, Jan 16, 2015 at 12:37 PM, Mohan MK mohan...@gmail.com javascript: wrote: Hi All, I am new using selenium-webdriver. Using Testwise , selenium-webdriver, RSpec to trying

[wtr-general] Issue running script on Chrome ( TestWise, Selenium-WebDriver, RSpec )

2015-01-16 Thread Mohan MK
Hi All, I am new using selenium-webdriver. Using Testwise , selenium-webdriver, RSpec to trying to automate http://store.apple.com/us/buy-ipad/ipad-air-2 site basically the combination of Finish, Storage and Connectivity and verifying the summary generated. @browser.find_element(:id,

Re: [wtr-general] Problem with Logger and condition if/else Watir | Testwise

2014-12-19 Thread Mohan MK
spreadsheet.rows.to_a[1..-1] to get a collection of rows without the header (don't know if to_a would be necessary)* -- *From:* Mohan MK mohan...@gmail.com javascript: *To:* watir-...@googlegroups.com javascript: *Sent:* Thursday, December 18, 2014 4:17 AM *Subject:* [wtr

[wtr-general] Problem with Logger and condition if/else Watir | Testwise

2014-12-18 Thread Mohan MK
Hi All, In below code I am trying to iterate 2 loops of data from data sheet one positive and one negative scenario and using “logger” to log “PASS” and “FAIL”. Problem I am facing are 1. When I run the script with negative “say invalid password” the script stops at line marked in Red bold