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.
SahiPro error: Logging exce.....TypeError: Cannot read property 'par..
I am getting the following error on my code. I was unable to figure out the cause for this.
My code is :
Logging exception:
_setValue(_textbox("BOset::BOcustomer::Contacts::81F5BF6C-85A3-443E-BECA-7AF17082A26F::first_name", _near(_cell("First Name"))), "tester2583");
TypeError: Cannot read property 'parentNode' of null
TypeError: Cannot read property 'parentNode' of null
at [object Object].getParentNode (http://devblade08-08:8080/_s_/spr/concat.js:3327:20)
at [object Object].getDoc (http://devblade08-08:8080/_s_/spr/concat.js:3871:39)
at [object Object].getDoc (http://devblade08-08:8080/_s_/spr/concat.js:3835:31)
at [object Object].findElementHelper (http://devblade08-08:8080/_s_/spr/concat.js:1986:21)
at [object Object]._textbox (http://devblade08-08:8080/_s_/spr/concat.js:4002:19)
at [object Object]. (eval at (http://devblade08-08:8080/_s_/spr/concat.js:3034:14))
at [object Object].ex (http://devblade08-08:8080/_s_/spr/concat.js:3034:9)
at unknown source
Click for browser script at Oct 31, 2011 11:57:58 AM
My code is :
var $random = _random ( 10000 )
163 var $firstname = "tester" + $random ;
164 var $lastname = "tester" + $random ;
165
166 _setValue(_textbox("BOset::BOcustomer::Contacts::81F5BF6C-85A3-443E-BECA-7AF17082A26F::first_name", _near(_cell("First Name"))), $firstname);
This discussion has been closed.
Comments
Can you please check if the UI relation which you are using is correct from the Controller?
Regards
Sumitra