Last two weeks, I was trying to compile all the silktest related questions. It helps me to dig, how much I know in Silktest. I have left out few areas. I did not cover much on the recent silktest features or additions. I have given just questions only not answers. For answers, you can try this blog - SilkTest FAQ and Technical Questions .
Silktest Basics
- What are the file types available in silktest and usage of that?
- What is the usage of SilkMeter?
- What is a SilkTest Agent?
- What is “appstate” in silk?
- What is the difference between appstate and testcase?
- What is the difference between testcase and function
- Can any testcase be called within another testcase?
- Can any testcase be called within function?
- How can you make shared variables in Silk?
- Tell me about options set file (*.opt)?
- What is 4test? Do you know about classic 4 test and Visual 4test?
- What is a test frame?
- Tell me silktest workflows?
- Where can you find all the methods for a class?
- What is test identifier and tag?
- What are the prefixes of every tag identifier while taking window declarations?
- If you want to record the mouse move event, then what you have to do?
- Explain Basic Workflow in silktest?
- Explain Data Driven flow in Silktest?
- Different types of tags and can we set the tag dynamically?
- What do you meant by Silk Extension?
- What are the different Variable pass-modes available and how will you use in scripting?
- How can you start one application?
- What do you mean by a DefaultBaseState and what role does it play in automated testing?
- When is the SilkTest Recovery System used?
- How can you run only the failed testcases in the second round of testing?
- How can you do database testing using silk?
- How will you implement immediate If statements?
- How silkAgent interacts with script statements?
- Description Equivalent to a function or method call.
- Array and List Declaration
- Can you give few of common silktest errors
- What are the different file opening modes available in silk?
- What is the difference between “Log Error”, “Log Warning”?
- What is the difference between “ExceptLog” and “LogError” function?
- How can you handle exceptions in silk?
- What is the difference between “raise” and “re raise” statements in silk?
- What are the uses of “Use Path” & “Use File” text field Silk’s option> runtime dialog box?
- What does it indicates “Agent.SetOption (OPT_APPREADY_TIMEOUT, 180)”?
- How can you identify each and every radio button under radio button group?
- What is extension enabler?
- How will you access Database, retrieve the records using Silktest? Is there any limitation?
- How do I add steps to DefaultBaseState?
- Can I call Silk Scripts from an external shell program?
- What are the default testplan attributes?
- How to define new testplan attributes?
- Where are the testplan attributes stored?
- How to assign attribute values to test cases?
- How to include a test case into a testplan?
- How record a test case into a testplan automatically?
- How to run all test cases in a testplan?
Application Related
- What are the extensions available for IE and Netscape?
- How can you develop script, to wait for complete navigation or what is the function to wait until browser is ready?
- What is the difference between Browser and Browser2 objects?
- How will you open a Browser (IE/Netscape/FireFox)?
- Why is a new layer of HtmlText being recorded by SilkTest 6.0?
- How can both Netscape and Internet Explorer declarations for SilkTest be consolidated into one set of declarations?
- What is the use of “SetUserOption”?
- What is the usage of "ShowBorderlessTables" option?
- What is the difference between BrowserChild and BrowserPage objects?
- How to specify a browser extension to a Web application?
- What is class map? What are the different ways of defining class map?
- What is option set? Have you ever used option set in silk?
- How will you invoke the application, which has login dialogbox?
- How will you invoke multiple applications in single test suite?
- Have you ever tested images using silk? What are the methods you have used?
- Custom objects - Not similar to any standard objects. For ex., Excel, SpreadSheet
- What is silk bean?
- What are the settings required to invoke a Java application?
- What are the settings required to identify Flex objects?
Advanced Silktest
- Explain about Open Agent
- Difference between Classic and Open Agent
- Explain about Silk4j.
- Explain about Extension Kit.
- Explain how silktest supports OOPs concepts? Give few examples.
- How will you extend a method, which is defined for a class?
- What does the recording statement do?
- How will you overwrite default script and Testcase procedures ?
- Have you automated any dynamic pages/controls? How have you done, explain?
- How silktest supports DLLs?
- How will you run the scripts into another machine?
- What are the steps or procedures, you will follow to make silktest suite as robust?
- Give an example of setting agent value at runtime?
- What is default base state in silk? How can you implement the default base state to its customized base state?
- When it is necessary to create a “plan” file instead of “suit” file in silk?
- What are the different tags available in “partner.ini” file?
- How can you define your own property set?
- Silk is having built in recovery system. How is it working?
- Few lines of code for some string manipulation operations.
- How do I set a option set file dynamically?
- How will you handle if a window has many parents?
- How will test the application remotely?
- Can you avoid the use of sleep()? How?
- Have you used Registry related functions?
- To create, or "spawn," multiple threads, which statements you will be going to use?
- Have you ever used “multitestcase”? Can you tell me in brief.
- What is LinkTester?
- What are the functions offered by DBTester?
Automation Framework
- What is automation framework?
- Tell me about few of the Industry standard automation frameworks
- Have you ever make an internationalization frame work using silk? What are the constraints you need to take care while making your silk framework as independent of OS, Language?
- Different types of framework with a brief explanation of each.
- Efficient ways of handling custom objects and Dynamically changing objects?
- Have you used XML and Excel files as your input data?