When manually scripting or debugging a script, the Squish Script Console provides immediate output and syntax confirmation as well as other valuable data.
Use the Squish Script Console to
-
- Validate syntax or determine/confirm a statement's output

- Test a function's return value
- Validate syntax or determine/confirm a statement's output
-
- Lookup HTML object DOM paths (Web)
[code language="python"]
# Using symbolic name:
test.log(waitForObject(":DIV_content").
hierarchicalQualifiedName())
# Using real (multi-property) name: test.log(waitForObject("{id='content' tagName='DIV'}").
hierarchicalQualifiedName())
[/code] - Switch Application Context or the active application

- Lookup HTML object DOM paths (Web)
-
- And more...
Related reading
Console view
Request your free 30 day Squish evaluation
Learn more about Squish
Other Squish Resources (videos, tech articles, user communities and more)
Subscribe to our blog