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.
_assertExists()
Hi Friends i have a issue .
I want to check for the string using _assert() function
EX:
_assertExists(_span("An LOV of type=LOV_TYPE already exists with value1=LOV9));
the same string i want to pass variable for LOV of type & value1
i tried with the below statements and i am getting error
1)
_assertExists(_span("An LOV of type="$LOV_TYPE"already exists with value1="$LOV_value));
2)
_assertExists(_span("An LOV of type="+$LOV_TYPE+"already exists with value1="+$LOV_value));
Please provide me solution if any one has
Thanks
I want to check for the string using _assert() function
EX:
_assertExists(_span("An LOV of type=LOV_TYPE already exists with value1=LOV9));
the same string i want to pass variable for LOV of type & value1
i tried with the below statements and i am getting error
1)
_assertExists(_span("An LOV of type="$LOV_TYPE"already exists with value1="$LOV_value));
2)
_assertExists(_span("An LOV of type="+$LOV_TYPE+"already exists with value1="+$LOV_value));
Please provide me solution if any one has
Thanks
Comments