I am currently writting a test which activates an user account by going to an activation url mentioned in an email.
I ran the test on chrome and firefox and it works fine. When I copy pasted the link in IE manually it works fine.
But when I do the same from the test script in IE, it seems like the request is sent twice.
#browser.goto(url)
I can see that a dialog appears saying the account is activated successfully and within a second another dialog appears automatically saying that the activation link has been used already.
How can I fix this problem?
I am using IE11 with Windows8.1.
Latest watirwebdriver, selenium webdrivers and IEdriver are installed.
Thanks a lot in advance.
Related
I'm trying to put a viber share link on my site, it looks like that:
Share me
It works on Chrome but neither on Firefox.
I get a message in the console:
Prevented navigation to “viber://forward?text=https://...../” due to an unknown protocol.
How to make it work on Firefox?
Comments:
I've made some checking and found that it works on windows normally(win10x64, Viber of course should be installed). In my case, I use Fedora32 and Firefox seems doesn't see the Viber app and prevents navigation to it.
I am using the latest version of Firefox (57.0.4) to test my IT Hit WebDav server implementation. When I attempt to open a file other than MS Office I expect to be prompted to install the protocol installer. Rather than being prompted I get a dialog that says I need to install something from the Windows App Store. I see the same behavior with Edge.
Both Chrome and IE are behaving as expected. It appears to be supported by Firefox.
I also tested using the Ajax browser on Firefox and it fails as well.
Thanks!
The issue with Firefox is fixed in the IT Hit WebDAV Ajax Library v5.
You can find a detailed answer about why the protocol app is not detected and the callback is called here.
I've got a Selenium test which crashes my browser (Firefox) whenever it runs. It's just a simple test (login, logout, login, logout, login ... crash) and I can't reproduce the crash when I do the same things manually, so I think the problem is with Selenium itself.
However, the issue could be that my Firefox starts with different options than when Selenium starts it. I could confirm that's not the case if I could start Firefox the exact same way Selenium starts it (eg. without plug-ins, with all history cleared, etc.) ... but I'm not sure how to do that.
Can anyone tell me which options to use to make Firefox run the same way as when Selenium runs it?
I was never able to find out how to emulate Selenium's use of Firefox. I tried using a fresh Firefox profile, but that still seemed to have differences from how Selenium ran Firefox.
Instead I wound up re-writing my test to be two tests, and then it was able to log in/out twice in the first test and once in the second test, avoiding the issue I was trying to debug (which only manifests when I try to log in/out 3 times in the same test).
If anyone can provide a better explanation of how to emulate Selenium's running of Firefox I'd be happy to accept that answer.
I want to use watin simulating a logon process. I use
browser.Button(Find.ByClass("button")).Click();
It worked several times, then it stopped working. I can see the page refreshed but I wasn't logged in.
It turns out Firefox works better in my environment. IE is not very reliable. However you have to use Firefox 4.3. Good news is that you can use portable Firefox.
We're writing a Windows client application in VB.NET. On the first launch of the application it loads a local HTML file "User Guide" for the user to get acquainted with the new software. There is also a menu option to access the content which also produces the same error. Whenever the page is launched, a dialog box appears stating that "The system could not find the specified file.", and then the browser windows loads the content. This is IE8 specific, as we previously tested with IE6 and 7 as well as Firefox with no problems.
Apparently this behavior is also happening within Outlook 2007 for some of our users whenever they click a link in an email, but only on the first link they click.
Also, one condition for the error to appear is that no IE8 window is currently running, otherwise another tab opens and loads the content just fine. We get this error on XP and Vista.
So far this is all I have found about the issue:
http://www.eggheadcafe.com/conversation.aspx?messageid=34394054&threadid=34361999
http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?query=general+failure.+the+url+was+&dg=microsoft.public.outlook.general&cat=en_US_db03bd1f-73aa-41e1-abfd-27a6e3c352e5&lang=en&cr=US&pt=&catlist=&dglist=&ptlist=&exp=&sloc=en-us&mid=cb1e6b6d-71fd-4351-ae98-c10fccf5809c
Anything would be greatly appreciated.
Thanks!
Esactly the same issue; problem was resolved by disabling a specific add-on:
"Sophos Web Content Scanner"
So, looks like anti-virus add-ons are the culprit here - or IE8 itself.
Problem can also be reproduced (when add-on is running) by simply entering a url into the Start box on Vista.
The issue is caused by the McAfee Host Intrusion Prevention service. Stopping the service mitigates the issue. So the answer is to contact the team who runs the HIPs application.