Hi Titus,
I found out the issue with chrome was that the page was not scroling down
unlike firefox and the object i wanted to click was not shown on the
screen.
I used
#Creating object og WIN32OLE for send key
wsh = WIN32OLE.new('Wscript.Shell')
wsh.SendKeys
Sorry, missed the capitalization:
@browser.input(id: 'Item1silver').parent.img.click
or
@browser.img(alt: 'Silver')
or
@browser.img(css: "label[for='Item1silver'] img").click
On Sat, Jan 17, 2015 at 11:58 AM, Mohan MK wrote:
> Thanks Titus Fortner,
>
> but both did not work.
>
> I used Xpath and
Thanks Titus Fortner,
but both did not work.
I used Xpath and was able to select
@browser.find_element(:xpath, ".//*[@id='Item1']/div/div/fieldset/div/"+
iPad_Finish +"/label/div").click
, but again the issue is the second element is not visible on the screen :(
unlike Firefox, chrome doe
This is a selenium-webdriver question not a watir-webdriver question.
Coming from a selenium-webdriver background, using watir-webdriver has made
a number of things much easier when testing, so if you're just starting
out, I highly recommend learning watir.
The issue here is that the input field y
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, "Item1s