SilkTest Question:

Retrieve text from disable textfield.Silk is not recognizing that disable object. How can I come to a conclusion?

SilkTest Interview Question
SilkTest Interview Question

Answer:

Retrieve text from disable textfield.Silk is not recognizing that disable object. How can I come to a conclusion? I am having a web based application. In one web page there is a radio button.Selection of that radio button open an applet window. Now if I want to take the declaration of that window, It fails to recognise the same.Silk is properly configured to recognise Java based CS application.How to resolve such issues?


If you want to retrieve data from a disabled textfield, you should first disable the Agent option "OPT_VERIFY_ENABLED" and the you can use GetText. The steps are:
Agent.SetOptions("OPT_VERIFY_ENABLED", false)
Print(TextField.GetText())

And coming to your next question, the answer is same, disable all the Agent options. Steps:
1.In the Options menu, click on Agent menu item.
2. In Agent Options window, click on Verification tab.
3. Uncheck all the options, except the last one (verification of application ready)
4. Click OK.


Previous QuestionNext Question
I am investigating solutions for automating an Invisible Application and believe that using a Grid may solve many of my problems. Does anyone have any experience using this technique with Silk Test or know of any good resources I could contact.?How to maintain recovery system?