I Want to select Options form Below HTML Code."timeentry_lov1" is Select Name which is a 2nd element in Page with the same Name. Also I checked that there is no Frame present in Page. But Is there any Frame Concept like selenium in Cypress? If not then can anyone Help me to work with Select attribute
PFB HTML
]1
PFB the below Select Statement which I have used
cy.get('timeentry_lov1',{timeout : 60000}).eq(1).select('NB-860').debug();
cy.get('timeentry_lov1').eq(1).select('NB-860-Test Automation');
cy.select('timeentry_lov1',{timeout : 7000}).eq(1).should('have.value','NB-860');
cy.find('timeentry_lov1').get('select').select('NB-860');
Aucun commentaire:
Enregistrer un commentaire