 |
|
 |
Nice but no recording for replay.
You should update this with more features. Good potential
cheers,
Donsw
My Recent Article : Backup of Data files - Full and Incremental
|
|
|
|
 |
|
|
 |
|
 |
why i can't load some urls???
e.g. ".../index.php?p=search"
i found no solution for this problem...
|
|
|
|
 |
|
 |
InCisif.net is an automation tool designed to implement client-side functional
testing of web applications under Internet Explorer 6.x or 7.x, using the C#
or VB.NET language with Visual Studio 2003, 2005 or express editions.
Version 1.2 New features:
- An interactive DOM viewer available at record time
- NUnit support (source code available)
- TestDriven.net add-in support (source code available)
Coming features version 1.3 March 2007:
- More methods to support AJAX applications
- IronPython support
- Test/suite reporting api.
http://www.incisif.net
|
|
|
|
 |
|
 |
Is it possible to automatically select certain buttons on dialog boxes that a web site initiates and/or that the web browser initiates (e.g. for a web site --- "click Yes to indicate you agree to the terms and conditions", and for a web browser --- "you are being redirected, is this ok?")
The latter issue isn't so bad since those can be tweaked in the registry, but the former problem I have no idea how to address. What do you think? Thanks.
|
|
|
|
 |
|
 |
For automated testing (not browsing external Web Sites), Web Replay 2 (a complete rewrite implemented 100% in Javascript) can support some dialog boxes (alert and confirm); maybe it can address your needs:
http://www.codeproject.com/useritems/WebReplay2.asp[^]
|
|
|
|
 |
|
 |
Hi,
instead of examining the page to be tested and writing the xml file by hand, can't a html js file be created which opens in a fixed frame in the webcontrol and the test page opens in the second frame.The js page can enumerate all the input tag vlaue names and ask the user(in a HTML form) to seect the fields in which he is interested to test.Furthermore the js page can aumtaically decide to invoke click on some elements like button aumatically.
So the whole task can be divided into two phases.
Step 1 of 2:Let the prog examine the test page and ask the user's preference to select the elements and type of test.
Step 2 of 2:The actual test(which is currently in place).
That should not be a daunting task in javascript and will reduce user effort to minimum.
Regards
TrappedVector
I dont have a flikering mind.I always take quick decisions,the wrong ones.
|
|
|
|
 |
|
 |
I was thinking about giving up the XML file anyway.
I need (for my own Web app) to execute "external commands" anyway, so the scenario file will probably end up being a PROGRAM, and Web Replay will generate and replay this program. Scripting (javascript?) sounds appealing to me - any help/suggestion welcome at this point...
Regards,
E.
|
|
|
|
 |
|
 |
Thanks!
Your idea of FRAMES+Javascript has been the key to a complete rewrite of Web Replay; it can't record scenarios (yet) but is implemented 100% in Javascript (bye bye C/C++ and COM!):
http://www.codeproject.com/useritems/WebReplay2.asp[^]
I'll be working on the recording (Javascript format!) soon...
Best regards,
E.
|
|
|
|
 |
|
 |
it is possible to use :
in order to change the html :
<select name="option1">
<option>100</option>
<option>101</option>
</select>
??
|
|
|
|
 |
|
 |
Hi,
No you can't use Web Replay with this HTML. You need to assign a VALUE to every option in your select:
<select name="option1">
<option value="100">100</option>
<option value="101">101</option>
</select>
Please note that the value doesn't have to be the same as the label; the value is sent by the browser to your server.
It's possible to add the ability to select an option based on its label (attribute "innerText") - but you need to adapt the code from WebReplay for this...
E.
|
|
|
|
 |
|
 |
Thank you for your response
But I must modify a "select" where attribute "value' is not written.
So, I try the attribute "innerText" but why I need'nt to adapt the code ?
V.
|
|
|
|
 |
|
 |
When i build this application ,
it display follow as:
d:\Projects\C#\WebReplay_src\WebReplayDlg.cpp(659): error C2678: 二进制“==” : 没有找到接受“VARIANT”类型的左操作数的运算符(或没有可接受的转换)
why??
No pain no gain!
|
|
|
|
 |
|
 |
Hi winart,
Can you translate the error text in english?
What version of Visual Studio are you using?
What's on the line 659 of WebReplayDlg.cpp? (I've made changes to the code since the last posting and there no line 659 anymore...).
E.
|
|
|
|
 |
|
 |
it display follow as:
d:\Projects\C#\WebReplay_src\WebReplayDlg.cpp(659): error C2678: binary system “==” : Can't find the left operator accepting the type“VARIANT”(or can't accept the switch why??
if (SUCCEEDED(hResult) && pEltColl)
{
// We are assuming there's only one element with that name on the page,
// else you must expect a collection instead of a single element.
if (name == L"" && BSTRElementValue != L"") //////////this is the line 659
{
// Search by value (manual search with a loop on all HTML Elements in document - could be long!)
long intElements = 0;
No pain no gain!
|
|
|
|
 |
|
 |
What version of Visual Studio are you using?
Are you using a specific configuration (e.g. UNICODE?)?
Try to convert the L"" into an object - something like:
if (name == _bstr_t("") && BSTRElementValue != L"")
Hope this helps,
E.
|
|
|
|
 |
|
 |
Look at SWExplorerAutomation
(http://home.comcast.net/~furmana/SWIEAutomation.htm) .
It supports frames, popup windows, dialog boxes and file downloads.
SW Explorer Automation (SWEA) creates an object model (automation
interface) for any Web application running in Internet Explorer. The
object model is defined visually by SWEA designer. The designer allows
to record scripts (C# and VB) based on the defined application object
model.
AlexF
|
|
|
|
 |
|
 |
I can't get the page you recommended; the error message is:
Page URL Not Found!! The requested page does not exist on this server. The URL you typed or followed is either outdated or inaccurate.
E.
|
|
|
|
 |
|
|
 |
|
 |
Right - it works now.
Great program - and generating a .NET program is a very cool approach (for deployment/playback - a breeze!).
Shame it's not freeware / open source...
Thanks a lot Alex!
Regards,
E.
|
|
|
|
 |
|
 |
The code is pretty nice. But I am wondering if it could make a Win CE version of WebReplay?
Paul Lai
|
|
|
|
 |
|
|
 |
|
 |
WebReplay.rc(242) : fatal error RC1015: cannot open include file 'res\WebReplay.rc2'.
Todd Smith
|
|
|
|
 |
|
|
 |
|
 |
Nice article, I did something similar a while ago (using Delphi) and remember having a problem trying to simulate a multi user stress test with multiple browsers in seperate threads. The problem was that i wasn't able to find a way to stop multiple browsers sharing the same session.
|
|
|
|
 |