How to achieve drag and drop in taiko browser automation tool? - getgauge

Using taiko automation tool, we have completed a few level of automation testing for our application in browser.
To proceed further we need to achieve a drag and drop option, which is one of the necessary steps in our application.
Gone through taiko feature's and found option like hover, scroll up, scroll down, etc.
How to achieve drag and drop using taiko?

You can use the dragAndDrop api.
For e.g.
dragAndDrop($("work"),into($('work done')))
dragAndDrop($("work"),{up:10,down:10,left:10,right:10})
source https://taiko-preview.gauge.org/#draganddrop

Drag and Drop is not supported in Taiko at the moment. The team has plans to pick this up - https://github.com/getgauge/taiko/issues/104

Related

Macro issues in Excel365 with Smooth Scrolling

When creating an Excel file in Office365 including macros that increase and decrease value in a cell depending if you click up or down arrow causes issues when the sheet isn't perfectly aligned with the rows. This has been verified by Microsoft in case 34137940 as a bug - who suggested to ask the question here and reach out to a developer support team member. The problem is that no matter if I click up or down when a row is "visually splitted" the amount increases in the cell.
So what can I do to make this work as intended? I don't want to wait until Microsoft pushes an update. There has to be a solution for me to be able to disable smooth-scrolling somehow?
There is a temporary solution here to solve this by running the below commands to revert to earlier update - but that is not an option in this case since newer features is used as well.
cd %programfiles%\Common Files\Microsoft Shared\ClickToRun\
OfficeC2RClient.exe /update user updatetoversion=16.0.14701.20262
I also tried disabling smooth scrolling in Windows 10 (Link), following the below steps - with no success.
Navigate to System Properties by right clicking **Properties **from my computer.
Click on Advanced and click on Performance settings.
In Visual Effects tab of Performance Options window, click Custom. Then deselect the following items to Disable some unnecessary eye candy:
Uncheck Smooth-scroll list boxes.

How to Create Entry form easily

Qusetion:
What is the best tool for creating Entry forms Tools should be easy to use with most drag and drop functionality and less coding?
Current Use:
I am using Angular Material library, Node js & Mongo Db but it takes a good time to build forms.
can anyone please suggest the some shortest way or tools which I used to create a form?
There is no drag and drop tool except.
Bootstrap, just copy and paste.
https://getbootstrap.com/docs/4.0/components/forms/

Better Looking Select Boxes for Web App

For a web app I am working on, I am looking for a widget that works like (or implements) a select box that is much more user-friendly and customizable than the basic HTML select box. I'd prefer not to have to build something like this from scratch, so I was wondering if anyone knows of an open-source widget of this type that I could use.
An example of a more user-friendly select box which I wouldn't mind imitating is the calculator at this link:
http://www.teslamotors.com/charging#/calculator
Doesn't have to be identical to this, but something with more room for customization and a nicer looking UI.
You can find many plugins and tutorials about customizing select tag.
These are plugins:
http://silviomoreto.github.io/bootstrap-select/
http://ivaynberg.github.io/select2/
http://brianreavis.github.io/selectize.js/#demos
http://shawnchin.github.io/jquery-gentleSelect/
http://vst.mn/selectordie/
For that kind of select tag that you showed you should create your own style.
Here is good tutorial about creating customized select tag:
http://tympanus.net/codrops/2012/10/04/custom-drop-down-list-styling/
http://tympanus.net/codrops/2012/11/29/simple-effects-for-drop-down-lists/

How do I use Structure to output a select menu

I am working on a responsive site and need to output my Structure powered nav into a select menu for smaller screens. In looking at Structure's documentation this doesn't seem possible natively. Am I missing something?
After some digging it seems like the add-on Structure Entries is the ticket I need with one caveat. SE has quite a bit of overheard (in terms of queries) while using it to spit out custom nav. What's the best approach to minimize the impact performance for complicated menus?
I am doing this currently using Twitter Bootstrap's Button Dropdown javascript plugin. http://twitter.github.com/bootstrap/javascript.html#dropdowns
I also use MX Mobile Device Detect to serve devices the dropdown while the desktop users get the full menu.
I think the Dropdown Button script only allows for a single level list, however since its mobile do you need more than one?
I know it's obviously preferable to do it in the template itself, but a JS alternative is TinyNav.js.
It will convert your nav to a select dropdown.
http://tinynav.viljamis.com/

in Applescript, can you add an item to the left menu bar if you’re creating an app?

Hello I’m Tate and I have a Question.In applescript, can you create an item for the left menu (application menu) on mac that is not already there by default? if you know the answer, please tell me.
I don't know of a way to add menu items to the application menu bar, but you might check into FastScripts, which offers the ability to customize a script menu with whatever order of scripts you like and with keyboard shortcuts. It's free for any number of scripts and up to 10 keyboard shortcuts.
Also, although I've never used it, ThisService apparently allows you to use AppleScript to add items to the Services menu in the application menu. You might check it out also.
Automator can save Applescripts so that they show up in the Services menu in each Application menu. Just run Automator, create and Applescript workflow and save it as a service. You can assign a command key to it as well.

Resources