General | Scripts | Recorder | Locators | Advanced scripting |
---|---|---|---|---|
They automatize steps and actions on a website to gather data and see how the site performs.
What are scripts for?
|
Depends on what your goal is.
As many steps as you need.
How many steps does a script need?
|
The page acts like a web page.
Might be a connection issue: check connection or proxy settings.
I just opened the recorder, I have an error loading the first page, why? How do I troubleshoot it?
|
- CSS
- DOM
What are the 2 types of locators?
|
page complete/network/time/validation/event/SMS
What are the 6 types of wait actions?
|
Always include one on the final step to verify the correct page loaded
Preferably include one after each step.
What is the best practice regarding validation actions?
|
- Steps
- Actions
What is a script composed of?
|
If sure, hit 'x' to remove.
If not, comment action out. -> Best practice: always comment first when cleaning scripts: no undo possible.
I want to clean my script and remove actions. How can I do that?
|
Document Object Model: hierarchy of elements in HTML.
What is DOM?
|
Validation
I block the agent from continuing until a specified DOM is presented, what type of wait action am I?
|
Business Process Worksheet (BPW)
What is the first thing to do when you need to create a script?
|
- Record
- Playback
What are the 2 main features of Gomez Recorder?
|
False, I can only replace scripts.
I can remove scripts from the Gomez portal, true or false?
|
Cascading StyleSheet: uses identifiers and class names to style the HTML page.
What is CSS?
|
Event
I block the agent from continuing until selected client-side event has been triggered, what type of wait action am I?
|
- It clearly defines and documents the business process to be scripted
- A chance for everyone involved in the Test Management process to sign off on the script
What is a BPW for?
|
- Playback: IE(local), FF(packaged), Chrome(packaged)
- Record: FF(built-in)
Which browsers for recording and which browsers for the playback?
|
The data are still stored.
When replacing a script, what happen to the data collected by the old version?
|
Top down approach for locators, nothing was found.
I run my script and I end up with an User Script Failure, why?
|
Blacklist them.
I identified different machines that I know are messing with my tests. What can I do?
|
Step number
Step name URL Action Validation Screenshot Comments
What are the different parts of a BPW?
|
... back ticks
I am a parameter, to be referenced inside an action, I need to be surrounded by...
|
Change from Keystroke to FormFill.
I want to monitor a search on Google, my script returns a succession of type and wait actions, why did I forget to do?
|
Native JS DOM objects and methods to access page elements.
How do we locate elements using DOM?
|
Use custom headers.
I want to test my script for a device that is not supported by default, what can I do?
|