Does OpenSTA record web-context elements?
Been a veteran of Silk,LR and Rational. Now mgmt here are gung-ho on Open tools, so grabbed a bunch and got going with OpenSTA and JMeter. We have a web app basically to perform. Trouble is the pages are cloaked in .do files(http://yyyy.us/zzz/displayLogonEmployee.do) and the buttons are used to navigate from step to step. When I record it thus gives me these absolute URLs that are returned and so on playback it goes into these absolute URLs rather than point to the path that the submit buttons go to. This makes it skip logic that it should be checking and returning erroneous pages in reality. Same applies to both tools.
I've done web context on silk before, but not sure if there is a way I can manipulate OpenSTA's DOM feature to interact with these DOM objects rather than just for verification. If I can make it "click" a button vs. the destination, that would be great.
Any thoughts, ideas? This is deep stuff I know, but just figured to ask before telling em they gotta bite the bullet and shell out dough for the silks.
Re: Does OpenSTA record web-context elements?
OpenSTA listens via a gateway during recording. It is clueless of what buttons you press or any other UI action. All is sees is the browser requesting URLs. So, hidden or otherwise, if the browser requests URL, opensta will see it. In fact, it records ALL the URL hits, primary and otherwise. For example, if you direct your browser to main.html and it references a.css, b.gif, and c.jpg your OpenSTA script will look a little like
Primary get "main.html" on 1
get "a.css" on 2
get "b.gif" on 3
get "c.jpg" on 2
It just emulates the messages a browser would send based on what was sent and received during recording. It does insert code in the script to manage cookies, but even that (while automatically added to your script) is a manual process that is managed by the script and assumes the behavior during playback will be identical as what was observed during recording.