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.
Can we use a string generated on one browser into popup window?
Hi,
We are generating a new string value(dynamically) on one browser and trying to use it on a pop-up window in the same scenario. We are unable to use the string in the new pop-up window.
How to proceed? Any suggestions please........
We are generating a new string value(dynamically) on one browser and trying to use it on a pop-up window in the same scenario. We are unable to use the string in the new pop-up window.
How to proceed? Any suggestions please........
This discussion has been closed.
Comments
Could you specify what you tried?
Regards,
Narayan
Sorry for the delay.
Here is my scenario :
On Content Frame:
#generate random term (generates random text something like xyz, abc.... could be anything, entering the new term in a textbox)
#save the generated term (click the save button)
#click the edit link (Its a link. It opens a popup window)
On Content Editor Popup:
#Enter the generated term (here we have a text box. That needs to be filled with the term which is created from the previous workflow)
Here I got the problem. This scenario includes 2 classes namely "OnContentFrame" and "OnContentEditorPopup". I need to use the term, which is created in "OnContentFrame", in "OnContentEditorPopup" class.
Any suggestions.....
(please let me know if you need more explanation)
This is a fairly straight forward problem. You need to store the initial value in a variable and then use it later. Can you please tell us what you have tried?
Regards,
Narayan
Have fixed it using variable....