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.
We could not use sahi recording in “header bottom” in upper frame
We enjoy using sahi.
But we could not record some objects on our web application.
We have designed some bottom objects in upper frame.
We could use sahi recording function for objects in lower frame,
but we could not use sahi recording operation for objects in upper frame.
Please give us some ideas to use sahi recording for bottom objects in upper frame.
(note. we could use record function for Japanese charactor object in lower frame.)
## Sahi version: V2 build in 2009 May
## OS version: Windows XP SP3
## IE version: IE version6 SP3
## source file (I send you later)
But we could not record some objects on our web application.
We have designed some bottom objects in upper frame.
We could use sahi recording function for objects in lower frame,
but we could not use sahi recording operation for objects in upper frame.
Please give us some ideas to use sahi recording for bottom objects in upper frame.
(note. we could use record function for Japanese charactor object in lower frame.)
## Sahi version: V2 build in 2009 May
## OS version: Windows XP SP3
## IE version: IE version6 SP3
## source file (I send you later)
Tagged:
Comments
I could reproduce the error in one particular case:
1) Page has frames
2) On the controller, the script name is entered and "Record" is pressed
3) Actions on the frames are not recorded unless the page loads after the "Record" button is pressed. So on pages which were already loaded when "Record" was pressed, record did not work correctly.
4) If you manually refresh the page (after "Record" had been pressed), recording works.
You can fix your problem either by refreshing the page after clicking "Record".
OR
Change the following code in sahi/htdocs/spr/concat.js
You will have to restart Sahi after that, clear browser cache, and then try again.
Regards,
Narayan
Thanks for your prompt reply.
After we try in our environment,
We will report the result.
Best regards, and have a nice weekend
KOGURE Yutaka
We report result of our test as follows,
1) recording
we might record operation with upper frame bottome operation after we changed /htdocs/spr/concat.js. (Because our application hide IE menu bar.)
2) playback
we could not playback above script with error in statement field of sahi controller as follows,
--Stopped Playback: FAILURE--
we will send playback log, sahi log and script by e-mail.
Could you give us additional idea to solve this issue?
Best regards,
KOGURE Yutaka
Excuse me, I reported on September 9th with wrong information.
Correct report is as follows,
# We could not record some operation in header frame with normal sahi operation.
After we jump to www.sahi.co.in in hotlink in sahi controller windows, we could push stop bottom to record. (Without jump to other site, we receive error message “object Error”. We guess when we jump to other site, sahi controller window are reloaded.) And push record bottom again.
ADDITIONAL Information
# When we record operation in middle or lower frame, we could see sahi script by “show source of page”. But we could not see sahi script in upper frame. We guess, the reason why we could not record and playback is that there is no sahi script in source of web page in header frame.
We want to know the reason why we could not record and playback, and some solutions.
Best regards,
KOGURE Yutaka
For the first case,
whenever you navigate from one domain to another the controller will reload. At times you may see a second controller window opening up(this behavior was for some older sahi releases, I am not sure about the new releases)
Regards,
Pankaj
We are very pleasure to inform you about some progress of our survey as follows,
but issue are not solved yet.
After we upgrade our sahi to September 22 edition, we could record script
which operates header bottom in upper frame.
But we could NOT stop recording with [object error] message,
and we could NOT playback the script.
The error message is as follows,
_setValue(_textbox("txAuthId"), "1000"); <=== first line of script
Window not found: popupNameFromStep=; derivedName=EPOCH; windowName=; windowTitle=EPOCH; wasOpened=1; [object Object] at 2009/10/01 21:55:56
But after we restart sahi.bat, then we could playback the script with 100% success rate.
We still need your help to solve this issue.
Best regards,
KOGURE Yutaka