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.

Using "Wait" command!!

AkshadaAkshada Members
edited November -1 in Sahi - Open Source
Hi All,

I need to wait for some specific time say 2 seconds.
How do i specify this in Java.

There is no condition as such but just wait so that my given values are stored in the Database.
Just wait till my values gets stored and then recheck all the field again!!

How do i implement this in Java??
Please share your views and help me out on this...

Regards,
Akshada

Comments

  • AkshadaAkshada Members
    Also i dont knw how long it will take to write my Values and get it stored in the Database... :(
  • narayannarayan Administrators
    Do

    browser.waitFor(2000);
Sign In or Register to comment.