Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

191
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda