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.
Not able to upload the xls file
Hi All
I try to upload the xls file.
It run successfully but when I try to view uploaded xls file get the error page "404 file or directory not found"
_setFile(_file("form_section1_field_group1_upload_uploadurl"), "E:\\UploadTemplate1.xls");
if (_isIE()){
_call(_file("form_section1_field_group1_upload_uploadurl").outerHTML = _file("form_section1_field_group1_upload_uploadurl").outerHTML.replace(/type=file/, "type=text"));
}else{
_call(_file("form_section1_field_group1_upload_uploadurl").type = "text");
}
_call(_textbox("form_section1_field_group1_upload_uploadurl").value= "E:\\UploadTemplate1.xls");
//_setValue(_textbox("form_section1_field_group1_upload_uploadurl"), "E:\\UploadTemplate1.xls");
_click(_image("Submit Form: Import Data"));
Regards
Atul
I try to upload the xls file.
It run successfully but when I try to view uploaded xls file get the error page "404 file or directory not found"
_setFile(_file("form_section1_field_group1_upload_uploadurl"), "E:\\UploadTemplate1.xls");
if (_isIE()){
_call(_file("form_section1_field_group1_upload_uploadurl").outerHTML = _file("form_section1_field_group1_upload_uploadurl").outerHTML.replace(/type=file/, "type=text"));
}else{
_call(_file("form_section1_field_group1_upload_uploadurl").type = "text");
}
_call(_textbox("form_section1_field_group1_upload_uploadurl").value= "E:\\UploadTemplate1.xls");
//_setValue(_textbox("form_section1_field_group1_upload_uploadurl"), "E:\\UploadTemplate1.xls");
_click(_image("Submit Form: Import Data"));
Regards
Atul