I am trying to configure the Inspector component as per instructions here: http://manual.qooxdoo.org/current/pages/application/inspector_selenium.html#pages-application-inspector-selenium-using-the-qooxdoo-inspector-to-write-selenium-tests
I am having problems following the configuration instructions, where it says to configure the Selenium window with the selenium-core zip file. I cannot find this file at the provided address: http://seleniumhq.org/download/
Any suggestions as to what I should use instead of that zip file?
Thanks
You can just press the "Use default URI" button in the Inspector's Selenium Options window and it will load the scripts from the Selenium SVN repository on Google Code. If that doesn't work for you it gets a bit complicated since the Inspector requires a deprecated version of Selenium:
Download Selenium RC from here and unpack it:
https://code.google.com/p/selenium/downloads/detail?name=selenium-remote-control-1.0.2.zip
Then extract
selenium-remote-control-1.0.2/selenium-server-1.0.2/selenium-server-standalone-1.0.2.jar to a directory named e.g. "selenium-server" and enter the path to that directory in the Inspector's Selenium Options window.
Related
I am unable to download a CSV file using Selenium-Webdriver in a Chrome Browser window (Version 73.0.3683.86 (Official Build) (64-bit)) that opens when doing automated tests. I am using Selenium version: 3.4
Here is the HTML:
<h4>
<a href="/Hardware/ExportCsv?hardId=USB" download="Drives.csv" id="excel-btn">
<img src="../../Content/Images/excel.svg">
Export csv file.
</a>
</h4>
Neither click() nor using the Actions class work. If I click the link with my mouse, the file is downloaded.
Browser.driver.findElement(By.id("excel-btn")).click();
action.moveToElement(Browser.driver.findElement(By.id("excel-btn"))).click().perform();
I expect the file to be downloaded.
Instead, however, the download link text is just being highlighted.
Important to note: in contrast, I can find other elements, assign them to a WebElement and execute Selenium actions on those elements successfully. It is just the download that is eluding me.
I found an answer that works! The same solution that allows you to download files in a headless browser applies in this case as well. Essentially, there is a feature to prevent software from downloading files to your computer via the Chrome Browser. To get around that, you need to .setDownloadBehavior to allow downloading. (Make sure to set the Download Path to your download directory.)
Read more about it here; and here for code samples in Java, Python and C#.
I was unable to find any open source video recorder that can be integrated with an angularjs app. I came across Youtube-direct-lite but I have no idea how to integrate this with an angular app. I am trying to host my own instance of youtube-direct-lite
I have already configured the config.js as been told in this doc. Should I just copy paste all the js, css files to my project and use the index.html as a partial to display the recorder?
about configuring direct lite:
in config.js enter your developer-key and client-id.
then read the README file
download nodejs console
browse to the folder with the source in it
run this command : node r.js -o app.build.js
and it'll build the minified source for you, then copy and paste that source into your website and use the index.html & admin.html as the
and i'll work just fine.
about angular with direct lite:
I've seen so far only one implementation for it that is in youtube/dev/demos
http://www.youtube.com/yt/dev/demos.html#/upload
if you opened the sources, you'll find that it is uses angular, and it applies ytdirectlite, but I don't know how to use it and I still cannot find the opensource for it.
I am making a cms and I am using ckeditor as the wysiwyg editor.now i would like to enable upload of images from the local file system,but i am stucked!
I google this problem and find many answers about this!but the answers seem not solve my problem.I do some work try to enable the file browser as follows,but it can't work:
1.I download the ckeditor "Standard Package".
2.I add ckeditor to my page as the official doc says and it work well.
3.I download the add-ons "File Browser" and "Popup" from the add-ons part of ckeditor.com.
4.I set the config in "ckeditor/config.js",
config.extraPlugins = 'popup,filebrowser';
I do all of these,but it still can not display the "file browser" button,can anyone tell me where I am wrong and if I need to do some extra work and config?
also,I am using ckeditor with php!
When you want to browse your directory on server and find your files what error showed up to you?
/////////////
Edited
/////////////
I think your problem is so close to this comment please check it
http://ckeditor.com/comment/59021#comment-59021
I am new to EXT JS environment. I am working on a dynamic java project in eclipse indigo where i want to use ext-js calendar in one of my jsp.I saw the EXT_JS calendar demo from downloaded 'ext-4.1.1' sdk(index.html file in ext-4.1.1a\examples\calendar).
I want to create a .js file as like ext-js calendar page. So for that i followed the path given in
http://loianegroner.com/2010/11/spket-setting-up-eclipse-ide-for-ext-js-and-jquery-development/ to integrate ext-js in eclipse.
But now when i copy index.html to my webcontent folder then it is not working(Originally it is showing nothing). But when i copy the entire ext-js source code to my workspace web content then running the index.html file in example/calendar folder of ext-4.1.1a giving me required result.But I don't think this as a solution.
I could not find any way also how to start to do my task.
So Pls anybody help me here...
Regards :
Dev
When nothing shows up on the screen, it is commonly a case where the ExtJS library isn't loaded. Without seeing the code, it's hard to pinpoint the issue.
Using Chrome Dev tools or Firebug for Firefox, take a look at the console and/or network output.
The files you're looking for will be included in the <head> section of your index.html. There should be ext-all.js or possibly ext-all-debug.js at a minimum, plus the style sheets.
If this is your issue, then you need to include the proper paths to the ExtJS library. This can be the local installation, or you can use a CDN. For example:
<script src="http://cdn.sencha.com/ext-4.1.1-gpl/ext-all.js"></script>
I installed QTCreator and Ubuntu SDK as shown here.
When trying to run the code sample provided here, QTCreator tells me it can't find the Ubuntu.Components QML Module.
Notes:
The build-logs says:
file:///home/giladnaaman/Programming/Projects/CurrencyConverter/CurrencyConverter.qml:2 module "Ubuntu.Components" is not installed
But the directory /opt/qt5/imports/Ubuntu/Components
exists (and is full of files).
After adding importPaths: [ "/opt/qt5/imports" ] to the qmlproject file:
QML module does not contain information about components contained in plugins.
QMetaType::registerType: Binary compatibility break -- Type flags for 'QPaintBufferCacheEntry'[1024] don't match. Previously registered TypeFlags(0x103), now registering TypeFlags(0x3).
Do not add the importPaths property to the qmlproject.
Did you setup the QML Scene as your QML viewer?
In Qt Creator, go to Tools > Options…
Choose the External Tools tab, then in the pane select the Preview (qmlviewer) entry
On the Executable: field on the right, replace the contents with /opt/qt5/bin/qmlscene.
Optionally change the command name by double-clicking on the Preview (qmlviewer) entry from above. You can call it Preview (qmlscene).
Click on OK to save the changes.
you’ll be able to view your app through the Tools > External > Qt Quick > Preview (qmlscene)
The Ubuntu SDK is still using the older version of Qt Creator from QT4 it will not be able to locate the Ubuntu Components, and say the components are not found. But the QML Scene used for running the QML GUI will load it and run it without any problems.