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.
how to extract a dynamic id from a pop up window using sahi
I have a pop window which is generated and there I can see an ID which is generated dynamically.
Example : Name: abc
Roll number : 1234( dynamic value)
How can i extract the dynamic value and put it in a variable and refer it later in some other context where the same id is used ?
Example : Name: abc
Roll number : 1234( dynamic value)
How can i extract the dynamic value and put it in a variable and refer it later in some other context where the same id is used ?
Answers
You can try the logic of getting the value of textbox(i assume) which is near to "Roll number" and store it in a variable.
Thanks,
I cant use the near function in this case as the roll number "1234" is recorded as a CELL.
what i want is to get the value of that cell and then store it in a variable.
Can I use the _getText functionin this case?
Is yes then how?
http://sahi.co.in/forums/discussion/745/urgent-partial-value-save-in-a-variable/p1
Refer this link, you will get some idea. Good Luck !!!