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.

Pop uw window handling

DaltonDalton Members
edited April 2013 in Sahi - Open Source
Hi, I am a Twist user.when i use sahi to record a popup window and when i try to play back again shows the following error
error:_popup("11hp825ci3_70")._setValue(_textbox("account_number"), "6011689897353763")
Window/Domain not found: popupNameFromStep=11hp825ci3_70; derivedName=; windowName=vohzim0qx_1; windowTitle=; wasOpened=0; domain=


In this i obsereved that "11hp825ci3_70" is generating like a random string each time but with _70 and the string "11hp825ci3" is changing each time .

So there is any way i can handle this

Thanks in advance

Answers

  • kshitijitukshitijitu Moderators
    You may use regular expression:

    _popup(/.*/)
  • DaltonDalton Members
    used that ,but no use
  • vijaysaimsvijaysaims Members
    edited April 2013
    Please try

    _selectWindow("/_/");

    just before the line _setValue(_textbox("account_number"), "6011689897353763"); in your code
Sign In or Register to comment.