|
 |
|
|
 |
|
|
 |
|
|
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
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.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
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.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
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.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
it is possible to use :
in order to change the html :
<select name="option1"> <option>100</option> <option>101</option> </select>
??
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
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.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
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.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
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!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
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.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
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!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
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.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
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.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
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.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
|
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.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Right. The WebBrowser control is not appropriate for stress-testing (so my tool is not either). It's more about functional testing and automation.
For stress-testing Web apps, I think plain HTTP requests are more appropriate, and good old wget could do the trick (or any good HTTP SDK). There are many testing tools out there (most of them based on Java), so I don't think Web Replay will ever cover this area...
Regards,
E.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |