Can we add more functions using javascript in Selenium IDE? - selenium-ide

Hi I am newbie to selenium.
I came to know that goto_sel_ide.js file which was given in one forum which helps to add the functions like gotoIf, while, label etc.,
Can we create javascript for exit and for loop like wise?
Please suggest me how to do that?

you should see the SelBlocks extension, as it has breaks.

Related

How to make vs code extension take in user path input and how to create coding templates

for my internship I am making an VS code extension. I have never developed anything like this before so any help or documentation links or tips are welcome.
what I am doing is as follows: develop an extension that is capable of taking in user input. the input will be a path to an .isf/.hdf file. this could be thru the simplest of text box buttons initially, as functionality before polish is what im focusing on right now.
It also needs to be able to provide templates with preconstructed code. such as, a option on the file menu where it might say "new template.py file". And when this option is choosen, a .py file with a lot of "boiler-plate" or preconstructed code is created for them.
im also using CanvasJS to show some graphical data. I would need a way for the graph to appear in a tab/window of the VS Code rather than the browser of the user.
Thank you in advance! Please let me know how to edit/add to this question, I know its extremely vague. Still a novice but excited to get this extension developed!
P.S.
im not expecting anyone to DO this for me, just to point me in the general direction so I can sink my teeth into useful documentation, examples, and/or tutorials. Thanks again :)

GWT GUI testing

I have just started working on GWT as my company is using it. However the problem is , there is not much documentation or tutorial.
I have created a dummy app as given in GWT tutorial.
The app create a GUI like this. I am able to write test cases, for functional use case, but I am not sure how to test the GUI components. For e.g. If i press on add button , it should add a row to table, how can i write the test for this.
Note: I was tryin to do GWTMockito, but was unable to find any resource.
Any help would be really appreciated.

Typo3: creating sideblock using PHP code

I have a piece of PHP code which I would like to integrate into Typo3 as a sideblock for a custom extension I have written.
Can someone tell me how to integrate PHP code into Typo3 as a sideblock or alternatively point me towards some sample code I can look at. I don't want to use typoscript or anything like that, just plain PHP code but so far I have been unable to find a method of doing so.
Any tips would me much appreciated.
Greetings/Thanks
R
I think you need use typo3 "userfunc". The below link may help you:
http://www.typo3wizard.com/en/snippets/common-problems-and-solutions/simple-userfunc.html
You might also consider the tscobj extension (http://typo3.org/extensions/repository/view/tscobj), which allows you to include an object like the one created by typo3wizards userfunc-code provided by Sankar V, as a content element in the editing environment of TYPO3. Remember to use "lib." as top-level identifier instead of "temp.", as is done in the snippet for typo3wizard.
Create a small extensions with the TYPO3 Extension kickstarter and insert it as a content element on the "sideblock part" of you website.

Script to fill browser form

I have little business problem, I need to make a script to fill (not send) out browser forms(only simple textfields, checkboxes and drop downboxes).
I need to launch multiple windows with the same form with different data to speed up form filling
What kind of scripting/programming do I need to use to fulfill these needs(Batch, JS .. ) ?
I have knowledge only of java, and basic html,c,c++ ... so if I can get basic tutorials I would be grateful indeed.
I have bits of ideas of how this is possible - through IDs of various field on the page which I can access to edit their values, so I just need language specific tutorials/suggestions.
Batch would be preferable if possible, because i need to execute the script through a java swing program.
P.S : If this is of any relevance, only browser acceptable is IE
dont think its possible through Batch,
I think easiest would be javaScript for this task. (chill js is pretty easy)
You can write a simple javaScript to fill in form
You should find how to fill form through javaScript helpful
Then you can use ScriptEngineManager to execute javaScript from your java code.
This tutorial should be helpful :execute javascript from java
You can't fill HTML-fields with a Batch-File. The easiest way is to use Javascript an Greasemonkey in Mozilla Firefox. You can find Tutorials here.
An other way to send data to an WebServer is to use in C/C++/Java Sockets and the HTML-Protocol.

MATLAB markup for doc-page

What resources are there for explaining how to write MATLAB comments in the correct format for display using 'doc' (that is the Help Browser).
In particular, I'm writing a class, and would like the help documentation to look like MATLAB's own. I'm focusing on the practical - such as documenting the various ways of calling a function. I haven't been able to find any documentation on what markup to use in the comments to achieve this.
(As an added bonus, I'd like the autocomplete tooltips for class functions to display something meaningful rather than MyFunction(MyClass object...) - but that's getting a little too specific at this stage! I'll re-ask this if it doesn't come naturally once I've got some documentation)
Try this:
Matlab Help/User Guides/Desktop Tools and Developement Environment/Custromizing Helps and Demos/Providing Your Own Help and Demos
I hope this helps.
Edit:
It looks like it changed in 2012a:
Matlab Help/User Guides/Programming Fundamentals/Software Development/Create Help and Demos/Add Help for Your Program Files