Im trying to extract data from an .asp website. After the login, a succession
of clicks on buttons(javascript functions) gets me to where I need to be. How
do I simulate the button press in WH? Does anyone have an example?
Thank You in Advance
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Im not quite understand what you are saying. I realize it's not a web browser.
After logging in(which I can do in WH) I then need to to press a menu button.
There are several layers of this . My question is ,after logging in, how do I
simulate a button click on a particular button. There are several on the
screen. Once I click the final button, I can then extract the html data into
the xml file, Ive done this in test, so I know how to do it . I just dont know
how to click a button in WH.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There is no way to click the buttons in WH. To be more precise there is no
buttons to click in WH. Perhaps the ones in IDE, those are clicked by mouse :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-10-07
Did you ever solve this dilema?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is usually a matter of figuring out the action URL or DOM values set by
the script. I'm currently running a script that simulates the click by parsing
out the URL and setting any GET parameters that are required. No easy way to
do this, you must reverse engineer the page and figure it out. You can also
look at Badboy http://www.badboy.com.au/features.html which requires Windows and runs inside IE and can pretty
much handle everything. I've not used it for parsing, but it's great to
scripting load tests.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello. Im brand new to WH.
Im trying to extract data from an .asp website. After the login, a succession
of clicks on buttons(javascript functions) gets me to where I need to be. How
do I simulate the button press in WH? Does anyone have an example?
Thank You in Advance
WH is not a web browser, which can render HTML page.
Thats why you need to check what javascript sends to server after you press a
button, and then you can simulate this request with WH.
Im not quite understand what you are saying. I realize it's not a web browser.
After logging in(which I can do in WH) I then need to to press a menu button.
There are several layers of this . My question is ,after logging in, how do I
simulate a button click on a particular button. There are several on the
screen. Once I click the final button, I can then extract the html data into
the xml file, Ive done this in test, so I know how to do it . I just dont know
how to click a button in WH.
There is no way to click the buttons in WH. To be more precise there is no
buttons to click in WH. Perhaps the ones in IDE, those are clicked by mouse :)
Did you ever solve this dilema?
This is usually a matter of figuring out the action URL or DOM values set by
the script. I'm currently running a script that simulates the click by parsing
out the URL and setting any GET parameters that are required. No easy way to
do this, you must reverse engineer the page and figure it out. You can also
look at Badboy http://www.badboy.com.au/features.html which requires Windows and runs inside IE and can pretty
much handle everything. I've not used it for parsing, but it's great to
scripting load tests.