Interview Questions

My requiremtn is to click a link in the web based application ...

SilkTest Questions and Anwsers


(Continued from previous question...)

133. My requiremtn is to click a link in the web based application ...

My requiremtn is to click a link in the web based application.I have written a method to click the Java Script link.but it is giving the Window is not exposed Error.
I tried to solve with the following silk options .
[ ] Agent.SetOption(OPT_VERIFY_EXPOSED, FALSE)
[ ] window.ClearForm.SetFocus()
[ ] window.ClickClearForm()
[ ] Agent.SetOption(OPT_VERIFY_EXPOSED, TRUE)
It is giving the same error.


try the following code
[ ] Agent.SetOption(OPT_VERIFY_EXPOSED, FALSE)
[ ] Agent.SetOption(OPT_VERIFY_ENABLED, FALSE)
[ ] window.ClearForm.SetFocus()
[ ] window.ClickClearForm()
[ ] Agent.SetOption(OPT_VERIFY_ENABLED, TRUE)
[ ] Agent.SetOption(OPT_VERIFY_EXPOSED, TRUE)

(Continued on next question...)

Other Interview Questions