18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
Problem testing with Django dev server
I'm new to Sahi. I'm trying to test my django based site running on the django dev server.
The test records with no problem, but the playback fails immediately with this message:
--Stopped Playback: FAILURE--
The log message is:
Starting script
_setValue(_textbox("username"), "asian");
Window/Domain not found: popupNameFromStep=; derivedName=; windowName=; windowTitle=; wasOpened=1; domain= at Sep 15, 2010 3:57:58 PM
Stopping script
I am running the site with a start URL of localhost:8000 on a Mac (10.5.8) using Firefox.
The script fails at the first line, which is shown in the log message.
Any advice would be appreciated.
The test records with no problem, but the playback fails immediately with this message:
--Stopped Playback: FAILURE--
The log message is:
Starting script
_setValue(_textbox("username"), "asian");
Window/Domain not found: popupNameFromStep=; derivedName=; windowName=; windowTitle=; wasOpened=1; domain= at Sep 15, 2010 3:57:58 PM
Stopping script
I am running the site with a start URL of localhost:8000 on a Mac (10.5.8) using Firefox.
The script fails at the first line, which is shown in the log message.
Any advice would be appreciated.
Comments
Sahi doesn't consider 'localhost' to be a proper domain.
I added an alias into /etc/hosts for localhost of foo.com. It works now.
It would be nice if localhost could be added as an acceptable domain.
-joel
I think you have localhost in the "No Proxy For" field in Firefox proxy settings. If you remove that localhost will work properly.
Only in IE/Windows, IE does not use the proxy for localhost. We do not have control over that (AFAIK)
Regards,
Narayan