Answers

Question and Answer:

  Home  SilkTest

⟩ 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)

 195 views

More Questions for you: