Tutorial by Examples: st

Lets take fb login as testcase,will see how to capture and export as JAVA class Click on the selenium IDE icon on top right corner of your browser Enter the url https://facebook.com Click on Record button , as shown in the screenshot Export the usecase as java file Save the file in you lo...
Pack your com.stackoverflow.${whatever} clases on a jar called stackoverflow.jar Create folder com/stackoverflow/main on ${WILDFLY_HOME}/modules Put the jar on the last dir Create a file called module.xml with the following content: <?xml version="1.0" encoding="UTF-8"...
For some reason you develop a new version of com.stackoverflow (say version 1.1), then you should: Create folder com/stackoverflow/1.1 on ${WILDFLY_HOME}/modules Put the new jar on last dir Create file module.xml on last dir with the following content <?xml version="1.0" encodin...
Detailed instructions on getting talend set up or installed.
Several commands allow you to work with Strings representing integer values. A user can set the integer value of a key using the command: SET intkey 2 The set command will create the key if necessary or update it if it already exists. The value of an integer key can be updated on the server us...
Drop/Delete your database If you are using SQLite for your database, just delete this file. If you are using MySQL/Postgres or any other database system, you will have to drop the database and then recreate a fresh database. You will now need to delete all the migrations file except "init.py...
For this example, we will used 4 bodies and will show only the last 8 bits of the bit masks for simplicity. The 4 bodies are 3 SKSpriteNodes, each with a physics body and a boundary: let edge = frame.insetBy(dx: 0, dy: 0) physicsBody = SKPhysicsBody(edgeLoopFrom: edge) Note that the 'ed...
You can include/install Select2 in one of the two ways Directly using CDN's in your project under the head section of your project. link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/css/select2.min.css" rel="stylesheet"/> <script src="https://cdnjs...
Ffmpeg is a swiss knife for streaming project. For any kind of device streaming you only need to get the specification of device. To list the device ffmpeg -f dshow -list_devices true -i dummy Command prompt will list all the aviable device on machine. [dshow @ 0000000004052420] DirectShow vid...
In Rx Subjects have internal states that can control their behavior. A common use-case form Subject is subscribing it to multiple Observables. The following example creates two different Observables and subscribes a Subject to both of them. Then it tries to print all values that went through: let ...
import SpriteKit import UIKit protocol StackViewDelegate: class { func didTapOnView(at index: Int) } class GameMenuView: UIStackView { weak var delegate: StackViewDelegate? override init(frame: CGRect) { super.init(frame: frame) self.axis = .vertical sel...
1) IP based vhosts <VirtualHost 192.168.13.37> ServerName example.com DocumentRoot /var/www/domains/example.com/html ErrorLog /var/log/example.com/error.log CustomLog /var/log/example.com/access.log common </VirtualHost> <VirtualHost 192.168.47.11> ...
Redis allow you to use the String data type to store floating point numbers. A user can set the float value of a key using the command: SET floatkey 2.0 The set command will create the key if necessary or update it if it already exists. The value of the key can be updated on the server using e...
A shift register of generic length. With serial in and serial out. library ieee; use ieee.std_logic_1164.all; use ieee.numeric_std.all; entity SHIFT_REG is generic( LENGTH: natural := 8 ); port( SHIFT_EN : in std_logic; SO : out std_logic; ...
To create a customization plugin, you simply create a class derived from CustomizationPlug and package it into customization. While the system is publishing customization project, it will execute the OnPublished and UpdateDatabase methods implemented in your customization plugin only within the curr...
The code will work on Windows and Linux. It runs on .NET Core or .NET Standard. The only difference is that, if you wish to run on .NET Core, you should use project.json. If you wish to run on .NET Standard, you should use packages.config. The API Client Library for Cloud Resource Manager API is a...
Detailed instructions on getting enterprise-architect set up or installed.
Interstitial ads are full-screen ads that cover the interface of their host app. They're typically displayed at natural transition points in the flow of an app, such as between activities or during the pause between levels in a game. Make sure you have necessary permissions in your Manifest file: ...
Say we have a Product class with Multiple Colors which can be on many Products. public class Product { public int ProductId { get; set; } public ICollection<ColorProduct> ColorProducts { get; set; } } public class ColorProduct { public int ProductId { get; set; } ...
In the File menu, choose the 'Import...' option. This opens up the Import dialog box, which asks for the type of project/file you want to import. For a basic Java project, choose 'Existing Projects into Workspace' from the 'General' folder. Next, select the directory where the project(s) is lo...

Page 328 of 369