18 January 2026:


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.

Quotes before slash

gopikannangopikannan Members
edited November -1 in Sahi - Open Source
Hi

If i run the script directly working fine

for ex:

_setValue(_textbox("LOGON_USERNAME"), "a");

if i run script like

PName = _textbox(getting this value from excel)
PValue = LOGON_USERNAME(getting this value from excel)

After that i am doing below code

var $a = $PName.concat("("+"\""+$PValue+"\""+")");

i am getting like

_setValue("_textbox(\"LOGON_USERNAME\")","a");

I need below line
How can i make this code to get like
_setValue(_textbox("LOGON_USERNAME"), "a");


Kindly help me on this..

Comments

Sign In or Register to comment.