On this Selenium documentation page, it says "You can export either a test or suite of tests to WebDriver code by right-clicking on a test or a suite...", but when I right-click, I just get the web browser's right-click menu instead of Selenium-IDE's menu:
I have found that quitting Firefox and starting it again will give me the proper right-click menu, but wondered what I was doing to cause it, and if the developers know about this.
Firefox 71.0 (64-bit) on Windows 7
Selenuim IDE Version 3.16.1
This is because you are trying to export test from different tabs. 'Executing' tab is opened on your screen, but 'Tests' tab is opened on documentation screenshot .
About restarting Selenium IDE: 'Tests' tab opens as a main window after restart, so exporting is available there. When you start running tests in Selenium IDE 'Executing' tab automatically opens and exporting is not available. You should change tab by clicking on the tingle near tab name and select 'Tests' tab where you can export your test.
If you think that this is not correct behavior you should create issue here
Related
I'm trying to use EclEmma with Eclipse, but I can't get it to work. I can't see the button that's supposed to launch my project in Coverage mode, There;s also no such option in Run menu:
I've tried to fix it in two ways I've found on the Internet, and none worked:
the EclEmma help page says that I should enable the Coverage command group on the Commands tab in the Customize Perspective dialog, but there's no such tab in the dialog and no Coverage command group in existing tabs
I tried to find “Java Code Coverage” in Window > Preferences > General > Appearance > Label Decorators menu - not there
I'm using Eclipse Mars.2 Release (4.5.2) on Windows 10, I have EclEmma v. 2.3.3.201602231923 (according to Help > About Eclipse > Installation Details) installed via Eclipse Marketplace. I have no idea how to fix it, I'll appreciate any help.
In eclipse 4.9 (2018-9) the option to enable the "Coverage as ..." command can be found in "Customizing Perspective" (rightclick on the perspective shortcut), then on tab page "Action Set Availability": Click the "Java Code Coverage" option.
Another problem I encountered: Although the "Coverage as..." command was available, there was no result visible at the end in the view "Coverage". The problem can be solved by following the advice from the eclEmma FAQ:
The Coverage view stays empty and there is no source highlighting. Why?
In Eclipse preferences there is an option Launch in debug mode when workspace contains breakpoints under Run/Debug → Launching. If this option is enabled and there are breakpoints in your workspace coverage mode will not work, because it is automatically replaced with debug mode. Set this option to Never if you want to run code coverage analysis.
BTW: I am using eclEmma plugin 3.1.2
The question is self explanatory, when I run my demo-html project as a Web Application and I open Chrome with the provided link by eclipse, my browser doesn't show the image it is supposed to show in a new project.. However, the tab displays the correct title "Demo". Can somebody help me with this?
Eclipse after Running the project:
And Chrome running the app:
You don't run it as web application. The simplest way is to run
gradle html:superDev
in command line. I'm not very familiar with Eclipse, so here a guide how to run it via IDE from the wiki:
Right click the html project, Run As -> External Tools Configuration. Create a new configuration by double clicking the Program entry in the left sidebar. Give the configuration a name, e.g. GWT SuperDev. Set the location field to the gradlew.bat (Windows) or gradlew (Linux, Mac) file. Set the working directory to the root folder of your project. Specify html:superDev as the Argument. Press 'Apply', then 'Run'. Wait until you see the message The code server is ready. in the console view, then open the URL http://localhost:8080/html. You can leave the server running. If you change code or assets, simply click the SuperDev Refresh button in the browser. This will recompile your app and reload the site.
In IntelliJ you can trivially run the gradle task itself.
I have migrated my application development to a new PC and now when I run the application (Run > Run as > Web application). I get the "HTML Page Selection" popup in which I select my application. However, now I also get a "Choose a launch configuration:" popup which lists "AwardTracker" and "AwardTrackwer.html". They both do the same thing. How do I remove one of these please (this is more annoying than anything else)?
Regards,
Glyn
How to remove a configuration in Eclipse GWT
Simply select any Web Application and click on RED X icon displayed on top right of it to remove an existing configuration.
Once a Web Application is configured then there is no need to create it again. Just launch it from existing one to avoid it choosing a launch configuration again.
Once configured then don't run it again by RIGHT click on the project to run as Web Application. Simply select from the existing one form the tool bar as shown in below screenshots.
Click Run > Run Configurations > your configuration (typically, a name of your HTML or JSP file) > Arguments.
Make sure you only have the path that you want to launch.
I have developed one GUI.In that when I click one button of GUI it should go to Internet Explorer.But when I launch this from Eclipse it is not directed to IE. I tried this from outside eclipse.That is working fine.Any setup is needed to open IE from GUI in eclipse?
I'm not sure if your refer to this, but inside Eclipse if you go to the Window menu -> Web Browsers and select Internet Explorer shoul done it.
I'm running Eclipse 3.5 (Galileo) and I want to have the "Run" command always launch the same configuration, but instead I always get a dialog box that asks me to choose which way to run my project. How can I set a default?
Shouldn't matter, but this is for some Android development, so it's an Android project.
Do the following;
From the drop down menu select Window -> Preferences
Then from the Categories on the right side; Run/Debug -> Launching
Find a group box called "Launch Operation" at the bottom. If you change this to "Always launch the previously launched application" the F11/Ctrl+F11 shortcuts will debug/run whatever you debugged/ran before.
I don't understand why they changed the default behaviour for Eclipse 3.5, it is certainly one of the options I always change.