hi guys,
how to handle alert box message in selenium test?
i want to handle alert box. i want to test(verify text present) the
text in alert box & then click ok to alert box. how can i do this.? plz
tell me…
advance thx.
regards,
karthick.
hi guys,
how to handle alert box message in selenium test?
i want to handle alert box. i want to test(verify text present) the
text in alert box & then click ok to alert box. how can i do this.? plz
tell me…
advance thx.
regards,
karthick.
Narayana K. wrote:
hi guys,
how to handle alert box message in selenium test?
i want to handle alert box. i want to test(verify text present) the
text in alert box & then click ok to alert box. how can i do this.? plz
tell me…advance thx.
regards,
karthick.
hi guys,
i found the answer for my problem.
by using the below code in your .rsel file, we can pass the test.
assert_alert_present
verify_alert ‘alert message’
thx,
regards,
Karthick.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs