getgauge/gauge.org

Modify the record tests script

Closed this issue · 0 comments

zabil commented

https://gauge.org/gauge-taiko/

  • Use zsh
  • Remove the following warning
dyld: Library not loaded: /usr/local/lib/libgdbm.4.dylib                                                                                                                          
  Referenced from: /usr/local/bin/zsh                                                                                                                                             
  Reason: image not found                                                                                                                                                         
zsh: abort                    
  • Record only the following bit
$ taiko
> openBrowser()
> goto('google.com')
> write('Gauge and Taiko test automation')
> click('Google Search")

Taiko comes with an interactive recorder that’s a REPL to write test scripts. It implicitly waits for actions to complete before moving on to the next one. This means that you don't have to add ‘flaky’ wait times in your tests.

Modify this to:

Taiko comes with a Recorder that’s a REPL to write test scripts. Use Taiko commands to control the browser from REPL.