How to get the complete list of the Locators (targets) available for each Command in Selenium IDE? - selenium-ide

Does anyone know where the complete list of the Locators (targets) available for each Command in Selenium IDE can be found?
For instance, if I select 'click' command, which locators can be applied to this command (id, name, link etc.)?
Have been trying to find this information in the official documentation for a while but no result.

Related

How to pass an browser env parameter for nightwatch-api formerly nightwatch-cucumber?

Nightwatch-cucumber is deprecated and we should use Nightwatch-api as per the author.
I have a set up where I use selenium grid with both a Firefox and Chrome nodes running waiting to be activated. I have not set any webdriver settings in my project. I am still able to run tests but it only takes the default test setting.
How would be able to run tests specifying a browser other than the default?
As per the examples from repo, you should be able to pass it through two files (links below) which will enable you to execute them in desired browser (provided, it is configured in nightwatch.conf.js file).
https://github.com/mucsi96/nightwatch-api/blob/master/packages/selenium-hub-example/test/server.js
https://github.com/mucsi96/nightwatch-api/blob/master/packages/selenium-hub-example/test/support/setup.js
Examples from Repo:
Selenium Grid : https://github.com/mucsi96/nightwatch-api/tree/master/packages/selenium-hub-example
Webdriver : https://github.com/mucsi96/nightwatch-api/tree/master/packages/cucumber-example
Selenium standalone : https://github.com/mucsi96/nightwatch-api/tree/master/packages/cucumber-selenium-example
Please accept this as answer if it helps in resolving your issue.

Need help finding documentation on authoring command links

I am writing online help for my Eclipse plug-in. I want to create live help with command links to provide quick access to the Help->Install New Software in Eclipse. The 'Embedding commands in help' page in the Platform Plug-in Developer Guide suggests there are "a large number of useful commands already defined in the workbench".
Unfortunately, after a some search I seem to be unable to find documentation on the available commands I can use as parameters to executeCommand() in my link.
Can you please tell me what parameter to use to create a link to Help->Install New Software in Eclipse and also point me to the documentation of other available commands if such exists at all.
Kind regards
The command id for Install New Software is org.eclipse.equinox.p2.ui.sdk.install
I found this using the Eclipse Search / Plug-in Search and searching for the org.eclipse.ui.commands extension point (which is used to define commands). I then looked at the search results until I found the correct command.

How can I log the failed cases of selenium ide and send them to an email using selenium ide commands

I need a command that helps me to find a solution for the following problem:
logging the failed cases of selenium ide and send them to an email using selenium ide commands.
Thanks.
Omar
Please refer following URL to execute Selenium-IDE HTML Scripts using Selenium RC. Using this you will get HTML result file. To get screenshot you can add captureScreenshot command after failed step.
http://www.softwaretestingdiary.com/2012/02/selenium-core-setup-to-execute-selenium.html

Using deployment tool from command window

Currently I am developing a solution that requires interaction with external software. As a result I can only properly test it after I build the solution as a dll file.
Currently I take these steps
type 'deploytool' (to open the deployment tool)
click the button 'open project'
Find and select the project that I want to open (always in the same location with the same name but apparently matlab does not remember this)
Click the build button
Currently I do this several times per day and it is really simple, but simply annoying.
Therefore I hope that someone can give me a way to automate step 2-4, perhaps using a script?
If this is not possible I would also appreciate a way to change the default opening folder for the deployment tool.
help deploytool says you can specify the projectname and build option as a second argument:
deploytool -build projectname

deploying a scala app built using IDEA

I developed a simple scala app that uses casbah to query the DB for the command line argument passed to it. For example
$ querydb.scala execution 10
it will run a casbah query to find 10 records matching execution in mongo. Now i have two questions.
1) How do i test this in my local. If i click execute in intellij it is just running the program, i am not able to pass command line arguments to my program.
2) How do i deploy it to run on my server, it is just going to used as console app in my ubuntu server, but im not sure how i should deploy this, which files i should put up on the server and how do i execute it in server, and stuff like that.
Any pointers would be useful for me.
or try to use sbt, IDEA has a plugin with sbt, the wiki of it has an explanation on how to use it.
I usually use sbt directly in Terminal instead of running in IDE.
1) First you need to find "Select Run/Debug Configuration" button at the top of your screen
Click on it and choose edit
Create new one, if you haven't got it yet.
Your program parameters should be written in "Program parameters" field
2) Compile your .scala files with scalac and you'll got .class files.
Then deploy it, as you usually do with java code. Hence you don't need to install scala on target machine - all you need is JDK.