SilkTest Question:

Download Job Interview Questions and Answers PDF

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

SilkTest Interview Question
SilkTest Interview Question

Answer:

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)

Download SilkTest Interview Questions And Answers PDF

Previous QuestionNext Question
Can we integrate Silk Test with Quality Centre?Runtime Error in Silk?