Allure reporting | automatic generate html report | browser loading issue resolved | Part 2

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024
  • #webdriverio_typescript_series #appium #typescript #automationtesting
    #webautomation #mobiletesting #webdriverio
    This video will explain on how to integrate Allure reporting | automatic generate html report | browser loading issue resolved | Part 2
    Blog - qavalidation.c...
    To setup appium, appium inspector, android and ios simulators, refer these following blog posts -
    qavalidation.co...
    qavalidation.c...
    qavalidation.c...
    qavalidation.c...
    qavalidation.c...
    qavalidation.c...
    qavalidation.co...
    qavalidation.co...
    Full webdriverio playlist -
    • WebdriverIO typescript...
    Selenium java complete series -
    bit.ly/qavbox-...
    Subscribe to this channel -
    bit.ly/youtube...
    Blog posts -
    qavalidation.com
    Make me awake & feel fresh always, so I can bring lot's of interesting topics for you all, Buy me a coffee?
    buymeacoffee.co...
    Thank you for watching!

Комментарии • 16

  • @ShobhaGowle
    @ShobhaGowle 3 месяца назад

    worked for me , Thanks!

  • @mohdumarkhan5984
    @mohdumarkhan5984 5 месяцев назад

    In windows loading problem is not solved can u create a video for me how to solve loading problem in windows
    .

  • @priyankagarg7449
    @priyankagarg7449 Год назад

    It still didn’t resolve the loading issue for index.html file in my local machine folder.. it still runs on webServer only

  • @nikhilgupta5721
    @nikhilgupta5721 Год назад

    Thank you!! I don't know why I am not able to open the html file still I can see Loading.... after doing your suggested setting chrome.exe --allow-file-access-from-file

  • @HariPrasad1985
    @HariPrasad1985 5 месяцев назад

    Add this const generation = allure(['generate', '--single-file', 'allure-results', '--clean','-o','allure-report']) then it will create allure report with no issues in oncomplete hook up.

    • @filsinaginatyllina5619
      @filsinaginatyllina5619 2 месяца назад

      Can you specify how to do that?

    • @HariPrasad1985
      @HariPrasad1985 2 месяца назад

      @@filsinaginatyllina5619
      onComplete: function() {
      const reportError = new Error('Could not generate Allure report')
      const generation = allure(['generate', '--single-file', 'allure-results', '--clean','-o','allure-report'])
      return new Promise((resolve, reject) => {
      const generationTimeout = setTimeout(
      () => reject(reportError),
      60 * 1000)
      generation.on('exit', function(exitCode) {
      clearTimeout(generationTimeout)
      if (exitCode !== 0) {
      return reject(reportError)
      }
      console.log('Allure report successfully generated')
      resolve()
      })
      })
      }

    • @HariPrasad1985
      @HariPrasad1985 2 месяца назад

      @@filsinaginatyllina5619 Please, let me know if you got the code.

  • @amitagrawal4494
    @amitagrawal4494 Год назад

    Hi,
    I am using window and I didn't find the Application folder path as mentioned in WebMO, So I have gone to Application folder from Program file
    path - C:\Program Files\Google\Chrome\Application then I have run command from the terminal but still index.html file in my local machine folder is loaded.

    • @qavbox
      @qavbox  Год назад

      So are you able to open the index html file or not?

    • @amitagrawal4494
      @amitagrawal4494 Год назад

      @@qavbox I am able to open index.html file but still loading is displayed not actual content

  • @juggridchetwichian1733
    @juggridchetwichian1733 Год назад

    Hi, I'm using wdio with appium for mobile automate. when i put "onComplete" to wdio.conf.ts I got error "require is not defined in ES module scope" idk how to fix it.

    • @qavbox
      @qavbox  Год назад

      Can you try import statement instead of require ?

    • @hardcoree_gamerr
      @hardcoree_gamerr 6 месяцев назад

      use import allure from "allure-commandline" and create a file in your project root folder named .d.ts and paste this declare module 'allure-commandline';

  • @bhargavsr84
    @bhargavsr84 11 месяцев назад

    How to avoid this accessing local files option? if we want to automate. Each time i cannot be running chrome.exe --allow-file-access-from-files.

    • @qavbox
      @qavbox  11 месяцев назад

      You have to use it once only, and then it will work forever.