Not able to execute Silk4J test scripts in Mozilla Firefox browser, Can anybody help me out? - firefox

I am using Silk4J tool for automating a web application.I have recorded actions from IE browser and I want to execute the generated script in Mozilla Firefox browser but not able to execute the same.Firefox browser gets opened but no further actions are performed and hence the script is failing.Can anybody help me in this scenario?

Upgrade to Silk Test 16 HF2. Older versions of Silk Test don't support FF35+.

Related

After using Selenium on macOS, Chrome isn't the same

I installed selenium and used a python program to run chrome using selenium on my MacBook Air. Before there was an error on selenium, and after installing googlechrome drivers for selenium and creating a PATH using terminal, it opened a separate google chrome page that showed Chrome is being controlled by automated test software.
After around 30 minutes of running python and using selenium, I saved and closed out of everything.
In the next 2 minutes, I reopened Google Chrome to search something about web scraping, and the browser was the same one used by selenium. It still showed the Chrome is being controlled by automated test software notice, and there was a Chrome Automation Extension.
I tried:
logging in and syncing, but syncing was not available.
opening Google Chrome from application folder and dock, but nothing changed
deleting Google Chrome and reinstalling, but nothing changed
I don't know how to fix this. Can anyone help me?
Thanks in advance!
Ok, so I found out that the chromedriver was still running in the background. After I closed it using activity monitor, the problem was solved.

UFT script execution in chrome browser

Objects are identifying in google chrome browser in UFT v.14. But script is not running when I keep this for run. After some time of execution, it will be object identification error.
Desperately I need help on this.
There are several reasons which produces object identification issue while using UFT.
Please check below pre-requisites to run your test on Cheome using UFT.
Load Web Add-in while launching UFT
HP Unified function testing agent should be enabled in the browser.
For this- Go to chrome://extensions/ and enable the HP UFT Agent extension .
Close the browser and try again.

How do I Start My Browser (Firefox) the Way Selenium Does?

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.

How to open browsers in private/incognito mode with selenium?

I'm writing Selenium tests in Ruby to test my website in multiple browsers.
However, the tests won't fire correctly unless the cookies are clear(there are triggers I'm testing that only happen X number of times and is stored in a cookie).
Does anyone know how to have selenium open a browser in its private browsing or incognito mode with Selenium or have another idea on how I might solve the issue?
You can get Chrome to start in incognito by default.
There's a solution for Windows at the bottom of the link below... If you're not using Windows, you can Google how to achieve this for you OS =)
https://productforums.google.com/forum/#!topic/chrome/sYaZkNW8II4

Run Google Chrome or Firefox Windowless from the Command Line

I need to automate a task to pull down a set of web pages and process the HTML. Before someone suggests using wget or curl, I need some JS to execute to change the DOM.
I'd like to script Chrome or Firefox to fetch the HTML and render the JS without actually spawning a visual interface. I haven't been able to figure out how to do this.
Does anyone have any suggestions?
Use Selenium RC.
Selenium Remote Control (RC) is a test tool that allows you to write
automated web application UI tests in any programming language against
any HTTP website using any mainstream JavaScript-enabled browser.

Resources