describe('Playlist', function () { this.timeout(100000000000)
it('Playlist Screen', async () => { // await app.client.waitUntilWindowLoaded(10000) wait(2000) await app.client .setValue('#username', 'sony95007@gmail.com').pause(1000) .setValue('#password', '123456').pause(1000) .element('#btn-login').isEnabled() .click('#btn-login') // await app.client.waitUntilWindowLoaded(10000) wait(10000) await app.client.windowByIndex(0);
await app.client.click('//[@id="headercontent"]/div/div[2]/div[1]/ul/li[2]/a').pause(3000) await app.client.click('//[@id="headercontent"]/div/div[2]/div[1]/ul/li[2]/div/a').pause(3000) // await app.client.waitUntilWindowLoaded(10000) wait(10000) await app.client.click('/html/body/div[2]/div/div[1]/div/div[1]/div/button[1]').pause(3000) .setValue('#plname','Newpaylist').pause(2000) .click('//*[@id="Button1"]').pause(2000) // await app.client.waitUntilWindowLoaded(10000) wait(5000) // HERE DIALOG BOX OPENING, NEED TO SELECT PATH AND CLICK ON DIALOG BOX BUTTONS })
Aucun commentaire:
Enregistrer un commentaire