How To
Summary
Using IBM Application Performance Management version 8.1, how to check the content of a web page, using Selenium IDE and selenium .side script?
Objective
Environment
Steps
Selenium .side test script example, recorded with Chrome browser on MAC, using Selenium IDE v3.17
Using IDE, I created a new project, and added in it a test suite; and inside the test suite, I added a script. I removed any ‘default’ empty script from the project. I recorded this test script, that contains an ‘assert text’ command. So all looks like this in IDE
Upload to the APM server 8.1.4 worked.
Saved the transaction
Playback using a APM v8 synthetic agent 8.1.4 +IF10 with Firefox ESR v68.5.0 worked:
Then, the monitored application (Plants by WebSphere) was stopped.
Result in APM UI Dashboard:
Remark:
When this article was published, March 2020,
In APM Synthetic agent, only Firefox browser is supported when doing the playback. But for the recording of selenium script in IDE, Selenium IDE is available on both Chrome and Firefox browsers; in most cases, the script recorded from them could be the same, the scripts recorded from Chrome selenium IDE usually work in synthetic agent. But we strongly recommend using IDE in Firefox browser to avoid potential issues.
See differences between IDE and SN agent commands, documented in 8140-ibm-apm-synthetic-playback-agent-if0010’s readme:
Document Location
Worldwide
Historical Number
TS003507758
Product Synonym
APM
Was this topic helpful?
Document Information
Modified date:
08 April 2020
UID
ibm16117856