Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

190
Vistas
Variable calling without the help of apostrophes in JavaScript

I hope it doesn't seem like a pointless question and I'm sorry if I don't give all the details first, but I would like to know if I can call from another file enterUsername(userone), where userone would like to be an object with more many features

enterUsername(userone){
       userone=( 
            cy.get('input[name="Parameter.UserName"]').type('userone'),
            cy.get('input[name="Parameter.Password"]').type('useronepass') 
               )
        return this;
    }

From another file calling directly enterUsername(userone) and not enterUsername('userone')

Please note that I have asked something similar and I have been given solutions that I have applied, but only with a call between apostrophes.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda