Skip to content

Instantly share code, notes, and snippets.

*** Settings ***
Library Selenium2Library
Resource Variables.txt
*** Test Cases ***
BO - X: Login - Usuario Corazon
[Tags] BO - X
Open Browser ${URL} ${BROWSER}
Maximize Browser Window
Input text //input[@name='_username'] nahuel.melo@vrainz.com
from Tkconstants import LEFT, RIGHT, SUNKEN, X
from Tkinter import StringVar
from Tkinter import Frame
from Tkinter import Tk
from Tkinter import Button
from Tkinter import *
from Cerrar import Cerrar
campos = ('idLibros', 'Nombre')
@nmelox
nmelox / IMapeadorCRUD.cs
Created September 9, 2013 02:38
Trata de ser una Interfaz de de las operaciones CRUD (Create,Read,Update,Delete).
namespace Proveedores
{
public interface IMapeadorCRUD(of V, F)
{
bool Agregar(V valor);
bool Modificar(V valor);
bool Eliminar(V valor);
List(Of V) Listar(F filtro);
V Consultar(F filtro);
@nmelox
nmelox / Analisis.java
Created November 10, 2011 15:37
Sistema Laboratorio
public class Analisis {
private String Descripcion;
private int Precio;
/**
* @return the Descripcion
*/
public String getDescripcion() {
return Descripcion;
}
@nmelox
nmelox / valorAuto.js
Created October 26, 2011 02:17
segundo_javascript
function valorAuto (valor,modelo,año){
if (typeof(valor) != "number" || valor < 0) {
console.error ("Ingrese un numero como primer parametro");
return;
}
if (typeof(modelo) != "string" || modelo.lenght <= 0) {
console.error ("Ingrese un texto como segundo parametro");
return;
}
if (typeof(año) != "number" || valor < 0) {
@nmelox
nmelox / Auto.class
Created October 22, 2011 18:34
Jva-Clase2/3_Persona-Auto-Vehiculo
public class Auto {
private String Patente;
private static int cantidadDeAutos;
public Auto (String patente){
this.Patente = patente;
cantidadDeAutos ++;
}
public static int getcantidad(){
return cantidadDeAutos;
}
@nmelox
nmelox / unomas
Created September 30, 2011 22:19
project de javascript
<html>
<body>
<script type="text/javascript">
alert("Hello World!")
document.writeln(new Date()+"<br>")
var _sum1 = 40
var _sum2 = 30
var res = _sum1 + _sum2
document.write(res)
@nmelox
nmelox / erro msg
Created June 15, 2011 01:22
Error message
C:/Ruby192/lib/ruby/1.9.1/net/http.rb:678:in `connect': SSL_connect returned=1 errno=0
state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError)
from C:/Ruby192/lib/ruby/1.9.1/net/http.rb:678:in `block in connect'
from C:/Ruby192/lib/ruby/1.9.1/timeout.rb:44:in `timeout'
from C:/Ruby192/lib/ruby/1.9.1/timeout.rb:87:in `timeout'
from C:/Ruby192/lib/ruby/1.9.1/net/http.rb:678:in `connect'
from C:/Ruby192/lib/ruby/1.9.1/net/http.rb:637:in `do_start'
from C:/Ruby192/lib/ruby/1.9.1/net/http.rb:626:in `start'
from C:/Ruby192/lib/ruby/1.9.1/open-uri.rb:306:in `open_http'
from C:/Ruby192/lib/ruby/1.9.1/open-uri.rb:769:in `buffer_open'
@nmelox
nmelox / gist:959483
Created May 6, 2011 18:22
primer proyect ruby NM
#!/usr/bin/env ruby
Class Perro
attr_accessor :nombre
attr_accessor :edad
def initialize(nombre="Mundo",edad="0")
@nombre=nombre
@edad=edad
end
@nmelox
nmelox / gist:959480
Created May 6, 2011 18:21
primer proyect ruby
#!/usr/bin/env ruby
class MegaAnfitrion
attr_accessor :nombres
# Crear el objeto
def initialize(nombres = "Mundo")
@nombres = nombres
end