Käynnissä

Project for sachavukic -- 3

Hi Sacha! Ran into another problem with Firefox and I was hoping you could help :)

(You can ignore the last "project" that I created a few minutes ago, I clicked the wrong button and Freelancer created it by accident before it was ready.)

I am trying to automate the following:

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

2) sign in with the credentials:

codetest@[url removed, login to view]

demodemo

3) after you sign in, you see a list of business names as links, and I want to click on the link for "CodeTestBiz"

The following code DOES work if _driver is an Internet Explorer driver or a Chrome driver. However, with Firefox, when you get to the page with the list of businesses, the line to click "CodeTestBiz" does not work. When the automation runs, you can see the row in the table darken for a second, as if the browser is aware that the link has been clicked, but then the browser never navigates to the page.

Can you figure out what I need to add in order to make it work in Firefox?

Thanks!

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("codetest@[url removed, login to view]");

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

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

[url removed, login to view]([url removed, login to view]([url removed, login to view]("addBusiness"))); // button to add a business

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

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

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

Näytä lisää: make interactive order form, make food order system, make electronic order form ecommerce site, java project make wifi, idea project make money law firm, english project make coat arms, demo project make online bookshop website asp net, code project make kundali windows application, code project make chat room asp net, captcha project make money, project design work order telecommunication, quickbooks project budget change order, project php site order template, project template business market need, project report purchase order system

About the Employer:
( 128 reviews ) Bellevue, United States

Projektin tunnus: #13171620

Myönnetty käyttäjälle:

sachavukic

Hired by the Employer

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