Suljettu

Project for sachavukic -- 4

Hi Sacha,

I also have another similar problem with Firefox in a different part of the code. I don't know if the solution is similar, but I'll post them as separate projects so that if you solve both you can get paid for both :) (More dinners for the wife!)

Here is what I am trying to automate:

1) go to [url removed, login to view]

2) sign in as:

finagraphbbceasyuser@[url removed, login to view]

Testpass1!

3) Now you will be on [url removed, login to view] . Click on the "My Account" link in the top row

4) Now you will be on

[url removed, login to view] . Click on the button which says "Edit Business".

Like before, I wrote code to do this in Selenium and it works in Internet Explorer and Chrome, but in the Firefox driver, the final step -- the attempt to click the "Edit Business" button -- does not work. Similarly to the last problem, I can actually see the "Edit Business" button lighting up *as if* it is being clicked, but the browser doesn't navigate to the next page.

Here is the code. Do you know how to make it click the "Edit Business" button successfully in Firefox?

WebDriverWait myWait = new WebDriverWait(_driver, [url removed, login to view](30));

[url removed, login to view]().GoToUrl("[url removed, login to view]");

// This Click() is necessary for Firefox. But in some other browsers (e.g. Chrome), the same

// code will throw an exception, so we catch that.

try

{

[url removed, login to view]([url removed, login to view]("body")).Click();

}

catch (InvalidOperationException) { }

[url removed, login to view]("UserName").SendKeys("finagraphbbceasyuser@[url removed, login to view]");

[url removed, login to view]("Password").SendKeys("Testpass1!");

[url removed, login to view]("signin").Click();

[url removed, login to view]([url removed, login to view]([url removed, login to view]("//span[text()='My Account']")));

[url removed, login to view]([url removed, login to view]("//span[text()='My Account']")).Click();

[url removed, login to view]([url removed, login to view]([url removed, login to view]("//a[text()='Edit Business']")));

[url removed, login to view]([url removed, login to view]("//a[text()='Edit Business']")).Click();

[url removed, login to view](5000);

Taidot: C# -ohjelmointi, Excel, MySQL, SQL, Visual Basic

Näytä lisää: site designed works internet explorer, internet explorer addon project, player internet explorer sometimes works, iweb site works internet explorer, popup script works internet explorer, php project working internet explorer, flash progress bar working internet explorer works firefox, making iweb page works internet explorer, creating iweb site works internet explorer, sure website works internet explorer, script pull data internet explorer, internet explorer clone, internet explorer css compatibility, copy paste internet explorer forms

Tietoa työnantajasta:
( 128 arvostelua ) Bellevue, United States

Projektin tunnus: #13172165

1 freelanceria on tarjonnut keskimäärin 40 $ tähän työhön

sachavukic

Hired by the Employer

40 $ USD 3 päivässä
(2 arvostelua)
1.6